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
t; janit...@vger.kernel.org
> Subject: [PATCH] scsi: qedi: tidy up a size caculation
>
> External Email
>
> 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 a
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 this
doesn't
3 matches
Mail list logo