Re: [PATCH] ceph: fix the Smatch static checker warning in reconnect_caps_cb()

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

 



On Mon, May 08, 2023 at 02:53:35PM +0800, xiubli@xxxxxxxxxx wrote:
> From: Xiubo Li <xiubli@xxxxxxxxxx>
> 
> Smatch static checker warning:
> 
>   fs/ceph/mds_client.c:3968 reconnect_caps_cb()
>   warn: missing error code here? '__get_cap_for_mds()' failed. 'err' = '0'
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: aaf67de78807 ("ceph: fix potential use-after-free bug when trimming caps")

Of course, thanks for the patch. But this is not really a bug fix since
it doesn't change runtime at all.  And definitely no need to CC stable.

regards,
dan carpenter




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux