Hi Luiz, On Wed, 2021-09-15 at 16:35 -0700, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > Passing NULL to PTR_ERR will result in 0 (success), also since the likes of > bt_skb_sendmsg does never return NULL it is safe to replace the instances of > IS_ERR_OR_NULL with IS_ERR when checking its return. > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Tested-by: Tedd Ho-Jeong An <tedd.an@xxxxxxxxx>