Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/i40e
Wang Ming 8a6cc852f6 i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
[ Upstream commit 043b1f185fb0f3939b7427f634787706f45411c4 ]

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: 02e9c29081 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-11 11:57:34 +02:00
..
2021-07-19 09:44:59 +02:00
2022-10-30 09:41:16 +01:00
2022-10-30 09:41:16 +01:00
2022-10-30 09:41:16 +01:00
2022-10-30 09:41:16 +01:00