Enable -Wcast-function-type for 5.17-rc1
The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:
Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/Wcast-function-type-5.17-rc1
for you to fetch changes up to 552a23a0e5d0a84cecd4687043d8030673981d30:
Makefile: Enable -Wcast-function-type (2021-11-15 13:45:12 -0600)
----------------------------------------------------------------
Enable -Wcast-function-type
Hi Linus,
Please, pull the following patch that globally enables -Wcast-function-type.
We need to make sure new function cast mismatches are not introduced in the kernel in order to avoid tripping CFI checking.
Thanks!
--
Gustavo
----------------------------------------------------------------
Gustavo A. R. Silva (1):
Makefile: Enable -Wcast-function-type
Makefile | 5 +++++ 1 file changed, 5 insertions(+)
Quoted 3 lines · Gustavo A. R. Silva
Please, pull the following patch that globally enables -Wcast-function-type.
This seems to have been in linux-next, so hopefully that means that all cases that used to warn are actually fixed and there are no ugly surprises waiting..
Linus
Quoted 9 lines · Linus Torvalds
Quoted 3 lines · Gustavo A. R. Silva
Please, pull the following patch that globally enables -Wcast-function-type.
This seems to have been in linux-next, so hopefully that means that all cases that used to warn are actually fixed and there are no ugly surprises waiting..
Yep; this has been in linux-next for a whole development cycle. The cases that showed up during that time were alredy fixed.
In case any other issue shows up I'll address it ASAP.
Thanks
--
Gustavo
The pull request you sent on Tue, 11 Jan 2022 13:38:55 -0600:
The pull request you sent on Tue, 11 Jan 2022 13:38:55 -0600:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.gittags/Wcast-function-type-5.17-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/01367e86e90948b1ae8f66b2c23aadd7e8374e34
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html