We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d07ae2 commit 86e86c3Copy full SHA for 86e86c3
tools/testing/cxl/test/cxl.c
@@ -695,7 +695,7 @@ static __init int cxl_test_init(void)
695
696
pdev = platform_device_alloc("cxl_switch_uport", i);
697
if (!pdev)
698
- goto err_port;
+ goto err_uport;
699
pdev->dev.parent = &root_port->dev;
700
701
rc = platform_device_add(pdev);
@@ -713,7 +713,7 @@ static __init int cxl_test_init(void)
713
714
pdev = platform_device_alloc("cxl_switch_dport", i);
715
716
+ goto err_dport;
717
pdev->dev.parent = &uport->dev;
718
719
0 commit comments