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 DBA19C4332F for ; Thu, 10 Nov 2022 17:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232296AbiKJRVc (ORCPT ); Thu, 10 Nov 2022 12:21:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231749AbiKJRVR (ORCPT ); Thu, 10 Nov 2022 12:21:17 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CE3F4C27D for ; Thu, 10 Nov 2022 09:20:59 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B6EC1B82269 for ; Thu, 10 Nov 2022 17:20:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D47CAC433C1; Thu, 10 Nov 2022 17:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668100856; bh=pLDaFCfcZhJQgX0RuTHGdDoqNH6H633GFd+Lk86Op5Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b+qso7/yfJOyorU22G8Qx2UfoNLybgf+ZCFnGTCiPiaoviv7gfJLAAfEC/1IpoEs/ lFsU+tXlfQ204Pp19qTjBq+wcBI57bsrUzGP7WJguknqkJdwbdy+s+UjMUfrKLdh6b /+mTUn3jQSkuVI8ZxcWWX+qqdkClz0nzqX1gTEoltDlD7jl9lDhIb2uSd4qWQNzM0/ vgRRx+KtrItaG4HhYPoT7fgUbRSza8qW+cyLx18N9NHjTxD+xjxdZxMNfYK9QNJ23m xSQZK6wk21l2lO7VXfxqpsAmBeltRMaf2HpoLDBgaGaJBg/MyaPPyVhNIOjcflcKBw 4KEmXYzfOmi1Q== Date: Thu, 10 Nov 2022 19:20:51 +0200 From: Leon Romanovsky To: Jakub Kicinski Cc: Vincent MAILHOL , netdev@vger.kernel.org, "David S . Miller" , Eric Dumazet , Paolo Abeni , Guangbin Huang , Sean Anderson , Tom Rix , Tonghao Zhang , Wolfram Sang , Marco Bonelli Subject: Re: [PATCH net-next v1] ethtool: ethtool_get_drvinfo: populate drvinfo fields even if callback exits Message-ID: References: <20221108035754.2143-1-mailhol.vincent@wanadoo.fr> <20221109122641.781b30d9@kernel.org> <20221110090127.0d729f05@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221110090127.0d729f05@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Nov 10, 2022 at 09:01:27AM -0800, Jakub Kicinski wrote: > On Thu, 10 Nov 2022 11:11:38 +0200 Leon Romanovsky wrote: > > I will be happy to see such patch and will review it, but can't add sign-off > > as I'm not netdev maintainer. > > Did we finish the version removal work? :S Good point :) > > Personally I'd rather direct any effort towards writing a checkpatch / > cocci / python check that catches new cases than cleaning up the pile > of drivers we have. A lot of which are not actively used.. I thought about this too, but came to conclusion what first step is to remove "version" from in-kernel API. It will reduce drastically desire to add driver version to new drivers. "There is no shame in doing the right thing, even if its too late.". BTW, I hope that we all learned that allowing drivers to return free string to users will always lead to disaster. Thanks