Received: by 10.223.185.116 with SMTP id b49csp61243wrg; Mon, 19 Feb 2018 16:43:41 -0800 (PST) X-Google-Smtp-Source: AH8x225UEE+isTh9Dcl8knf5JYysNSxi99FCMNE1KgiM8nCTq++cpgPv/CAY6HCl4amzZM8ewkPe X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr15715823plu.40.1519087421535; Mon, 19 Feb 2018 16:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519087421; cv=none; d=google.com; s=arc-20160816; b=EtDh1uzNC1mKHlhsAhyXn6lzrRex8rX++SrIWgjepTBk97Unakz/rt/LPbdJ4+Rh0M YrDrnOfbc8FrW0G8XPJFgt2peQcHgCVeZrTnxNUBeDdayDikx2P7zdq3Y3RMw1n8BkQ8 KDAxzWZupOCUXI7MhFixPIcaO4FjqT4NcjBjK+591A5jqYRfMC807ymHn0pqvkNCStxE 26er93SB/BUDu1rcXzesEWDzKnhLquM6UqqFeGJoKPyRXGkB8Fmx3PuZos34a1Rp5hAV 6k4d74uVohPh4Qtxya+BNWngWS4qifvATPV9nmkN4YFMAkWB6HTFVh5OS2L3U56Q+BuT MnYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:arc-authentication-results; bh=OVVyd9YWvLv8ACva0nvFYF/iJ9VNPFOaNEszPyb8bpg=; b=hNi2R7sv0bMJf4SN3AYDkTDr3VwFVpJZlwoPkfJh06PM9tpXVJAD6/PritUFlDSIjJ n4hQ8Y0hW2pighvj2tVQQs8tafej5DEymfT65rabOx0ZKvq8J9Ff4aW0mgDDo876K+r7 gBJne/Ispz3I8mP9YgJEDH6B9d7lCUXFoX3ln/G0nPRpmAyfkkXiWU0MtkAcQZjZNF5E 5Fn9TONdj1sivkqWs2CuopcqwrIx4STljM68GUiomHX2nOf1qzDSYWbRaejR5lPmxRgt Nr5zVrOtqmlj7xvWI0SJ3FJm9V+ygnx0GlZ5DZn4/9lF6+nx7U2jFFAmj4EbjcIgtWif Tflw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m13si443011pfh.118.2018.02.19.16.43.27; Mon, 19 Feb 2018 16:43:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932316AbeBTAmb (ORCPT + 99 others); Mon, 19 Feb 2018 19:42:31 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:56882 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932284AbeBTAma (ORCPT ); Mon, 19 Feb 2018 19:42:30 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id C43342952E; Mon, 19 Feb 2018 19:42:27 -0500 (EST) Date: Tue, 20 Feb 2018 11:42:26 +1100 (AEDT) From: Finn Thain To: David Miller cc: netdev@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net 2/4] net/8390: Fix msg_enable patch snafu In-Reply-To: <20180219.184343.1801583131809551924.davem@davemloft.net> Message-ID: References: <20180219.141137.2095980245673495027.davem@davemloft.net> <20180219.184343.1801583131809551924.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Feb 2018, David Miller wrote: > > On Mon, 19 Feb 2018, David Miller wrote: > > > >> > The lib8390 module parameter 'msg_enable' doesn't do anything > >> > useful: it causes an ancient version string to be logged. > >> > >> Since you are removing the last reference to this 'version' string > >> you should remove it as well. > >> > >> I'm surprised the compiler doesn't warn about this. > >> > > > > I compile-tested every 8390 module and I didn't come across any > > compiler bugs. > > > > Please take another look. I think you'll find that lib8390.c is always > > #included by a module which does define that symbol. > > But nothing references 'version' after you remove the log message. > > You can therefore delete it. > > And I'm politely asking you to. > > Thank you. > If there was an unused variables I would happily remove that too but the 'version' string is not unused. The etherh.c and mac8390.c files both include "lib8390.c" and in there you'll find the 'version' string used in ethdev_setup(). If you want to remove the reference to the 'version' string from the core driver, it would seem to imply the loss of this functionality from 8 modules or else the duplication of this code in the same modules, neither of which seems desirable... What am I missing? --