Re: [bug report] nullb: factor disk parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/25/2017 02:24 PM, Dan Carpenter wrote:
> Hello Shaohua Li,
> 
> This is a semi-automatic email about new static checker warnings.
> 
> The patch 2984c8684f96: "nullb: factor disk parameters" from Aug 14, 
> 2017, leads to the following Smatch complaint:
> 
> drivers/block/null_blk.c:1759 null_init_tag_set()
> 	 error: we previously assumed 'nullb' could be null (see line 1750)

That's a bug, for shared tags we passed in nullb == NULL.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux