../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:30: note: directive argument in the range [0, 255] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem *