Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1760839pxj; Sun, 16 May 2021 03:25:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRmfVUGdk4WFOXXf0rDb0vPyDLoo2e6wU/uyMRjS68nStVCz+M55OkE/G+L5NFQapwqneO X-Received: by 2002:aa7:d915:: with SMTP id a21mr67501545edr.357.1621160708277; Sun, 16 May 2021 03:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621160708; cv=none; d=google.com; s=arc-20160816; b=vk7J8FdnsUl6Be7YJXg7XdGTgIXujWwNpdzos+6HQ8eTOENyBjlhWq94lKWkN/9BzT cm1YVpPeBt5Dv+Mwkn5NZQ/p+/d6+V52vIuzgfNTQtu4kNvdqrqSFDzFu/E3jh+53Mpc qTceiKgrd55KyCDeptV+RGI93zuY+1PR0FaupF9dtgKQmV3BtJp/Ho5YKEyRPsLRulWv /fRUwAKW5cBh050Q/v6CNOaEMQ4HLs8cv7xL+CoHHkVkVJYwoFbSxBbdNNcHszO2bQMc eu6pRuzElOD8HNaUvQVKTZA+22F6K9lqVr1pEioFrh6TvrsAb5USAbUqcYkMLmpoBs/1 56EA== 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; bh=PtdmExuunL6I47GcuCl9lENSjo5yazFWO+xZYZLpNig=; b=Rp6VDz82MJ3XetRJhrlFzdUpLpv56YM6BSG5ubk3SR2dpz3hqny+EnBpATViIemZtb P0jSeYmzVnauabIRoW5GkoJyJ/GbE1mzTq4JWa1IdfPJp/1QKY5QziR/YLuDt41IBn5b MA7Sz3QdfYVu+mutlZb8r/tn9mMaqjZU82Ky7pGY7IzgxQdtEKhkR83lJBaAZD4NFGgR GP9PgCeB2UrUDNQB10HPrO4nllGrX95/RUy7fcJ1VocTAGk+lEy8TI3W3DqShsBgTo7o 9yP5SvAUSulswd3dLfQ+cADaIDU7NBgGMKYWlzk9OOu6H9FX89hFQ+GgxGE9bCbu7f4X e1YA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he16si7630314ejc.516.2021.05.16.03.24.45; Sun, 16 May 2021 03:25:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234379AbhEPJFo (ORCPT + 99 others); Sun, 16 May 2021 05:05:44 -0400 Received: from mail-ua1-f50.google.com ([209.85.222.50]:38882 "EHLO mail-ua1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbhEPJFn (ORCPT ); Sun, 16 May 2021 05:05:43 -0400 Received: by mail-ua1-f50.google.com with SMTP id k45so1141726uag.5; Sun, 16 May 2021 02:04:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PtdmExuunL6I47GcuCl9lENSjo5yazFWO+xZYZLpNig=; b=L/0IGamP5Ugf/Fcuob7CjzBixnjiGZe1aa1cPh6Zp3y05ZIZh23SS/vqIIhvmK+DCd W7HhtmSExT83+f2qWsJ+WeA/PShrbIUqlYYQ2bzSPATaMX0/CdTjU+kcuCvsJ5mWgnsU EBHfv5/uc6+SfixPQJbriV6QL2X9qVTFjXTytHEGZoKuYbSnY3nA+UpAg4Mdse39ad/S nrYT/ALfXLT95awkIAIVZGUe7eufemG7AvyyK3KcLafPD+OitVm/JnhoWoDbEJNoNc9T F9R8SAQjU1xZ5szdkCxOUYhLne56gEgeXw61CX2gDneokqFBT2+BOCkPQF9cAt9HBEkx R79A== X-Gm-Message-State: AOAM530fPXWATlQo4RiawGS3g0YFnHxrvBQhWORTpiLu05yELPWqXSZR ur3hYRaUtw4nu/uPVKGrTPRkaTy9E6t2/Kn+F1U= X-Received: by 2002:ab0:7705:: with SMTP id z5mr8869408uaq.2.1621155867307; Sun, 16 May 2021 02:04:27 -0700 (PDT) MIME-Version: 1.0 References: <20210515221320.1255291-1-arnd@kernel.org> <20210515221320.1255291-14-arnd@kernel.org> In-Reply-To: From: Geert Uytterhoeven Date: Sun, 16 May 2021 11:04:15 +0200 Message-ID: Subject: Re: [RFC 13/13] [net-next] 8390: xsurf100: avoid including lib8390.c To: Finn Thain Cc: Arnd Bergmann , netdev , "Linux/m68k" , Arnd Bergmann , 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 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/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds