Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp248955pxy; Thu, 22 Apr 2021 00:56:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygYpimItiDARH+AQrND+MLk3yWK2FifDkthIYG/BubNl4u4xnw2T6q7w1m2MfkrqleK0d5 X-Received: by 2002:aa7:c7cc:: with SMTP id o12mr2192948eds.291.1619078177102; Thu, 22 Apr 2021 00:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619078177; cv=none; d=google.com; s=arc-20160816; b=jc8+hD56Rnol0gt3GwR93CIOqh66RtbjaX8AFbuq0BKNl//uW1BytuGagRL59ibw/N OM2WnUxj2dg0ogXgAsfewb3Aqm7sUC2f7BXg41ZJfRksD6P6JtuLoPzmbTgIv9P+28Kj +CBi8aIBvYn41N3U3MYJYtD8E8U1lOj2ODNIDD+4469x46vgCuljfZqrOdgSiBSdrXUV aU9WDfk0iZmmmxCksTi6BJsppyqAdrwaFXJ7Cth6+3Kl6jlIS7/T+MCJgE5q6a3owIMn 2cqRzFA0mWa4zTIhKzbwstGCotgRjUTMTwnQK38JkyIOlyDTXvyri4QxjcLxqngf/mRE RzAg== 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=qpkaQhzeov50oc6KPA23GaI7TsaxSxtBoceUfcE/9Sk=; b=bsgCd2gwhfM/bwEiIL4UwVJ8If0BRIMgkfHEWuiQRgTvT9U2fqUOvW4kKlptkUO20H OumofNX4IkuSHDLhyYfyEZBv3pH4GYW4W9Wpj/UbvgcfSn/k3Z6S9To10KOQxKjPpJfu Ke1SMDh/gYZpaFcyXccxbh3LkwRqXOjuDW4SjVX1vWEUj56FnjMQCoq/pcvdWVGnWJat 3Gcw3DBSsztzgoqEKYn5zc8ylhWiUMBGViFJcHMbf7LlkvBw2E5JHTr6QHQwSc8w1yoU Jdn322bBv79BYTj7EarlmpZfyJ7LC0/aBoiY3fQy6X13N9ampNRzz7u6Tm9E/RjZBlFw /T/w== 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 cz6si1742193edb.335.2021.04.22.00.55.52; Thu, 22 Apr 2021 00:56:17 -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 S230316AbhDVHzb (ORCPT + 99 others); Thu, 22 Apr 2021 03:55:31 -0400 Received: from mail-vs1-f54.google.com ([209.85.217.54]:36353 "EHLO mail-vs1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbhDVHza (ORCPT ); Thu, 22 Apr 2021 03:55:30 -0400 Received: by mail-vs1-f54.google.com with SMTP id k124so22494273vsk.3; Thu, 22 Apr 2021 00:54:56 -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=qpkaQhzeov50oc6KPA23GaI7TsaxSxtBoceUfcE/9Sk=; b=tywHBSVswq9QdPocJKMHHTzng98YZoJ6kD73BWfoE8ENclGBfiiSwZ/EpQodHA5wWu 4fr48i8Wa+wzcBYCVcD+uHn78etjbcea4j9zM+lcoSJzVgk8Ob0lBz2wc3Ejc6zT3dxm yPBYGWxoAN5XcoCw/Pc7MpTl16MubMmEdWfPZztR/Jdc0L5GUuZJTZeVlLvKUMawiUwW kuJlCeNRPOCu0mdCBL5HNgs57YEbwGfHsj8/q0saAQUnM/+lbID1kJyMd8B8+PRe1+RN 4dHYPEC2+04v5TXUSssdqfZfbtXGa7EzR2xePRFB/2YwjZwIeBPohc85siqXk37xiMle TtZg== X-Gm-Message-State: AOAM531H2EJA3i9i71pt8iP80KedYORikDGeRJ/AavcYHfQUjPKP8IPy DnJNaCkMpDFf5yW+ENVmnjebNNqVlSNnZBf0AWE= X-Received: by 2002:a67:7c8c:: with SMTP id x134mr1512113vsc.40.1619078095714; Thu, 22 Apr 2021 00:54:55 -0700 (PDT) MIME-Version: 1.0 References: <20210421143115.22797-1-johan@kernel.org> <202104220355.v8nwWx2T-lkp@intel.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 22 Apr 2021 09:54:44 +0200 Message-ID: Subject: Re: [PATCH] serial: extend compile-test coverage To: Johan Hovold 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Johan, On Thu, Apr 22, 2021 at 9:52 AM Johan Hovold wrote: > On Thu, Apr 22, 2021 at 09:40:38AM +0200, Geert Uytterhoeven wrote: > > 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. OK. 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