Re: [PATCH] zbd: relocate Coverity annotation

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

 



On 1/29/21 8:35 PM, Dmitry Fomichev wrote:
> The Coverity annotation added earlier to suppress a false positive
> about missing unlock in zbd_adjust_block() didn't work because it
> was placed not before the return statement, but earlier in the code.
> 
> Move the annotation to the right place to avoid the warning.

Not a fan of these annotations in general, especially when they
are specific to a single code analyzer. But since we already have
them... Applied.

-- 
Jens Axboe





[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux