Re: [PATCH] block: make nr_iovecs unsigned in bio_alloc_bioset()
From: Jens Axboe <axboe@fb.com>
Date: 2017-03-23 14:16:35
Also in:
kernel-janitors
From: Jens Axboe <axboe@fb.com>
Date: 2017-03-23 14:16:35
Also in:
kernel-janitors
On 03/23/2017 04:24 AM, Dan Carpenter wrote:
There isn't a bug here, but Smatch is not smart enough to know that "nr_iovecs" can't be negative so it complains about underflows. Really, it's slightly cleaner to make this parameter unsigned.
Applied, thanks Dan. -- Jens Axboe