Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1762973pxj; Sun, 16 May 2021 03:30:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw83UHSMytp6HAazcCV8i3UIa9A/7R0CDrmZ1N/sIZlLePSCQ11G3QSflfxKWmA7WD8TJGo X-Received: by 2002:aa7:c4d0:: with SMTP id p16mr67522347edr.102.1621161019392; Sun, 16 May 2021 03:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621161019; cv=none; d=google.com; s=arc-20160816; b=hWpY15R6OU5u3JdSx3ja0O/jDVyHby7fjkhvdRLmUGOGfzNf+V6hqgGvilGmiZJYku ece/2p4DG2qoZOnn/hgYQqaIBmu2LfIZ59HcdjQes3SmSgLFm+cysyu/oTnVdgnZoGu1 ebwQ3hO0dUgc2+CcNZos55j+OUFyyORoz78v0lQnUvj8H4N8QHtWdjraMkor1H9wamlt O8V/uPndn93KyQGR1Uni1ycdSsRMVdc9l11AXbpT8JAvlRKY8EyN74OE5uIQKKX/NCfw 0SFJqjAtC98ZHK357Z4/i4KxyOyeO3r+4mvr9tl0sYXZ0u83xPhBLO9YdlPFpCSwnUfx ZheQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OgyuF4Z3Yey4y982Khf0il4wsXoBmHAYUmAfOh/14N8=; b=c5amRfb+4iC/FB59aZdU0HzXM/mZtWoX2ZwsYkG7nK2eSG+qk/+RR6dDZIE3Co/Lgh P1rMIEQtN4Za3tU5aDTSJvZual46KFpv+bryOOs0u/WXZAQtEbsmqY3Ji/y74GvLpOBK ZHBi/ME9s1wuNgGov4qZpc8CjydfM8GGCkHjgOR4GDf2jakvUwTVJOYKmoyBBJ9g24AG I/JgFxCcU3bqmfswz92u60kv/3pqIw4VCsu8A4FLaS/fyPiIsPY048m77HpMesnSpVCp Dp7vgHw1Up0Bw1u4wUrdEAczpsZlXAqKsAmSnWvQM5ui4ymeNBJ1eBtgPapLs9mnOz9v YRBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YsQKZIwJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si127883edr.46.2021.05.16.03.29.56; Sun, 16 May 2021 03:30:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YsQKZIwJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230332AbhEPJlr (ORCPT + 99 others); Sun, 16 May 2021 05:41:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:58272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbhEPJlq (ORCPT ); Sun, 16 May 2021 05:41:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 21D7261183; Sun, 16 May 2021 09:40:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621158032; bh=HPHAfZvAU6XXPJgmrCVIHUbZpsx6IlX29XORpnfKmZQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=YsQKZIwJh5KvtGgZZPg96UE6XZMndaOHN1BQahTZPkKub0arKiKy8nUhS4EylwQmp uF12aKbaukquUbBvW85QVTimNP0n3ZIdSbkDfEKkpWqBysPrJc+you91MBBvRdaJGI 4w9/87kk0BkK1M2TsfnCuBIROHhTXe32KuEqkz/5q9RC3yFQxle6ffFfzHGxsCEVTM Z5vSgMQCzkSJdLPZOucsXuhhu6MlILCwjJIIGIHa6JDv81j/kJzs7iJYcXOssPElKz SmtHD0DptDzst7SO51cUyhGQxfNILB830mZb+GJNdOCuIwEPqISBnYzY9NUEon4a5U VWbZkYC7CJnxA== Received: by mail-ot1-f41.google.com with SMTP id u19-20020a0568302493b02902d61b0d29adso3097549ots.10; Sun, 16 May 2021 02:40:32 -0700 (PDT) X-Gm-Message-State: AOAM530+QdxvXH2XboYsyU4ORuzNmzgCDBtBusflAuUauCOt4ANUJSxh ChdmMa/dJSO6V0q2ItPoExu9yj02qU0HBIfWFFU= X-Received: by 2002:a9d:222a:: with SMTP id o39mr44734707ota.246.1621158031417; Sun, 16 May 2021 02:40:31 -0700 (PDT) MIME-Version: 1.0 References: <20210515221320.1255291-1-arnd@kernel.org> <20210515221320.1255291-14-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Sun, 16 May 2021 11:39:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 13/13] [net-next] 8390: xsurf100: avoid including lib8390.c To: Geert Uytterhoeven Cc: Finn Thain , netdev , "Linux/m68k" , Paul Gortmaker , "Maciej W. Rozycki" , "David S. Miller" , Jakub Kicinski , Doug Berger , Florian Fainelli , Sam Creasey , Christophe JAILLET , Andrew Lunn , Alexei Starovoitov , Eric Dumazet , Andrii Nakryiko , Bartosz Golaszewski , Linux Kernel Mailing List , bcm-kernel-feedback-list , Michael Schmitz Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 16, 2021 at 11:04 AM Geert Uytterhoeven wrote: > > On Sun, May 16, 2021 at 6:24 AM Finn Thain wrote: > > On Sun, 16 May 2021, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > This driver always warns about unused functions because it includes > > > an file that it doesn't actually need: > > > > I don't think you can omit #include "lib8390.c" here without changing > > driver behaviour, because of the macros in effect. > > > > I think this change would need some actual testing unless you can show > > that the module binary does not change. > > Michael posted a similar but different patch a while ago, involving > calling ax_NS8390_reinit(): > https://lore.kernel.org/linux-m68k/1528604559-972-3-git-send-email-schmitzmic@gmail.com/ Ah nice. As far as I can tell, the two versions are functionally equivalent based on my reading of the port accessors, but he probably tested his version, so I'll drop mine from this series. Nothing else depends on this one, I just included it since it was an obvious thing to fix. Arnd