diff options
author | 2023-07-13 09:42:39 +0800 | |
---|---|---|
committer | 2023-07-21 08:49:37 -0700 | |
commit | 043b1f185fb0f3939b7427f634787706f45411c4 (patch) | |
tree | 3ffb675235623587720717175dc0ae1fdfb1614e /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'net-6.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-043b1f185fb0f3939b7427f634787706f45411c4.tar.xz wireguard-linux-043b1f185fb0f3939b7427f634787706f45411c4.zip |
i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
The debugfs_create_dir() function returns error pointers.
It never returns NULL. Most incorrect error checks were fixed,
but the one in i40e_dbg_init() was forgotten.
Fix the remaining error check.
Fixes: 02e9c290814c ("i40e: debugfs interface")
Signed-off-by: Wang Ming <machel@vivo.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions