diff options
author | Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com> | 2021-03-26 19:43:41 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-04-08 10:21:37 -0700 |
commit | d6d04ee6d2c9bb5084c8f6074195d6aa0024e825 (patch) | |
tree | 1cbfc32dd64d5999a341fbb0ed90f9c2b720f7a0 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 12738ac4754ec92a6a45bf3677d8da780a1412b3 (diff) |
i40e: Fix sparse error: uninitialized symbol 'ring'
Init pointer with NULL in default switch case statement.
Previously the error was produced when compiling against sparse.
i40e_debugfs.c:582 i40e_dbg_dump_desc() error: uninitialized symbol 'ring'.
Fixes: 44ea803e2fa7 ("i40e: introduce new dump desc XDP command")
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions