linux-next: build warning after merge of the staging tree
Hi all,
After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
drivers/iio/light/noa1305.c: In function 'noa1305_scale':drivers/iio/light/noa1305.c:87:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
*val2 = 77 * 4;
~~~~~~^~~~~~~~drivers/iio/light/noa1305.c:88:2: note: here
case NOA1305_INTEGR_TIME_200MS:
^~~~
Introduced by commit
741172d18e8a ("iio: light: noa1305: Add support for NOA1305")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
Hi all,
After merging the staging tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
drivers/iio/light/noa1305.c: In function 'noa1305_scale':drivers/iio/light/noa1305.c:87:9: warning: this statement may fall through [-Wimplicit-fallthrough=]*val2 = 77 * 4; ~~~~~~^~~~~~~~
Quoted 7 lines
drivers/iio/light/noa1305.c:88:2: note: here
caseNOA1305_INTEGR_TIME_200MS:
^~~~Introduced by commit
741172d18e8a("iio: light: noa1305: Add support for NOA1305")
Fix for this is already in my testing tree, forgot to push it to my -next branch, but have done so now, thanks!
greg k-h