]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ice: Fix possible NULL pointer de-reference
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 7 Nov 2018 18:19:35 +0000 (10:19 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Nov 2018 19:39:04 +0000 (11:39 -0800)
commitf25dad19ba70f7cc135da78ec013325042cd8c52
treed161d7799b6c78009a6947c7e573a462ad85a43c
parentd337f2afb7aceb16840a2621c5e2f9e868630653
ice: Fix possible NULL pointer de-reference

A recent update to smatch is causing it to report the error "we previously
assumed 'm_entry->vsi_list_info' could be null". Fix that.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_switch.c