Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14964112rwb; Mon, 28 Nov 2022 06:43:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf4dI3HKlobsBbsJppsMBKXxRCOyOiVEgddXqm5ZqAFJucVvlmxuiO5946koRnGksbubSC7R X-Received: by 2002:aa7:cb15:0:b0:458:e9c0:3e6f with SMTP id s21-20020aa7cb15000000b00458e9c03e6fmr48560124edt.61.1669646593289; Mon, 28 Nov 2022 06:43:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669646593; cv=none; d=google.com; s=arc-20160816; b=Y7HAysTgKKj6UCQj8XJIM48z6R3qPlRmwwXJIG/DJ3tgIvAe6CIf7zkr5NmczclsQJ iLs1UcbWMiY6LhtaoUjJqJSvbnl/f4gNOikU/5RXqS4YiQtZaytDw7ICT44Rbp9lYMV5 PMpiY7tmrrqgoJs54zrNUUFiA8bok3FMX2GPuo7Fk2fW2WC0wUrAC4OB6XoshmGfN/8X nlQHsSKk4w09lXATZknfmVIYakqQR5OlYoQVQOXDJT+TC0u0tJZyQeLdJiFvmxgolg7C YAlRmX2uPDapAFpizKM4fuO6lgZr6ChR55nvxceRR3ekdctKK7z08Sl9xtfSz4KhvXSM AFlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pNAUCiEQQ+LrJi3r08klyncOvZManLlPM8GnBS/MGrA=; b=No9djp4Iy+Jcc/o7wX7+i6gutzEhSI7Ar/nLKeSP6E3kRGJuS6LVVeWINC9KZbxMoU /KAClkyaZS3ulTUOzC0rv+vBg5n58j+xFSTW4wulCYdS2AEmvjBCwWfFbPRuVPHzck3q yMQxYBSpxYeSy7n2xVqGhjqYptjXcGKdQsIDrFVy9O62JCdvHN3d1+opD8Fg7G4Kk0qW D1yrXVFIEZaMFeR7nCvOHflObcG0mQpCfgjzLnUKYryOB7FcoFtiwA/e9mqsvD8F+GHM HmFnHTqL/zvh83FPJIeN9FjiOEhte7eB35xMhnRVgZHHGbtzigFyB+vgeFn9/K4docI6 ddig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=uZVI3Sbi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a50cc91000000b00452697eda4csi9831993edi.58.2022.11.28.06.42.52; Mon, 28 Nov 2022 06:43:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=uZVI3Sbi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232063AbiK1NpH (ORCPT + 84 others); Mon, 28 Nov 2022 08:45:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232059AbiK1Nou (ORCPT ); Mon, 28 Nov 2022 08:44:50 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12B4B1EC40; Mon, 28 Nov 2022 05:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=pNAUCiEQQ+LrJi3r08klyncOvZManLlPM8GnBS/MGrA=; b=uZVI3SbigWjbPPM2fkkIm2FsdG UJ/jhBfD1b4u8Mtuh7ICevQlHWTNQMsbeC6SjoUunY9XqE/zoSFAffNZ7AdYWXi3V0oqQJf+4/9Fs 844MVBCNUQD5s5zSZ2TV2B4lUOrdtysiTw/4Lg32pFgkPcXBl7kRPEXq3rcWKSVBjheA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ozeRC-003epG-Qf; Mon, 28 Nov 2022 14:44:46 +0100 Date: Mon, 28 Nov 2022 14:44:46 +0100 From: Andrew Lunn To: Vincent Mailhol Cc: linux-can@vger.kernel.org, Marc Kleine-Budde , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , netdev@vger.kernel.org, linux-usb@vger.kernel.org, Saeed Mahameed , Jiri Pirko , Lukas Magel Subject: Re: [PATCH v4 5/6] can: etas_es58x: report the firmware version through ethtool Message-ID: References: <20221104073659.414147-1-mailhol.vincent@wanadoo.fr> <20221126162211.93322-1-mailhol.vincent@wanadoo.fr> <20221126162211.93322-6-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221126162211.93322-6-mailhol.vincent@wanadoo.fr> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 27, 2022 at 01:22:10AM +0900, Vincent Mailhol wrote: > Implement ethtool_ops::get_drvinfo() in order to report the firmware > version. > > Firmware version 0.0.0 has a special meaning and just means that we > could not parse the product information string. In such case, do > nothing (i.e. leave the .fw_version string empty). > > Signed-off-by: Vincent Mailhol Reviewed-by: Andrew Lunn Andrew