From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93F37C56202 for ; Wed, 25 Nov 2020 19:02:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 015EA206D9 for ; Wed, 25 Nov 2020 19:02:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IyS9EQtQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 015EA206D9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5262D6B0070; Wed, 25 Nov 2020 14:02:56 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4D3DD6B0071; Wed, 25 Nov 2020 14:02:56 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3C39E6B0072; Wed, 25 Nov 2020 14:02:56 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0151.hostedemail.com [216.40.44.151]) by kanga.kvack.org (Postfix) with ESMTP id 24E486B0070 for ; Wed, 25 Nov 2020 14:02:56 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id C481A180AD822 for ; Wed, 25 Nov 2020 19:02:55 +0000 (UTC) X-FDA: 77523862710.30.spot26_610e88b27379 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin30.hostedemail.com (Postfix) with ESMTP id 85AA4180B3C83 for ; Wed, 25 Nov 2020 19:02:55 +0000 (UTC) X-HE-Tag: spot26_610e88b27379 X-Filterd-Recvd-Size: 5129 Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by imf30.hostedemail.com (Postfix) with ESMTP for ; Wed, 25 Nov 2020 19:02:55 +0000 (UTC) Received: by mail-vs1-f48.google.com with SMTP id u7so1749103vsq.11 for ; Wed, 25 Nov 2020 11:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mUMLqjn6dQoOs8/v04ldifMzL9V+HOiPQXPCd5/YG8k=; b=IyS9EQtQqln21qrE3Q8ejgF9kkxqQe30OWbTxfCSj96kY4YCpuk2V0yF3iX8GXEsFU UOagLeibacXMA5xROSqOYZYyVAY8Zpbn9gnmmEDxyL5pm4BqPArNhvMJ5r0DTyPFaC2v WoEnqzXYMm5uLoxIC3e8MaNQuN1J85W7P5psP5evPwhH7MQ24R6g0/AhIVfgUpqsfJHx z4NVz0OtleyB9rdNmRxTclP0jRsK4jKhNjfDWa3XPKX0fxPX9NV5mre8CzUcJnz9qfJt 0GO7ikiSmSaj4fiDnoXjA6PJS+MuR/rAUZq/zNrAe5QSWNRsYCKLiFtNGHeLEHgLlCfA 4S+g== 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=mUMLqjn6dQoOs8/v04ldifMzL9V+HOiPQXPCd5/YG8k=; b=C/gtTAYePJO4vtMg01IUHhjHY5Aa7/B2dQ82cahNiHwqB/IVvdyyedsbXlHJIyW5mw bWSW6io4hNCg+/fT/GmZKhP6jFuYuLqfycx1XVY0FrhhE3cSiAd7wAKqZPj+q0cd3tEb Bs4+5LuxuHY9KE7x0ivbxZQm23yhOxhOKq9mb0nh3FkFOzv5jcB08UY+Xh+RqxECo54O grNgImnolQ8aENYRn0sXJ7o9/qE+ns/Pd5Cb39xxQPFa51YPMQwMK4dEwbd8ITdAeSO1 lOfGtbVrJkHyRqvRY0QuW+EueefFeh6pLdoLAVvOeYXIRRlZcQgy6lmi+J0g6xCd/3LY wVYw== X-Gm-Message-State: AOAM530fG90XtBra7KdMQDme5DD8L8Dm1Ao4AcdHZV0qGudQxExbYS+T qHvAk81eAH5efdGnV7ygOgdpfrbb9ejybmqpavg= X-Google-Smtp-Source: ABdhPJyazCkUT7AYoG5US1tz7ucuStDyaZhVL4m/cqpFsgM9XxCZgE2xie14eWQYQ2BnKseS0HKI69zZsazP/tY7kXs= X-Received: by 2002:a05:6102:a07:: with SMTP id t7mr3605629vsa.30.1606330974457; Wed, 25 Nov 2020 11:02:54 -0800 (PST) MIME-Version: 1.0 References: <202011250629.dqxhnqms-lkp@intel.com> In-Reply-To: <202011250629.dqxhnqms-lkp@intel.com> From: Souptick Joarder Date: Thu, 26 Nov 2020 00:32:42 +0530 Message-ID: Subject: Re: [linux-next:master 6721/7715] arch/s390/kernel/vdso64/getcpu.c:8:5: warning: no previous prototype for function '__s390_vdso_getcpu' To: kernel test robot Cc: Heiko Carstens , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Sven Schnelle Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Nov 25, 2020 at 4:11 AM kernel test robot wrote: > > Hi Heiko, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: d9137320ac06f526fe3f9a3fdf07a3b14201068a > commit: 80f06306240e0ad1c75116111be11950474dfda7 [6721/7715] s390/vdso: reimplement getcpu vdso syscall > config: s390-randconfig-r015-20201124 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project df9ae5992889560a8f3c6760b54d5051b47c7bf5) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install s390 cross compiling tool for clang build > # apt-get install binutils-s390x-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=80f06306240e0ad1c75116111be11950474dfda7 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 80f06306240e0ad1c75116111be11950474dfda7 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> arch/s390/kernel/vdso64/getcpu.c:8:5: warning: no previous prototype for function '__s390_vdso_getcpu' [-Wmissing-prototypes] > int __s390_vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) > ^ > arch/s390/kernel/vdso64/getcpu.c:8:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > int __s390_vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) > ^ > static > 1 warning generated. I think a declaration would be more appropriate. > > vim +/__s390_vdso_getcpu +8 arch/s390/kernel/vdso64/getcpu.c > > 7 > > 8 int __s390_vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org