linux-next: build warning after merge of the tty tree
Hi all,
After merging the tty tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:
drivers/tty/serial/8250/8250_bcm2835aux.c: In function 'bcm2835aux_serial_probe':drivers/tty/serial/8250/8250_bcm2835aux.c:154:3: warning: ignoring return value of 'dev_err_probe' declared with attribute 'warn_unused_result' [-Wunused-result]
154 | dev_err_probe(&pdev->dev, ret, "unable to register 8250 port\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Introduced by commit
ea43a60b1548 ("serial: 8250: Simplify with dev_err_probe()")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the tty tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
Quoted 8 lines
drivers/tty/serial/8250/8250_bcm2835aux.c: In function 'bcm2835aux_serial_probe':drivers/tty/serial/8250/8250_bcm2835aux.c:154:3: warning: ignoring return value of 'dev_err_probe' declared with attribute 'warn_unused_result' [-Wunused-result]154 | dev_err_probe(&pdev->dev, ret, "unable to register 8250 port\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Introduced by commit
ea43a60b1548("serial: 8250: Simplify withdev_err_probe()")
Offending patch now dropped from the driver-core tree, thanks.
greg k-h