]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: Use right type for ice_cfg_vsi_lan return
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tue, 16 Apr 2019 17:34:53 +0000 (10:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 30 May 2019 06:05:37 +0000 (23:05 -0700)
commitd31530e83e6325fa05b9f12f58df32826444e843
tree6f09b2e208f37ef987a9136c0cb778fdd1f1532b
parentf776b3acb047e8f9a347001ae65b679c47437751
ice: Use right type for ice_cfg_vsi_lan return

ice_cfg_vsi_lan returns a value of type enum ice_status. So
use a local of the same type to capture the return value.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@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_lib.c