Re: [PATCH] btrfs: clean up an error code in btrfs_insert_raid_extent()

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

 



On Thu, Oct 12, 2023 at 12:42:55PM +0300, Dan Carpenter wrote:
> It's more obvious to return a literal zero instead of "return ret;".
> Plus Smatch complains that ret could be uninitialized if the
> ordered_extent->bioc_list list is empty and this silences that
> warning.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

With a slightly changed subject added to misc-next, thanks.



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux