[<prev] [next>] [day] [month] [year] [list]
Message-ID: <PH0PR18MB4474F41E53AA9F2D557088FBDE309@PH0PR18MB4474.namprd18.prod.outlook.com>
Date: Fri, 11 Feb 2022 15:54:55 +0000
From: Hariprasad Kelam <hkelam@...vell.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
Sunil Kovvuri Goutham <sgoutham@...vell.com>,
Linu Cherian <lcherian@...vell.com>,
Geethasowjanya Akula <gakula@...vell.com>,
Jerin Jacob Kollanukkaran <jerinj@...vell.com>,
Subbaraya Sundeep Bhatta <sbhatta@...vell.com>
Subject: Re: [net-next PATCH] octeontx2-af: fix array bound error
On Thu, 10 Feb 2022 22:05:57 +0530 Hariprasad Kelam wrote:
> 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);
>
> Signed-off-by: Hariprasad Kelam <hkelam@...vell.com>
Could you send the Reported-by: tag? Was it repored by the kernel build bot?
No its reported by Stephen Rothwell <sfr@...b.auug.org.au>
I have added Reported-by tag in V2
Thanks,
Hariprasad k
Powered by blists - more mailing lists