diff options
| author | Dan Carpenter <[email protected]> | 2025-04-23 10:04:26 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-04-25 14:01:47 +0000 |
| commit | 2806c6b8f3d1e406f2b7e3266ddd21100fbe7151 (patch) | |
| tree | 57590eeca12872c560e359aef533cdfa2464bcf1 /rust/helpers/helpers.c | |
| parent | Merge tag 'topic/device-context-2025-04-17' into driver-core-next (diff) | |
| download | kernel-2806c6b8f3d1e406f2b7e3266ddd21100fbe7151.tar.gz kernel-2806c6b8f3d1e406f2b7e3266ddd21100fbe7151.zip | |
driver core: auxiliary bus: Fix IS_ERR() vs NULL mixup in __devm_auxiliary_device_create()
This code was originally going to use error pointers but we decided it
should return NULL instead. The error pointer code in
__devm_auxiliary_device_create() was left over from the first version.
Update it to use NULL. No callers have been merged yet, so that makes
this change simple and self contained.
Fixes: eaa0d30216c1 ("driver core: auxiliary bus: add device creation helpers")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jerome Brunet <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
