https://bugzilla.kernel.org/show_bug.cgi?id=219192 --- Comment #1 from Jonathan Cameron (jic23@xxxxxxxxxx) --- On Sun, 25 Aug 2024 09:35:37 +0000 bugzilla-daemon@xxxxxxxxxx wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=219192 > > Bug ID: 219192 > Summary: drivers/iio/imu/adis16400.o: warning: objtool: > adis16400_write_raw() falls through to next function > adis16400_show_flash_count() > Product: Drivers > Version: 2.5 > Hardware: All > OS: Linux > Status: NEW > Severity: normal > Priority: P3 > Component: IIO > Assignee: drivers_iio@xxxxxxxxxxxxxxxxxxxxxx > Reporter: ionut_n2001@xxxxxxxxx > Regression: No > > drivers/iio/imu/adis16400.o: warning: objtool: adis16400_write_raw() falls > through to next function adis16400_show_flash_count() > > Kernel: 6.11.0-rc5 vanilla > GCC compiler: gcc (Debian 14.1.0-5) 14.1.0 I think this is a false positive. None of the cases of the switch statement fail to return and there are unreachable() markings that this check seems to not be able to see which were added to try and point out to the compiler that it was failing to identify they were not possible to get to. We could add some returns the unreachable paths to work around this warning I suppose. Maybe we are doing something wrong otherwise? I'd like more eyes on this incase I'm just missing something obvious. Jonathan > -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.