|WARNING| pw105927 [PATCH] common/mlx5: fix probing return value when failing
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Mon Jan 17 19:08:51 CET 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/105927
_apply patch failure_
Submitter: Bing Zhao <bingz at nvidia.com>
Date: Monday, January 17 2022 17:49:14
Applied on: CommitID:6f716880ee53ac1e50c9c75dc749886e3257bb8f
Apply patch set 105927 failed:
Checking patch drivers/common/mlx5/mlx5_common.c...
Hunk #1 succeeded at 640 (offset -4 lines).
error: while searching for:
}
enabled_classes |= driver->drv_class;
}
cdev->classes_loaded |= enabled_classes;
return 0;
probe_err:
/*
* Need to remove only drivers which were not probed before this probe
error: patch failed: drivers/common/mlx5/mlx5_common.c:666
Applying patch drivers/common/mlx5/mlx5_common.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
diff a/drivers/common/mlx5/mlx5_common.c b/drivers/common/mlx5/mlx5_common.c (rejected hunks)
@@ -666,8 +666,10 @@ drivers_probe(struct mlx5_common_device *cdev, uint32_t user_classes)
}
enabled_classes |= driver->drv_class;
}
- cdev->classes_loaded |= enabled_classes;
- return 0;
+ if (!ret) {
+ cdev->classes_loaded |= enabled_classes;
+ return 0;
+ }
probe_err:
/*
* Need to remove only drivers which were not probed before this probe
https://lab.dpdk.org/results/dashboard/patchsets/20694/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list