RE: fix for bnx2x panic during ethtool reporting

From: Kalluru, Sudarsana
Date: Tue Apr 24 2018 - 07:23:25 EST

-----Original Message-----
From: Florian Fainelli [mailto:f.fainelli@xxxxxxxxx]
Sent: 18 April 2018 05:12
To: Sebastian Kuzminsky <seb.kuzminsky@xxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; Elior, Ariel <Ariel.Elior@xxxxxxxxxx>; Dept-Eng Everest Linux L2 <Dept-EngEverestLinuxL2@xxxxxxxxxx>
Subject: Re: fix for bnx2x panic during ethtool reporting

+netdev, Ariel,

On 04/17/2018 10:21 AM, Sebastian Kuzminsky wrote:
> "ethtool -i" on a bnx2x interface causes kernel panic when the
> firmware version is longer than expected. The attached patch fixes
> the problem by simplifying the string handling in bnx2x_fill_fw_str().
> It applies cleanly to 4.14 and 4.17-rc1.

If you want to have a chance of getting your patch included, your should make sure you copy the driver maintainers and the network mailinglist, doing that.

Acked-by: Sudarsana Kalluru <Sudarsana.Kalluru@xxxxxxxxxx>