octeontx2: Annotate mmio regions as __iomem
authorSubbaraya Sundeep <sbhatta@marvell.com>
Mon, 9 Jun 2025 15:51:49 +0000 (21:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Jun 2025 22:29:30 +0000 (15:29 -0700)
commitd0976b43956ee8c8bd093223df9115bfcf63dfe5
treed0b3a8d5cd7ebed6bdc284e4744fc37be3b9269b
parente83b64a6376a87119b2fac244b4a71ac3441e7c9
octeontx2: Annotate mmio regions as __iomem

This patch removes unnecessary typecasts by marking the
mbox_regions array as __iomem since it is used to store
pointers to memory-mapped I/O (MMIO) regions. Also simplified
the call to readq() in PF driver by removing redundant type casts.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1749484309-3434-1-git-send-email-sbhatta@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c