From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: fix for bnx2x panic during ethtool reporting Date: Tue, 17 Apr 2018 16:42:20 -0700 Message-ID: <7747689b-6774-ca84-e0d5-ffd9b0d59e1b@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Sebastian Kuzminsky , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ariel.elior@cavium.com, everest-linux-l2@cavium.com Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org +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. -- Florian