public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: tangmeng <tangmeng@uniontech.com>,
	James.Bottomley@HansenPartnership.com, deller@gmx.de,
	mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com
Cc: kbuild-all@lists.01.org, linux-parisc@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	nizhen@uniontech.com, zhanglianjie@uniontech.com,
	nixiaoming@huawei.com, tangmeng <tangmeng@uniontech.com>
Subject: Re: [PATCH 01/11] kernel/parisc: move soft-power sysctl to its own file
Date: Mon, 21 Feb 2022 13:26:49 +0800	[thread overview]
Message-ID: <202202211342.EcgL15uq-lkp@intel.com> (raw)
In-Reply-To: <20220220060000.13079-1-tangmeng@uniontech.com>

Hi tangmeng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on hnaz-mm/master]
[also build test ERROR on deller-parisc/for-next rostedt-trace/for-next linus/master v5.17-rc5 next-20220217]
[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/0day-ci/linux/commits/tangmeng/kernel-parisc-move-soft-power-sysctl-to-its-own-file/20220220-174553
base:   https://github.com/hnaz/linux-mm master
config: parisc-randconfig-s031-20220220 (https://download.01.org/0day-ci/archive/20220221/202202211342.EcgL15uq-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/0day-ci/linux/commit/fc2d0c0a37a34fd9c89e5519f2aea93de690c2ce
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review tangmeng/kernel-parisc-move-soft-power-sysctl-to-its-own-file/20220220-174553
        git checkout fc2d0c0a37a34fd9c89e5519f2aea93de690c2ce
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash drivers/parisc/ mm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/parisc/power.c:196:12: error: static declaration of 'pwrsw_enabled' follows non-static declaration
     196 | static int pwrsw_enabled;
         |            ^~~~~~~~~~~~~
   drivers/parisc/power.c:112:5: note: previous definition of 'pwrsw_enabled' with type 'int'
     112 | int pwrsw_enabled __read_mostly = 1;
         |     ^~~~~~~~~~~~~


vim +/pwrsw_enabled +196 drivers/parisc/power.c

   195	
 > 196	static int pwrsw_enabled;
   197	#ifdef CONFIG_SYSCTL
   198	static struct ctl_table kern_parisc_power_table[] = {
   199		{
   200			.procname       = "soft-power",
   201			.data           = &pwrsw_enabled,
   202			.maxlen         = sizeof(int),
   203			.mode           = 0644,
   204			.proc_handler   = proc_dointvec,
   205		},
   206		{ }
   207	};
   208	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

      reply	other threads:[~2022-02-21  5:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-20  6:00 [PATCH 01/11] kernel/parisc: move soft-power sysctl to its own file tangmeng
2022-02-21  5:26 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202202211342.EcgL15uq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=deller@gmx.de \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=nixiaoming@huawei.com \
    --cc=nizhen@uniontech.com \
    --cc=tangmeng@uniontech.com \
    --cc=yzaikin@google.com \
    --cc=zhanglianjie@uniontech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox