projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d07ae2
)
tools/testing/cxl: Fix some error exits
author
Dan Williams
<dan.j.williams@intel.com>
Fri, 4 Nov 2022 00:30:42 +0000
(17:30 -0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Fri, 4 Nov 2022 23:01:24 +0000
(16:01 -0700)
Fix a few typos where 'goto err_port' was used rather than the object
specific cleanup.
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Link:
https://lore.kernel.org/r/166752184255.947915.16163477849330181425.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/cxl.c
patch
|
blob
|
history
diff --git
a/tools/testing/cxl/test/cxl.c
b/tools/testing/cxl/test/cxl.c
index a072b2d3e726aa958efc8a6519384beb4e238ca2..133e4c73d370285ec37331474aa0c9beb35294af 100644
(file)
--- a/
tools/testing/cxl/test/cxl.c
+++ b/
tools/testing/cxl/test/cxl.c
@@
-695,7
+695,7
@@
static __init int cxl_test_init(void)
pdev = platform_device_alloc("cxl_switch_uport", i);
if (!pdev)
- goto err_port;
+ goto err_
u
port;
pdev->dev.parent = &root_port->dev;
rc = platform_device_add(pdev);
@@
-713,7
+713,7
@@
static __init int cxl_test_init(void)
pdev = platform_device_alloc("cxl_switch_dport", i);
if (!pdev)
- goto err_port;
+ goto err_
d
port;
pdev->dev.parent = &uport->dev;
rc = platform_device_add(pdev);