Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp242364pxy; Thu, 22 Apr 2021 00:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhSkJEFIgFc/vKTlzabd79oMI2JJCMdiBLUDeF4oiFmkl4tZqYQXpmzY1pT4innJdSZ4Lm X-Received: by 2002:a17:90a:4615:: with SMTP id w21mr2612777pjg.50.1619077382756; Thu, 22 Apr 2021 00:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619077382; cv=none; d=google.com; s=arc-20160816; b=EbypK+AEp/vlIUp1qA089xgKpm0sa6G8Vsnp0CZ4yqPeuJlIy3c/cS6OPyFyeqxGPe SJrgzQNlH9Imw7yxrQTApIB5MJvDfD0D4bNssUuecPZloProeezTfj4160RYz6W1sfgk b55xva2qcM5RtQBfPPqYds4HBiOf3Lj+lcA0UX4auLqVJz+xod7SRP3KtAPJ6Y2Tc6uC Mz3c4I45Cupjg2psTSXiUow3+RgHQiKjgsKa7CwHctMD4EVKXJpCi9Z4uAknuGdWGR2W sWKM5TYifD5S4yZnQGytJkI258Uj4gJFxXsbQjaHZPwnJj1zhe183F5WoLXx7VpcUsZB 0qRA== 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=/TWauuJmn7fi7z7l55tpGt8f/5INsWS3V0dyZYNJLCo=; b=tSC9F5yyLsrNwsTpimlavP8cxS7nEsKV9iJ/7euaGdIkpTF1UKK8BcxyPzF+Pve/wh O33jWvugbxVK35eTY7H5UukJq0NRROJrOM31xEtinN2VTrh4YiYHSmzc8M0R9VNO7lJb lNEjUN7I8lvJ0BJzLbsF031faFs9nrsQZmXvxUVihr0C4p4ao6jhVVHKfCyzbptoJ5jr pH4h2W2z1F5D1okxaBA96nAsJ7xf4sWCM/GdSJElYAapDQ36wvriZ0Ox3LBJckCx6K8R VVqw4Mp8CxH8u7Up7N8AElfofyqnMlOL5PBoIUOUiqt2iVGVnLd4Eqlal5SF/JGIHPYh awYA== 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 e24si2398085pgv.298.2021.04.22.00.42.50; Thu, 22 Apr 2021 00:43:02 -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 S230365AbhDVHld (ORCPT + 99 others); Thu, 22 Apr 2021 03:41:33 -0400 Received: from mail-vk1-f171.google.com ([209.85.221.171]:36585 "EHLO mail-vk1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbhDVHlc (ORCPT ); Thu, 22 Apr 2021 03:41:32 -0400 Received: by mail-vk1-f171.google.com with SMTP id u200so7065117vku.3; Thu, 22 Apr 2021 00:40:58 -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=/TWauuJmn7fi7z7l55tpGt8f/5INsWS3V0dyZYNJLCo=; b=cxybwPVuHj9M0uMGC9WTXAr4ciyoOuvdGUax3VWXeVaRpNH7O7KM/ecAKHkOr+ugeb K58aU76tVvRdiHLHut1bb7hb6YbexaT4B9u512PNgDoQgnebmcm51ogOaeSr1UW7B9Np O7a/FpBIFkTQHOeZ5zx02fG5FVSTA1p+AK+GQXXWCgCetHDqB9aOIsRWbo7SslFK1HF/ hcf3itnoWzQnRyurETUPhYPB/8cpPQcyfdfoxsqk1BSy6ghfYmZrRwuPBATsx+YxQJVf tcLLXlxx4XXFB7kbB5EFDi5QTLTVQM1jOD3iDEh5iZ8Aml3hEO0wpYMBVl6VyppdFohJ vkZw== X-Gm-Message-State: AOAM530s3QVUh4p1ZtBtXC9XvsxDaMizNularjalEl+GRl9IEdivEoOE icvt1WJUF+TpRTGtXni6icgJ7aufguHr4rA261A= X-Received: by 2002:a1f:2504:: with SMTP id l4mr1405345vkl.5.1619077249224; Thu, 22 Apr 2021 00:40:49 -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:40:38 +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: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? 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