mbox series

[GIT,PULL] Enable -Wcast-function-type for 5.17-rc1

Message ID 20220111193855.GA13612@embeddedor (mailing list archive)
State Mainlined
Commit 01367e86e90948b1ae8f66b2c23aadd7e8374e34
Headers show
Series [GIT,PULL] Enable -Wcast-function-type for 5.17-rc1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/Wcast-function-type-5.17-rc1

Message

Gustavo A. R. Silva Jan. 11, 2022, 7:38 p.m. UTC
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(+)

Comments

Linus Torvalds Jan. 12, 2022, 1:13 a.m. UTC | #1
On Tue, Jan 11, 2022 at 11:32 AM Gustavo A. R. Silva
<gustavoars@kernel.org> wrote:
>
> 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
Gustavo A. R. Silva Jan. 12, 2022, 1:29 a.m. UTC | #2
On Tue, Jan 11, 2022 at 05:13:24PM -0800, Linus Torvalds wrote:
> On Tue, Jan 11, 2022 at 11:32 AM Gustavo A. R. Silva
> <gustavoars@kernel.org> wrote:
> >
> > 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
pr-tracker-bot@kernel.org Jan. 12, 2022, 1:35 a.m. UTC | #3
The pull request you sent on Tue, 11 Jan 2022 13:38:55 -0600:

> git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/Wcast-function-type-5.17-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/01367e86e90948b1ae8f66b2c23aadd7e8374e34

Thank you!