diff options
author | Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> | 2016-10-09 09:58:50 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-09 09:30:38 -0400 |
commit | f5ef017e1195d0a8c69a82bf95fea9c776b93ff0 (patch) | |
tree | 66c60256b855392644e5147eee6b46f259ff458f /drivers/pinctrl/pinctrl-coh901.c | |
parent | 6ee080bb09889dc0195a9c659288d17999237fb6 (diff) | |
download | linux-f5ef017e1195d0a8c69a82bf95fea9c776b93ff0.tar.bz2 |
be2net: NCSI FW section should be properly updated with ethtool for BE3
The driver has a check to ensure that NCSI FW section is updated only
if the current FW version in the card supports it. This FW version check
is done using memcmp() which obviously fails in some cases. Fix this by
breaking up the version string into integer version components and
comparing them.
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/pinctrl-coh901.c')
0 files changed, 0 insertions, 0 deletions