Re: [PATCH][next] net: hns3: remove redundant null check of an array

2021-02-04 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 3 Feb 2021 13:10:40 + you wrote: > From: Colin Ian King > > The null check of filp->f_path.dentry->d_iname is redundant because > it is an array of DNAME_INLINE_LEN chars and cannot be a null. Fix > this by r

Re: [PATCH][next] net: hns3: remove redundant null check of an array

2021-02-03 Thread Jesse Brandeburg
Colin King wrote: > From: Colin Ian King > > The null check of filp->f_path.dentry->d_iname is redundant because > it is an array of DNAME_INLINE_LEN chars and cannot be a null. Fix > this by removing the null check. > > Addresses-Coverity: ("Array compared against 0") > Fixes: 04987ca1b9b6 ("n

[PATCH][next] net: hns3: remove redundant null check of an array

2021-02-03 Thread Colin King
From: Colin Ian King The null check of filp->f_path.dentry->d_iname is redundant because it is an array of DNAME_INLINE_LEN chars and cannot be a null. Fix this by removing the null check. Addresses-Coverity: ("Array compared against 0") Fixes: 04987ca1b9b6 ("net: hns3: add debugfs support for t