Thread (3 messages) flat view 3 messages, 3 authors, 2021-02-05

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

From: Jesse Brandeburg <hidden>
Date: 2021-02-03 23:25:31
Also in: kernel-janitors, lkml

Colin King wrote:
From: Colin Ian King <redacted>

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 tm nodes, priority and qset info")
Signed-off-by: Colin Ian King <redacted>
Reviewed-by: Jesse Brandeburg <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help