From: "Gustavo A. R. Silva" <gustavoars@kernel.org>
To: Jouni Malinen <j@w1.fi>,
Stanislav Yakovlev <stas.yakovlev@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>,
Kalle Valo <kvalo@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org, Kees Cook <keescook@chromium.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
linux-hardening@vger.kernel.org
Subject: [PATCH 0/6][next] Avoid clashing function prototypes
Date: Mon, 17 Oct 2022 15:32:25 -0500 [thread overview]
Message-ID: <cover.1666038048.git.gustavoars@kernel.org> (raw)
When built with Control Flow Integrity, function prototypes between
caller and function declaration must match. These mismatches are visible
at compile time with the new -Wcast-function-type-strict in Clang[1].
This series fixes a total of 170 -Wcast-function-type-strict warnings.
Link: https://reviews.llvm.org/D134831 [1]
Gustavo A. R. Silva (6):
orinoco: Avoid clashing function prototypes
cfg80211: Avoid clashing function prototypes
ipw2x00: Remove unnecessary cast to iw_handler in ipw_wx_handlers
hostap: Avoid clashing function prototypes
zd1201: Avoid clashing function prototypes
airo: Avoid clashing function prototypes
drivers/net/wireless/cisco/airo.c | 203 ++++++++-------
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +-
.../wireless/intersil/hostap/hostap_ioctl.c | 245 ++++++++++--------
drivers/net/wireless/intersil/orinoco/wext.c | 131 +++++-----
drivers/net/wireless/zydas/zd1201.c | 173 +++++++------
include/net/cfg80211-wext.h | 20 +-
net/wireless/scan.c | 3 +-
net/wireless/wext-compat.c | 180 ++++++-------
net/wireless/wext-compat.h | 8 +-
net/wireless/wext-sme.c | 5 +-
10 files changed, 503 insertions(+), 467 deletions(-)
--
2.34.1
next reply other threads:[~2022-10-17 20:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 20:32 Gustavo A. R. Silva [this message]
2022-10-17 20:33 ` [PATCH 1/6][next] orinoco: Avoid clashing function prototypes Gustavo A. R. Silva
2022-10-18 2:26 ` Kees Cook
2022-10-17 20:34 ` [PATCH 2/6][next] cfg80211: " Gustavo A. R. Silva
2022-10-18 2:41 ` Kees Cook
2022-10-18 19:31 ` Gustavo A. R. Silva
2022-10-17 20:34 ` [PATCH 3/6][next] ipw2x00: Remove unnecessary cast to iw_handler in ipw_wx_handlers Gustavo A. R. Silva
2022-10-18 2:43 ` Kees Cook
2022-10-17 20:35 ` [PATCH 4/6][next] hostap: Avoid clashing function prototypes Gustavo A. R. Silva
2022-10-18 2:48 ` Kees Cook
2022-10-17 20:35 ` [PATCH 5/6][next] zd1201: " Gustavo A. R. Silva
2022-10-18 2:49 ` Kees Cook
2022-10-17 20:36 ` [PATCH 6/6][next] airo: " Gustavo A. R. Silva
2022-10-18 2:53 ` Kees Cook
2022-10-19 5:58 ` Gustavo A. R. Silva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1666038048.git.gustavoars@kernel.org \
--to=gustavoars@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=j@w1.fi \
--cc=johannes@sipsolutions.net \
--cc=keescook@chromium.org \
--cc=kuba@kernel.org \
--cc=kvalo@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stas.yakovlev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).