aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_mux_codec.c
diff options
context:
space:
mode:
authorHariprasad Kelam <[email protected]>2022-02-11 15:55:39 +0000
committerJakub Kicinski <[email protected]>2022-02-11 22:21:53 +0000
commit5f7dc7d48c9402dacc009e163ae7e342556ffbc4 (patch)
tree00abfd29014db507a59f3b52d823d596dadb3e13 /drivers/net/wwan/iosm/iosm_ipc_mux_codec.c
parentMerge tag 'wireless-next-2022-02-11' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-5f7dc7d48c9402dacc009e163ae7e342556ffbc4.tar.gz
kernel-5f7dc7d48c9402dacc009e163ae7e342556ffbc4.zip
octeontx2-af: fix array bound error
This patch fixes below error by using proper data type. drivers/net/ethernet/marvell/octeontx2/af/rpm.c: In function 'rpm_cfg_pfc_quanta_thresh': include/linux/find.h:40:23: error: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u16[1]' {aka 'short unsigned int[1]'} [-Werror=array-bounds] 40 | val = *addr & GENMASK(size - 1, offset); Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Hariprasad Kelam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_mux_codec.c')
0 files changed, 0 insertions, 0 deletions