nfp: check the right pointer for errors
Correct checking error condition on wrong pointer - copy/paste mistake most likely. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -200,7 +200,7 @@ void nfp_net_debugfs_adapter_add(struct nfp_net *nn)
|
||||
|
||||
/* Create queue debugging sub-tree */
|
||||
queues = debugfs_create_dir("queue", nn->debugfs_dir);
|
||||
if (IS_ERR_OR_NULL(nn->debugfs_dir))
|
||||
if (IS_ERR_OR_NULL(queues))
|
||||
return;
|
||||
|
||||
rx = debugfs_create_dir("rx", queues);
|
||||
|
在新工单中引用
屏蔽一个用户