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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C30E0C433EF for ; Sun, 5 Jun 2022 22:14:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18E578D0003; Sun, 5 Jun 2022 18:14:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 13D9E8D0001; Sun, 5 Jun 2022 18:14:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F1E2D8D0003; Sun, 5 Jun 2022 18:14:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id DF5D78D0001 for ; Sun, 5 Jun 2022 18:14:05 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id AE2621204C5 for ; Sun, 5 Jun 2022 22:14:05 +0000 (UTC) X-FDA: 79545586050.18.82C7D5F Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf14.hostedemail.com (Postfix) with ESMTP id 39ACE100040 for ; Sun, 5 Jun 2022 22:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654467243; x=1686003243; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EKQ0+7jd+OvQFlbbm3wKgvXtJS/7dqwcMlJUjNmUDHg=; b=TefuXN7PxjxH1vryGHaLtwsIRJ3vuEqgtA1wxASjI9hhQqQC+iO+c013 tlZtEiulDrJ3r+N22rf+SAspRnlbJhxm3k3lUUlT43RPdfy6R2wCgTbe0 fQhlUCTrBfdD9wnituglTFmMKmZwCyopUMM3zQuTZ4jPKbbZvvTztW4XJ ChhJ1E6sTmS+yVpITg6JRBrpLa1CSZHzKxNiY17QmGe9lj2n53XdQ5Jet WiqKFtVu5w9LTII1faXa8rlSGlOWVZ/OFS7Myhx6HwDgUdn6BvkRQQx/B bDcAEk8ryZsSt0ULGLjp/Sg5x4bJD5SvltDgyYW6pOi9VR7W8h2y2xFuE w==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276692921" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276692921" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 15:14:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="635285806" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 05 Jun 2022 15:13:59 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nxyVS-000CI8-Dx; Sun, 05 Jun 2022 22:13:58 +0000 Date: Mon, 6 Jun 2022 06:13:11 +0800 From: kernel test robot To: Andy Shevchenko , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Andrew Morton , Linux Memory Management List Subject: Re: [PATCH v1 1/1] kernel.h: Move sysfs related macro to sysfs.h Message-ID: <202206060518.OTKHr5Mp-lkp@intel.com> References: <20220603172101.49950-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220603172101.49950-1-andriy.shevchenko@linux.intel.com> X-Rspamd-Queue-Id: 39ACE100040 X-Stat-Signature: rzonsh68x6778h14iqyff57g1eziexoo X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TefuXN7P; spf=none (imf14.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.65) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam08 X-HE-Tag: 1654467241-160388 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: Hi Andy, I love your patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v5.18 next-20220603] [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] url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/kernel-h-Move-sysfs-related-macro-to-sysfs-h/20220606-004344 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: s390-alldefconfig (https://download.01.org/0day-ci/archive/20220606/202206060518.OTKHr5Mp-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 416a5080d89066029f9889dc23f94de47c2fa895) 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://github.com/intel-lab-lkp/linux/commit/0fad3ce70c6f6736d3913e3238642a056f70b123 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Andy-Shevchenko/kernel-h-Move-sysfs-related-macro-to-sysfs-h/20220606-004344 git checkout 0fad3ce70c6f6736d3913e3238642a056f70b123 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash arch/s390/crypto/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arch/s390/crypto/arch_random.c:145:1: error: call to undeclared function 'VERIFY_OCTAL_PERMISSIONS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] module_param_named(rndlong_drbg_reseed, rndlong_drbg_reseed, int, 0600); ^ include/linux/moduleparam.h:151:2: note: expanded from macro 'module_param_named' module_param_cb(name, ¶m_ops_##type, &value, perm); \ ^ include/linux/moduleparam.h:176:2: note: expanded from macro 'module_param_cb' __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0) ^ include/linux/moduleparam.h:294:6: note: expanded from macro '__module_param_call' VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } } ^ >> arch/s390/crypto/arch_random.c:145:1: error: initializer element is not a compile-time constant module_param_named(rndlong_drbg_reseed, rndlong_drbg_reseed, int, 0600); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/moduleparam.h:151:2: note: expanded from macro 'module_param_named' module_param_cb(name, ¶m_ops_##type, &value, perm); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/moduleparam.h:176:2: note: expanded from macro 'module_param_cb' __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/moduleparam.h:294:6: note: expanded from macro '__module_param_call' VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. vim +/VERIFY_OCTAL_PERMISSIONS +145 arch/s390/crypto/arch_random.c ff98cc986ae883 Harald Freudenberger 2020-12-03 143 ff98cc986ae883 Harald Freudenberger 2020-12-03 144 static int rndlong_drbg_reseed = 256; ff98cc986ae883 Harald Freudenberger 2020-12-03 @145 module_param_named(rndlong_drbg_reseed, rndlong_drbg_reseed, int, 0600); ff98cc986ae883 Harald Freudenberger 2020-12-03 146 MODULE_PARM_DESC(rndlong_drbg_reseed, "s390 arch_get_random_long() drbg reseed"); ff98cc986ae883 Harald Freudenberger 2020-12-03 147 -- 0-DAY CI Kernel Test Service https://01.org/lkp