Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp248124pxy; Thu, 22 Apr 2021 00:54:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw57q5ZXYlaxlezXbnSPaSdJTgORyrMz/b+wu6zgCb3Xloa4qiRww1UojArksSY+h2REB9p X-Received: by 2002:aa7:cb89:: with SMTP id r9mr2196606edt.245.1619078062750; Thu, 22 Apr 2021 00:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619078062; cv=none; d=google.com; s=arc-20160816; b=D471CDiG6nh7W2YSVXzu2dl8XQe/F0qv1knlGFKwsaSA35OHeqFkWbhPONQd0G/eap K7+Ta9Hq7nN4PFOnhPHADu+vAKBvr8wYxucsOant3o6omhsyRCUmtxAro0g5vem1kk5w JvGo3fu176wwCkW4oT45VQ0mHc3SDHlqlroJI8KCFHzm94aoIVA8DfUbcGmDmioBzMhe cJ+GyaRsEklAtb3yTGvfSOg4lWjSMDmdfK6PgxtWwsiGaOcvAkpXGGCBkafVBPPxZmQv rbfzejiDfBN7gmjS5FrIgxmAl3cyXeeoPpbOeqdNm81AZm9skHZbCoqJKjCGmcyMf6GB 7/mw== 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:dkim-signature; bh=Sa5WSQcBTCa5heL1kr1733n0pVeDX57N65MTjzbNL8A=; b=LX+5lAoeyPyDCl6tsUUXefaLMlO5+R9UjL+3vKJ3DgxpPRnMpz7Vf/QzP5/ixJCidh pL/6SKvaYfOPSRrQTGtSsNSZ4SSDTyaryAlMewFhR0b9W/zupVRzOwatb+eQcDYHqCMJ +xMpF3GInW5fHugPWN/koHse8uIozHsE1F1S+N383LrWMp6ULrKKU8X1tedUcXsd7TFC ZnKvBw/+3g+soNPo8pduaas05MUEexKOliAPL0l0MQTpTjObBiyHDjhpsUc6CR7dVxGc 3BnTdEqopW/s963g+CkcqpWGgcjlB8b2OhCySXXOdCdDCLX3Ejz0SuSDEBh3wsPidIHh SWeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S9mp3w9a; 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 fy26si1626807ejb.76.2021.04.22.00.53.58; Thu, 22 Apr 2021 00:54:22 -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=S9mp3w9a; 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 S235097AbhDVHxK (ORCPT + 99 others); Thu, 22 Apr 2021 03:53:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:40238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbhDVHxK (ORCPT ); Thu, 22 Apr 2021 03:53:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D504D61445; Thu, 22 Apr 2021 07:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619077955; bh=Io3ZzfuQqd3zpw6RtkrnJ+HSBrC6H1N1FqQjS//UMmU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S9mp3w9aezP1Xe/u0kDjdGlX23W/gDDPwzBFR+LjjjW4ao92t5eC0TCXUhsaKH+7M zzkpMssl+MGWQPMmgvmFMFTfpWm+RU8u1+PRyh9nmDPlMg+e+rPSQ7sJss6sWr3VrO MVAC0ArKB37vfbmoAqz2SVAC+aZm2lbeGSU5vZW89vDmVZbG7u6PtpQnRqwkdQs3Gi SNXNWFlHF7x8VKYG1Vqny+QmQMSEUbRvtVTjPym9/gicovjfeQ3gxODLUwDEv+H1/0 LvJ+NbdWlmy0OC57xhVRPZiMDRvW9b4lZTOSX6/JEtCEitUHlLrssNQ6ncEJF11+aY 8csj31IMDUX2A== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1lZU8f-0007XQ-2M; Thu, 22 Apr 2021 09:52:41 +0200 Date: Thu, 22 Apr 2021 09:52:41 +0200 From: Johan Hovold To: Geert Uytterhoeven Cc: kernel test robot , Greg Kroah-Hartman , kbuild-all@lists.01.org, clang-built-linux , Jiri Slaby , "open list:SERIAL DRIVERS" , Linux Kernel Mailing List Subject: Re: [PATCH] serial: extend compile-test coverage Message-ID: References: <20210421143115.22797-1-johan@kernel.org> <202104220355.v8nwWx2T-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 22, 2021 at 09:40:38AM +0200, Geert Uytterhoeven wrote: > Hi Johan, > > On Thu, Apr 22, 2021 at 9:37 AM Johan Hovold wrote: > > On Thu, Apr 22, 2021 at 09:11:50AM +0200, Geert Uytterhoeven wrote: > > > On Thu, Apr 22, 2021 at 3:20 AM kernel test robot wrote: > > > > >> drivers/tty/serial/serial_txx9.c:987:12: warning: no previous prototype for function 'early_serial_txx9_setup' [-Wmissing-prototypes] > > > > int __init early_serial_txx9_setup(struct uart_port *port) > > > > ^ > > > > drivers/tty/serial/serial_txx9.c:987:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > > > > int __init early_serial_txx9_setup(struct uart_port *port) > > > > ^ > > > > static > > > > 1 warning generated. > > > > > > This function is called from arch/mips/txx9/generic/setup.c, and does > > > have a forward declaration in arch/mips/include/asm/txx9/generic.h. > > > Unfortunately the latter cannot be included from the driver, unless > > > the || COMPILE_TEST is dropped again. > > > > Thanks, Geert. I was just about to send a v2 without the txx9 hunk. > > well, I guess apart from this (W=1!) warning, this driver still > compile-tests fine. > Do we consider hard-to-fix W=1 warnings to be legitimate blockers > for enabling compile-testing? Since the build bots have enabled them (and people have turned it into a crusade to suppress every W=1 warning by any means) I think it's reasonable to not introduce new ones knowingly. And I'm not too motivated right now to try to work around this one myself. The idea here was just to enable COMPILE_TEST for drivers that did not have any build-time dependencies. Johan