OSDN Git Service

ice: fix incorrect size description of ice_get_nvm_version
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 27 Feb 2020 18:15:05 +0000 (10:15 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Mar 2020 20:11:02 +0000 (13:11 -0700)
commitdab02de8673f6f9dff67fb8c21b816c846fe152e
treef4276b9a4d5c1eb75ee6763b1fd07b9b6b48bb2e
parent6dae8aa0ed5b87e2acfde1038cc39c01c520ce79
ice: fix incorrect size description of ice_get_nvm_version

The function comment for ice_get_nvm_version indicated that the ver_hi
and ver_lo values were 16 bits. In fact, they are only uint8_t values,
meaning that they have a maximum size of 8 bits. Fix the comment to
match the correct size.

Signed-off-by: Jacob Keller <jacob.e.keller@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_common.c