Dan,
> The id_tbl->table pointer points to unsigned long so static checkers
> complain that instead of 4 we should be allocating sizeof(long) bytes.
>
> We're trying to allocate enough bits for the bitmap. The size variable
> is always 1024. (1024 / 32 * 4) is the same as (1024 / 64 * 8) so
> -Original Message-
> From: Dan Carpenter
> Sent: Thursday, June 28, 2018 2:53 PM
> To: Dept-Eng QLogic Storage Upstream upstr...@cavium.com>; Rangankar, Manish
>
> Cc: James E.J. Bottomley ; Martin K. Petersen
> ; linux-scsi@vger.kernel.org; kernel-
> janit...@vger.kernel.org
>
2 matches
Mail list logo