From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9ACBC43217 for ; Sun, 6 Nov 2022 15:19:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230038AbiKFPS7 (ORCPT ); Sun, 6 Nov 2022 10:18:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbiKFPS6 (ORCPT ); Sun, 6 Nov 2022 10:18:58 -0500 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 94569B4B7 for ; Sun, 6 Nov 2022 07:18:57 -0800 (PST) Received: (qmail 408407 invoked by uid 1000); 6 Nov 2022 10:18:56 -0500 Date: Sun, 6 Nov 2022 10:18:56 -0500 From: Alan Stern To: Vincent MAILHOL Cc: Greg Kroah-Hartman , linux-can@vger.kernel.org, Marc Kleine-Budde , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v2 3/3] can: etas_es58x: report the firmware version through ethtool Message-ID: References: <20221104073659.414147-1-mailhol.vincent@wanadoo.fr> <20221104171604.24052-1-mailhol.vincent@wanadoo.fr> <20221104171604.24052-4-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-can@vger.kernel.org On Sun, Nov 06, 2022 at 09:47:05PM +0900, Vincent MAILHOL wrote: > I have two questions: > > 1/ Can I still export and use usb_cache_string()? In other terms, does > the first patch of this series still apply? This looks like the most > convenient function to retrieve that custom string to me. FWIW, that's okay with me. > 2/ Is it a no-go to also populate ethtool_drvinfo::fw_version? Some > users might look for the value in sysfs, while some might use ethtool. > If the info is not available in ethtool, people might simply assume it > is not available at all. So, I would like to provide both. I don't see any reason not to do this. Alan Stern