summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sbhatta@marvell.com>2025-06-09 18:53:41 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-11 01:30:37 +0300
commitc4246f4cce05f1134fb9ea82460b5690ab6710a5 (patch)
treeeea79f6ee000963e23266de7404462d03dfb9443 /rust/helpers/build_bug.c
parentd0976b43956ee8c8bd093223df9115bfcf63dfe5 (diff)
downloadlinux-c4246f4cce05f1134fb9ea82460b5690ab6710a5.tar.xz
octeontx2-pf: Avoid typecasts by simplifying otx2_atomic64_add macro
Just because otx2_atomic64_add is using u64 pointer as argument all callers has to typecast __iomem void pointers which inturn causing sparse warnings. Fix those by changing otx2_atomic64_add argument to void pointer. Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Link: https://patch.msgid.link/1749484421-3607-1-git-send-email-sbhatta@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions