]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: fix firmware version when no firmware level has been provided by the VIOS...
authorDesnes Augusto Nunes do Rosario <desnesn@linux.vnet.ibm.com>
Thu, 1 Feb 2018 18:04:30 +0000 (16:04 -0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Feb 2018 19:57:33 +0000 (14:57 -0500)
commit26e657e7d17db1fa0eb8156714ddf65ac8e37133
treeb82265c4789d82bdf40c0b90e2939137f7fe364a
parentd777dd46bc06535cce388ae5038740b35876043e
ibmvnic: fix firmware version when no firmware level has been provided by the VIOS server

Older versions of VIOS servers do not send the firmware level in the VPD
buffer for the ibmvnic driver. Thus, not only the current message is mis-
leading but the firmware version in the ethtool will be NULL. Therefore,
this patch fixes the firmware string and its warning.

Fixes: 4ed703caa59e ("ibmvnic: Feature implementation of VPD for the ibmvnic driver")
Signed-off-by: Desnes A. Nunes do Rosario <desnesn@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c