[Intel-wired-lan] [PATCH net] i40e: Fix sparse error: uninitialized symbol 'ring'

Switzer, David david.switzer at intel.com
Wed Apr 7 22:57:04 UTC 2021

>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Arkadiusz Kubalewski
>Sent: Friday, March 26, 2021 11:44 AM
>To: intel-wired-lan at lists.osuosl.org
>Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>
>Subject: [Intel-wired-lan] [PATCH net] i40e: Fix sparse error: uninitialized symbol
>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 at intel.com>
>Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski at intel.com>
> drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 3 +++
> 1 file changed, 3 insertions(+)
Tested-by: Dave Switzer <david.switzer at intel.com>

More information about the Intel-wired-lan mailing list