aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorSalah Triki <[email protected]>2025-08-18 09:27:30 +0000
committerJonathan Cameron <[email protected]>2025-08-18 18:22:18 +0000
commit43c0f6456f801181a80b73d95def0e0fd134e1cc (patch)
tree74e035cfd703aeac46e3cf6c37a211d4494435a5 /fs/btrfs/dev-replace.c
parentiio: light: as73211: Ensure buffer holes are zeroed (diff)
downloadkernel-43c0f6456f801181a80b73d95def0e0fd134e1cc.tar.gz
kernel-43c0f6456f801181a80b73d95def0e0fd134e1cc.zip
iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
`devm_gpiod_get_optional()` may return non-NULL error pointer on failure. Check its return value using `IS_ERR()` and propagate the error if necessary. Fixes: df6e71256c84 ("iio: pressure: bmp280: Explicitly mark GPIO optional") Signed-off-by: Salah Triki <[email protected]> Reviewed-by: David Lechner <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions