From: Nathan Chancellor <nathan@kernel.org>
To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, vadfed@fb.com
Cc: arkadiusz.kubalewski@intel.com, jiri@resnulli.us,
netdev@vger.kernel.org, llvm@lists.linux.dev,
patches@lists.linux.dev, Nathan Chancellor <nathan@kernel.org>,
richardcochran@gmail.com, jonathan.lemon@gmail.com,
saeedm@nvidia.com, leon@kernel.org, linux-rdma@vger.kernel.org
Subject: [PATCH 0/2] Fix a couple recent instances of -Wincompatible-function-pointer-types-strict from ->mode_get() implementations
Date: Mon, 02 Oct 2023 13:55:19 -0700 [thread overview]
Message-ID: <20231002-net-wifpts-dpll_mode_get-v1-0-a356a16413cf@kernel.org> (raw)
Hi all,
This series fixes a couple of instances of
-Wincompatible-function-pointer-types-strict that were introduced by a
recent series that added a new type of ops, struct dpll_device_ops,
along with implementations of the callback ->mode_get() that had a
mismatched mode type.
This warning is not currently enabled for any build but I am planning on
submitting a patch to add it to W=1 to prevent new instances of the
warning from popping up while we try and fix the existing instances in
other drivers.
This series is based on current net-next but if they need to go into
individual maintainer trees, please feel free to take the patches
individually.
Cheers,
Nathan
---
Nathan Chancellor (2):
ptp: Fix type of mode parameter in ptp_ocp_dpll_mode_get()
mlx5: Fix type of mode parameter in mlx5_dpll_device_mode_get()
drivers/net/ethernet/mellanox/mlx5/core/dpll.c | 4 ++--
drivers/ptp/ptp_ocp.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 35766690d675f63c111afa0a2f5286b74a5b5cc2
change-id: 20231002-net-wifpts-dpll_mode_get-268efa3df19b
Best regards,
--
Nathan Chancellor <nathan@kernel.org>
next reply other threads:[~2023-10-02 20:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-02 20:55 Nathan Chancellor [this message]
2023-10-02 20:55 ` [PATCH 1/2] ptp: Fix type of mode parameter in ptp_ocp_dpll_mode_get() Nathan Chancellor
2023-10-02 20:55 ` [PATCH 2/2] mlx5: Fix type of mode parameter in mlx5_dpll_device_mode_get() Nathan Chancellor
2023-10-03 13:37 ` [PATCH 0/2] Fix a couple recent instances of -Wincompatible-function-pointer-types-strict from ->mode_get() implementations Simon Horman
2023-10-05 0:30 ` patchwork-bot+netdevbpf
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=20231002-net-wifpts-dpll_mode_get-v1-0-a356a16413cf@kernel.org \
--to=nathan@kernel.org \
--cc=arkadiusz.kubalewski@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jiri@resnulli.us \
--cc=jonathan.lemon@gmail.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=patches@lists.linux.dev \
--cc=richardcochran@gmail.com \
--cc=saeedm@nvidia.com \
--cc=vadfed@fb.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).