[net-next PATCH v3 0/2] octeontx2-af: fix build warnings flagged
From: Sai Krishna
Date: Tue Mar 11 2025 - 14:27:37 EST
There are couple of build warnings observed on x86_64 flagged by Sparse.
Some are inconsistent usage of __iomem annotations and other Sparse
warnings are typecasting related. This patch series fixes the same.
Patch #1 This patch corrects the __iomem annotations flagged by Sparse.
Patch #2 This patch fixes rest of compiler warnings flagged by Sparse
which are related to typecasting to required datatype from
_iomem.
Sai Krishna (2):
octeontx2-af: correct __iomem annotations flagged by Sparse
octeontx2-af: fix compiler warnings flagged by Sparse
---
v3 changes:
Addressed review comments given by Simon Horman
1. Fixed compilation warnings reported by kernel test robot.
2. Addressed build warning fixes into separate patches.
v2 changes:
Addressed review comments given by Jakub Kicinski
Corrected Closes tag which was tampered by mail server.
drivers/net/ethernet/marvell/octeontx2/af/common.h | 2 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 12 +++++++-----
.../net/ethernet/marvell/octeontx2/nic/otx2_common.c | 10 +++++-----
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 9 ++++-----
4 files changed, 17 insertions(+), 16 deletions(-)
--
2.25.1