Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1126927iog; Mon, 13 Jun 2022 22:40:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vnmFQUSCEk3Ppfu1ZqIZq1+rcGoBzzx874dYBbiumER5wwsSgzsZsgT1E93DEa839GO/YZ X-Received: by 2002:a17:903:186:b0:167:6d8c:68ce with SMTP id z6-20020a170903018600b001676d8c68cemr2750435plg.153.1655185230361; Mon, 13 Jun 2022 22:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655185230; cv=none; d=google.com; s=arc-20160816; b=Pfc3fXUoMUlFv0XFkJ7+0KKNSoc50pJBmIq5gGOFXVky8tOuDgTvHGaq0t7zblgDSe v3JXcsBjkderTCh+HyyaUP7kShUUquHWlMWWK8HQJK+mMtZPO9Pm82F0+twzPm4LwcXi Czu2B9KWyNCVI2gol6y7TVAgnkQ0GSoQ+u7EkUkmHQMk/VJTGYUl+INirGghAYtWmjh/ fE0XuE8CRdCbMFMmhRZwMY4Xoimn8pJ+IuHPbCKL7RZdW8cpvZy2Bru6rEVtFy/6tFH+ W4kuBGVEKJ6j4A1JwKGQXGaY7QqkToyFD8l5yyUfilih+CnXvsFH669yKuDnvlO3HNDq LJ2g== 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=uFbpXTETbEpA/tCdVVgLdYAoxyYXYwhg66dpn13NVNw=; b=wwQ2o7PIe1n3dOsELDaTob5CodvH8npfWTLdeOgHQoPe2Li7M20BCK0eAUncI+Taz5 digLiBARlL/BZy7LRjDECDRcPVMF1LVswXLcazxcTnlkM4giSep7/adWgEPRfat11Mjt +PWdmiVG3RM+HoDzpH73m7Mk4QUz3rUBMjxnqrAn7/uuUhP1nu7XWt43SSy3swWWTpT+ ML+AwmHfo3dFUqNoGgD4z0ne1Feyq4Qi/jKmd5iQbCF2H9aYa+UQYcolIawqQJ+3IEGd mSKvVaEAUi5mG/79eBcu5L+8quZ1DTWz4ydtSrPOIUIBP9G0SBkBxB6UUa4VOaj2WQBI /CSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lc8qOuCG; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v11-20020a63bf0b000000b00404fd2138adsi12328032pgf.445.2022.06.13.22.40.18; Mon, 13 Jun 2022 22:40:30 -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=@intel.com header.s=Intel header.b=lc8qOuCG; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235262AbiFNF1V (ORCPT + 99 others); Tue, 14 Jun 2022 01:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232427AbiFNF1T (ORCPT ); Tue, 14 Jun 2022 01:27:19 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C422275C0 for ; Mon, 13 Jun 2022 22:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655184438; x=1686720438; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UIKKOvGGbRq048qqE9SuNqIUY0R6M4fza8zcb3jNt94=; b=lc8qOuCGEkz+JkLZWrDzpWacwdTJqv0D+cYYeWleS1MRLNk9ZmmAMKP1 I9muzaDODY2z56PnkN58H1DGQ1boX+A02RFId+i/00lH7cbRLuYJXPywB qSpRFbPouBxjJDPu/34MrHq++c3yqlOqQzbSSpj5PmastElXKsDPXQMN5 tL/IrsboCdn2o+bxmi3H0Q2Fba1wm6Eozi1+MJIsvlPKN8pqudxjHFTVp sDkCfADAo31K3VnZBx8z3JDZ1LMJsVa/WkRY2Iq3i7t1Gqfazokqggk2y U1uEF14SUSs1BRIwPkAaKZlK1aydNpav69H1jwRVVfw4dqMPRhzHNcslh A==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="261542643" X-IronPort-AV: E=Sophos;i="5.91,299,1647327600"; d="scan'208";a="261542643" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2022 22:27:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,299,1647327600"; d="scan'208";a="612076247" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 13 Jun 2022 22:27:15 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o0z58-000LWF-H3; Tue, 14 Jun 2022 05:27:14 +0000 Date: Tue, 14 Jun 2022 13:27:01 +0800 From: kernel test robot To: jingyuwang , akpm@linux-foundation.org, rostedt@goodmis.org, mhiramat@kernel.org, vbabka@suse.cz, ahalaney@redhat.com, Jason@zx2c4.com, mark-pk.tsai@mediatek.com Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, jingyuwang Subject: Re: [PATCH] Fix the following checkpatch error: Message-ID: <202206141308.ushsZN6C-lkp@intel.com> References: <20220613202210.31759-1-jingyuwang_vip@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220613202210.31759-1-jingyuwang_vip@163.com> X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi jingyuwang, Thank you for the patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v5.19-rc2 next-20220610] [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/jingyuwang/Fix-the-following-checkpatch-error/20220614-050258 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: s390-randconfig-r044-20220613 (https://download.01.org/0day-ci/archive/20220614/202206141308.ushsZN6C-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.3.0 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 # https://github.com/intel-lab-lkp/linux/commit/35742a839670fa8937c7040160e16b7009b2a9ae git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review jingyuwang/Fix-the-following-checkpatch-error/20220614-050258 git checkout 35742a839670fa8937c7040160e16b7009b2a9ae # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): init/main.c:773:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes] 773 | void __init __weak arch_post_acpi_subsys_init(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init/main.c:785:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes] 785 | void __init __weak mem_encrypt_init(void) { } | ^~~~~~~~~~~~~~~~ init/main.c:787:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes] 787 | void __init __weak poking_init(void) { } | ^~~~~~~~~~~ In file included from include/linux/printk.h:6, from include/asm-generic/bug.h:22, from arch/s390/include/asm/bug.h:69, from include/linux/bug.h:5, from include/linux/thread_info.h:13, from arch/s390/include/asm/preempt.h:6, from include/linux/preempt.h:78, from arch/s390/include/asm/timex.h:13, from include/linux/timex.h:67, from include/linux/time32.h:13, from include/linux/time.h:60, from include/linux/stat.h:19, from include/linux/module.h:13, from init/main.c:17: >> include/linux/init.h:316:27: error: '__setup_str_set_debug_rodata' causes a section type conflict with 'initcall_level_names' 316 | static const char __setup_str_##unique_id[] __initconst \ | ^~~~~~~~~~~~ include/linux/init.h:329:9: note: in expansion of macro '__setup_param' 329 | __setup_param(str, fn, fn, 0) | ^~~~~~~~~~~~~ init/main.c:1461:1: note: in expansion of macro '__setup' 1461 | __setup("rodata=", set_debug_rodata); | ^~~~~~~ init/main.c:1344:20: note: 'initcall_level_names' was declared here 1344 | static const char *initcall_level_names[] __initconst = { | ^~~~~~~~~~~~~~~~~~~~ vim +316 include/linux/init.h ^1da177e4c3f415 Linus Torvalds 2005-04-16 308 ^1da177e4c3f415 Linus Torvalds 2005-04-16 309 /* ^1da177e4c3f415 Linus Torvalds 2005-04-16 310 * Only for really core code. See moduleparam.h for the normal way. ^1da177e4c3f415 Linus Torvalds 2005-04-16 311 * ^1da177e4c3f415 Linus Torvalds 2005-04-16 312 * Force the alignment so the compiler doesn't space elements of the ^1da177e4c3f415 Linus Torvalds 2005-04-16 313 * obs_kernel_param "array" too far apart in .init.setup. ^1da177e4c3f415 Linus Torvalds 2005-04-16 314 */ ^1da177e4c3f415 Linus Torvalds 2005-04-16 315 #define __setup_param(str, unique_id, fn, early) \ fd6c3a8dc44329d Jan Beulich 2009-03-12 @316 static const char __setup_str_##unique_id[] __initconst \ fd6c3a8dc44329d Jan Beulich 2009-03-12 317 __aligned(1) = str; \ ^1da177e4c3f415 Linus Torvalds 2005-04-16 318 static struct obs_kernel_param __setup_##unique_id \ 33def8498fdde18 Joe Perches 2020-10-21 319 __used __section(".init.setup") \ 147ad605dc12c51 Johan Hovold 2020-11-23 320 __aligned(__alignof__(struct obs_kernel_param)) \ ^1da177e4c3f415 Linus Torvalds 2005-04-16 321 = { __setup_str_##unique_id, fn, early } ^1da177e4c3f415 Linus Torvalds 2005-04-16 322 -- 0-DAY CI Kernel Test Service https://01.org/lkp