Hello.
On 11/6/2015 12:25 AM, Michael Chan wrote:
Assign the return value from bitmap_find_free_region() to an integer
variable and check for negative error codes first, before assigning
the bit ID to the unsigned sw_id field.
Reported-by: Dan Carpenter
Cc: Dan
On Fri, 2015-11-06 at 14:57 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 11/6/2015 12:25 AM, Michael Chan wrote:
>
> > Assign the return value from bitmap_find_free_region() to an integer
> > variable and check for negative error codes first, before assigning
> > the bit ID to the unsigned
Assign the return value from bitmap_find_free_region() to an integer
variable and check for negative error codes first, before assigning
the bit ID to the unsigned sw_id field.
Reported-by: Dan Carpenter
Cc: Dan Carpenter
Signed-off-by: