linux-next: build warning after merge of the staging tree
Hi all,
After merging the staging tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:
drivers/iio/adc/stm32-adc-core.c: In function 'stm32_adc_core_switches_probe':drivers/iio/adc/stm32-adc-core.c:598:5: warning: ignoring return value of 'dev_err_probe' declared with attribute 'warn_unused_result' [-Wunused-result]
598 | dev_err_probe(dev, ret, "can't get booster\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Introduced by commit
ce30eeb613cb ("iio: adc: stm32: Simplify with dev_err_probe()")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the staging tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
Quoted 8 lines
drivers/iio/adc/stm32-adc-core.c: In function 'stm32_adc_core_switches_probe':drivers/iio/adc/stm32-adc-core.c:598:5: warning: ignoring return value of 'dev_err_probe' declared with attribute 'warn_unused_result' [-Wunused-result]598 | dev_err_probe(dev, ret, "can't get booster\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Introduced by commit
ce30eeb613cb("iio: adc: stm32: Simplify withdev_err_probe()")
Offending patch now dropped from the driver-core tree, thanks.
greg k-h