Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp75172iof; Sun, 5 Jun 2022 21:34:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe0np/efiFsEzGn+txHG2O/iQSu9OmeB4hCi0qfD2mzs4tGpeApX7Hr87rArOoK8c/6YSe X-Received: by 2002:a17:902:7c0e:b0:161:f9f6:be5b with SMTP id x14-20020a1709027c0e00b00161f9f6be5bmr21930033pll.156.1654490098249; Sun, 05 Jun 2022 21:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654490098; cv=none; d=google.com; s=arc-20160816; b=GFTlINpUEE2MCa68kAErwpmb6gj0MwhS4+iaXWn+XNZpY1vqEJ6fpZnql8ZV3hiRUK DnSLy/kROlJFzZAQ4gLjPWKs8oJ82ZXK40BlJmT6hRSA75brmKOcjrhIxvsfMHRmeOVe Z7ThlZfrneJDmnjVevKvMAGK7P1Qq2Z6NWMa0DwnmuVP7+/cNycfTAPu342QruI+TeoX ohNlr4ErH/dwwZc9/goXtos3vUfEAggiO1gd4nF7FtkhFSVRJzuP0hf9kXffxHLFE7BT OPBvCYTgLgwzAeKtUJ9uQaIy2wCqJPS66QRM8feeapc5lffykO9bV1Tr9ZtpxpRe2M9/ rZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KLiOSOJpnhSD/ocuyosfHJHJXrbFea3eKbiv5+mfhxU=; b=TMrL+PJTOxc75W+Vcw5AgxyVd08O78WejsAAg6A7RYdtoIuQzrEqxAIJpqMU/hj2FB FQQ80E1Uh9JPPwl00jeV7+6cG+/Jp/fjmB3b5/4jzqTpm3fQ4Rzj13UtZ8hByY0WCaGk idpEmJ647TalFr1SR4mbBUl5IAQ3kNPnRMlTK2JEktPtKD4arXEv9h56lWoOSmFq4ED8 iQVrRysTlWRvpBYn2pXs/LTT8OLxkvfMqMwcvQoZ5lhoCMqfhBB8oEtB6l5SpXS/ffbJ Aq3pkYFaaM+6zEQAMiRcZtd2zdbneOX/y52Xa6ogEu0GLrQtKRY6/6dmbajmRkHQ68V+ /qIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BXvT9nAm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z13-20020a170902d54d00b0015ed92d19adsi18725552plf.42.2022.06.05.21.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:34:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BXvT9nAm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5B1D8674C4; Sun, 5 Jun 2022 21:00:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351665AbiFEWOW (ORCPT + 99 others); Sun, 5 Jun 2022 18:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351677AbiFEWOJ (ORCPT ); Sun, 5 Jun 2022 18:14:09 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E8C4EA2D for ; Sun, 5 Jun 2022 15:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654467248; x=1686003248; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EKQ0+7jd+OvQFlbbm3wKgvXtJS/7dqwcMlJUjNmUDHg=; b=BXvT9nAmcy6EQQcPhJXjRrgt0zOfrVqOsv6NdIYrJ/RJkIpm+U2M8oV1 /zCJQf2RQyvVMyUy+i2uzBns5+Sz2tRszNSoLUzd/bCBLI7Bruzz/jdg6 zBI6TUKIM1BT8xUbtYj306yU8n8ObwtfMrB402NW9IOeGl4LPNDPQZMFY 2dYu+SVfbDrT4f+neRtyOXMJEOXEJsKe92mLbHf8kYoAylOgtzQ9RnGo2 m3HfLzfalemzaPgAN2AR77lob5SwXNO83l96DtHhtOyL7eo80vBgCOVlR E6moPuCYyBiu2u4GVM6MOWoNlVpGIDYyf8tHspVwr7YFK7BYR44mZXVtt Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276638311" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276638311" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.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-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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