Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp29576imn; Thu, 28 Jul 2022 21:04:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sBs7BoUjvj9oIxtUFyfC3JbRc5a8WvzuLd2CXfOiNTZ4bbeHQzhGNRe/eGFQPpjASg6yzg X-Received: by 2002:a17:906:98c8:b0:72b:408f:f499 with SMTP id zd8-20020a17090698c800b0072b408ff499mr1408014ejb.736.1659067463154; Thu, 28 Jul 2022 21:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659067463; cv=none; d=google.com; s=arc-20160816; b=esE9djza5D1rZtrqhXvBRA6mtlBesnCoZLGHNkuOw7W4tv0lGOUnKXgFtaRIEcB6cF uVEXUb8re3Ae0UI9VZ+CdHQX+m1nDwJdUgzLs89MWoOUEyaxCZxio58TySyMP2kPm3Nt K67eYAx4OTX4zf/0oRa4uN+4t02YmjhujEzqc9M/GK6BFoD7uOREOyB7EUNZ8mbPyWzq tNps0PhT+Llq26+5ikN5dxP6OH6/Iq2vOJ1kVsQ1PH6mqgxKY7RXQvsxUXPrfIintyBG VSZSCgrfKV9YWi39Kl/y80BzgHGqiwvTRdpZrF4If81af5ytTVlwRVsyknVb2T/cfaXn entg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id :mime-version:in-reply-to:references:cc:to:subject:from:date :dkim-signature; bh=sMdqEEPrHyojVR3jjUYElu1vGrljFd+G9mVLZ0W5ELQ=; b=Hk2aUE6DykgRsCKlNpWyy1vY1GV0cj+GLYq7YaWeBTR1arQU+3B8PJNE/DLZ1w89R6 EdwAkSovQYm2QgMUFIW180D88UGp2cfSRelrCNYJojMgfrEELgZevyf3AeOGWDKWRV5K w3xaDp+EIhiYhIeLjG3XX+eZtevP6MiWDhIES/ybe7RFJmnsM3L4IxnbgyInscPeBDFa 4GCqmVOi71r7UgEC7YM2E4rJojupZbubL62azh8SrHgE1c+THP4uf5IKGK2U/6JDaxxx x+LZqbgMxu0JfxLbvrFTEgKRR+Hv1NXLR/dwgwIdjb38pHy/otXfHNmqOwgp1cdXaRAY wSaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Kslok9sJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9-20020a170906244900b0072aeded8896si1928462ejb.396.2022.07.28.21.03.58; Thu, 28 Jul 2022 21:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Kslok9sJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233813AbiG2DuB (ORCPT + 99 others); Thu, 28 Jul 2022 23:50:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbiG2Dt6 (ORCPT ); Thu, 28 Jul 2022 23:49:58 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCF817C1BC for ; Thu, 28 Jul 2022 20:49:55 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d10so3566658pfd.9 for ; Thu, 28 Jul 2022 20:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:subject:to:cc:references:in-reply-to:mime-version :message-id:content-transfer-encoding; bh=sMdqEEPrHyojVR3jjUYElu1vGrljFd+G9mVLZ0W5ELQ=; b=Kslok9sJJ8LMwzfbMBrKbAUKHGaPv7eVJP/zCA0WlWpgL9CD9VrL9fx7Xxc8sMs2gt XMBk5ATiKsaNGYdvaF4Z8Lp718Ke46Ab0Wdb5py0EGM870pG75ysTRC66cllR2Sr1bs/ 4+5VViAKUSatsGZhbPxofuXqZ+eqL0p4da2jjgov6+kG11VLMH7jRM3+byYnvjK7yLOq o/Ie0dzaREJ//TNefIB7IqYEYNKox5YMzaJYa9XNnk79qy/iox7g8NTzDg+Hf6wIywYt UryIrWHzGWQ1KQZiXoEFMHaaJmf2Gk4Sgjk8pEhYn5Mt+8MZ/snjdZqTnXtIzzvqS96p ORdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:message-id:content-transfer-encoding; bh=sMdqEEPrHyojVR3jjUYElu1vGrljFd+G9mVLZ0W5ELQ=; b=OccGdhTx+Nno7Na+Tt0Z/56vHbVqvZXuo44Yi/U+MSxKTEJ+qXvbQuICNrCiy5/NsD 2uDmBNKLSVgHpoUlXR8TNFnK2LYnVtbzhMZI/FTlBwydZR+fUci+XnBPDiQ//sn3qka3 CfhOOFkhDx2ib3ERpWqDOTXlUxXJvXVq/KwC6atDgLNqyJ7jgWu8C5nJfoJheUW8lmAB jTp7jmkJ0Fb/tNId+Btjker09p3rqKIv7HUeBjr7kiCuAFuJ2iE5JJdB/5S2bCdepfia kc5gur41XoB6bNuvlc6JTfQBGqMJtlhwsjkCaR9IA9j1T7LcGoEwNM/wicDMJqPKUiyy +2mw== X-Gm-Message-State: AJIora8itoa9TEwTLuwQdskeq7fIZCvVLXl4gPEOXKdc8pJKPUMIKruq Nvrl/p8tjF1ewxDZjFyYwzo= X-Received: by 2002:aa7:8ec2:0:b0:52a:d4f5:20b with SMTP id b2-20020aa78ec2000000b0052ad4f5020bmr1540341pfr.71.1659066594998; Thu, 28 Jul 2022 20:49:54 -0700 (PDT) Received: from localhost (193-116-97-43.tpgi.com.au. [193.116.97.43]) by smtp.gmail.com with ESMTPSA id s18-20020a170902c65200b0016d83ed0a2csm2184117pls.80.2022.07.28.20.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 20:49:54 -0700 (PDT) Date: Fri, 29 Jul 2022 13:49:48 +1000 From: Nicholas Piggin Subject: Re: [PATCH v2 06/12] locking/qspinlock: merge qspinlock_paravirt.h into qspinlock.c To: kernel test robot Cc: Boqun Feng , kbuild-all@lists.01.org, "linux-kernel @ vger . kernel . org" , llvm@lists.linux.dev, Waiman Long , Ingo Molnar , Will Deacon References: <20220713070704.308394-7-npiggin@gmail.com> <202207142228.8Z4o18rM-lkp@intel.com> In-Reply-To: <202207142228.8Z4o18rM-lkp@intel.com> MIME-Version: 1.0 Message-Id: <1659066516.mc10tbo8hk.astroid@bobo.none> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Excerpts from kernel test robot's message of July 15, 2022 12:16 am: > Hi Nicholas, >=20 > I love your patch! Perhaps something to improve: >=20 > [auto build test WARNING on tip/locking/core] > [also build test WARNING on tip/x86/core powerpc/next linus/master v5.19-= rc6 next-20220714] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] >=20 > url: https://github.com/intel-lab-lkp/linux/commits/Nicholas-Piggin/lo= cking-qspinlock-simplify-code-generation/20220713-151009 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git eae6d= 58d67d9739be5f7ae2dbead1d0ef6528243 > config: i386-randconfig-a004 > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61= b9c556267086ef9b743a0b57df302eef831b) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/91668ee1ed703d7ea= 84e314136dc732da05ec9e7 > git remote add linux-review https://github.com/intel-lab-lkp/linu= x > git fetch --no-tags linux-review Nicholas-Piggin/locking-qspinloc= k-simplify-code-generation/20220713-151009 > git checkout 91668ee1ed703d7ea84e314136dc732da05ec9e7 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W= =3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash kernel/locking/ >=20 > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot >=20 > All warnings (new ones prefixed by >>): >=20 > In file included from kernel/locking/qspinlock.c:29: > kernel/locking/qspinlock_stat.h:36:9: warning: no previous prototype f= or function 'lockevent_read' [-Wmissing-prototypes] > ssize_t lockevent_read(struct file *file, char __user *user_buf, > ^ > kernel/locking/qspinlock_stat.h:36:1: note: declare 'static' if the fu= nction is not intended to be used outside of this translation unit > ssize_t lockevent_read(struct file *file, char __user *user_buf, > ^ > static=20 >>> kernel/locking/qspinlock.c:705:1: warning: no previous prototype for fu= nction '__pv_queued_spin_unlock_slowpath' [-Wmissing-prototypes] > __pv_queued_spin_unlock_slowpath(struct qspinlock *lock, u8 locked) > ^ > kernel/locking/qspinlock.c:704:11: note: declare 'static' if the funct= ion is not intended to be used outside of this translation unit > __visible void > ^ > static=20 > 2 warnings generated. These aren't new warnings btw, just existing W=3D1 warnings in code that=20 moved. Thanks, Nick