Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp416944rwb; Sun, 6 Nov 2022 07:51:31 -0800 (PST) X-Google-Smtp-Source: AMsMyM4LoSvGswz88NjIGUhiDb09kmOrFmrwIDIHDVWRQOu0uEXfQm8MebqD+6RnGGfKe22id+ZD X-Received: by 2002:a17:903:2308:b0:186:f608:c509 with SMTP id d8-20020a170903230800b00186f608c509mr46839477plh.154.1667749891623; Sun, 06 Nov 2022 07:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667749891; cv=none; d=google.com; s=arc-20160816; b=aPRp9DOciPOagMAEv7ceWW+B7JfHc/gZZFx2Ewn0AOWq829SmmNeBzJceLyYsEdlw2 rUQwb7/gNYc3hS9bH8kqSDOLHemlLg234v1SudysxRnK1euCRTYDkcMODfGnMdjf+a4G uENu479RhZy2vodhsnge4c9o7fNaWWvQWSJ/2UMONqD2B4iXF9vej9kTHcUi0aLGdUB3 UWp1BPER9fjCuI7OgaImcAmbQodIFCrNXM7pncoH9zcynmm68EfwICnBLAqOyYu72JI2 XWSzvxTFRgfxDYJ6AjIU3DCVwKxpgKIcu0G/T6Rnub7wHqRXcTj+eSMbyrS7zc6TNxtF /A3w== 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; bh=670PeHv50xd7pCwjGJG/iE5cA4ESeLPZw+xZjDuVtxo=; b=exzmZtvaEkVkqDXybXkgzhIaxvAUnKw1g+IlYhkqxt3gbmAuPn8Fhnxmk9LlFVIRKr dh/BL48El+YqD7G9xeueUYEita84CCRo+N8dpHm+q4pwJv8Msj4Jug0y5Uw7YGDiwhgP YROTAYw/Gt0jwtYbmx9dv3Z4rWb3UHh/zBbojQ1/bJ/7/3+7l5nyuNuCRMcp7r21cEb8 jpyQRj2x5bSac1t9PAPlMXEpRu5ztyXG8pJoZuyt1KJcnn3KE9SmVf7r2KKljep+FGVR piE88iN8i5HKDJTvhNr2A2Gs1sT2NORgCHeEIgyA0BL2xgSEXz5TFAh/9atSXXrMdIc3 MGAg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a056a0015d100b0053e9c7939basi7508619pfu.188.2022.11.06.07.51.18; Sun, 06 Nov 2022 07:51:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbiKFPTA (ORCPT + 96 others); Sun, 6 Nov 2022 10:19:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbiKFPS6 (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 95851D2C5 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: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_PASS,SPF_PASS autolearn=no 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 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