[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231002-net-wifpts-dpll_mode_get-v1-0-a356a16413cf@kernel.org>
Date: Mon, 02 Oct 2023 13:55:19 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, vadfed@...com
Cc: arkadiusz.kubalewski@...el.com, jiri@...nulli.us,
netdev@...r.kernel.org, llvm@...ts.linux.dev, patches@...ts.linux.dev,
Nathan Chancellor <nathan@...nel.org>, richardcochran@...il.com,
jonathan.lemon@...il.com, saeedm@...dia.com, leon@...nel.org,
linux-rdma@...r.kernel.org
Subject: [PATCH 0/2] Fix a couple recent instances of
-Wincompatible-function-pointer-types-strict from ->mode_get()
implementations
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@...nel.org>
Powered by blists - more mailing lists