mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Peng Hao <peng.hao2@zte.com.cn>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org, arnd@arndb.de,
	andy.shevchenko@gmail.com, linux-kernel@vger.kernel.org,
	Peng Hao <peng.hao2@zte.com.cn>
Subject: Re: [PATCH V2 2/3]  misc/pvpanic : add pci interface for pvpanic
Date: Mon, 17 Dec 2018 17:21:51 +0800	[thread overview]
Message-ID: <201812171759.uNQokkPG%fengguang.wu@intel.com> (raw)
In-Reply-To: <1545012552-16951-2-git-send-email-peng.hao2@zte.com.cn>

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

Hi Peng,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on char-misc/char-misc-testing]
[cannot apply to v4.20-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Peng-Hao/misc-pvpanic-return-0-for-empty-body-register-function/20181217-151203
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=ia64 

All warnings (new ones prefixed by >>):

   drivers//misc/pvpanic.c: In function 'pvpanic_mmio_init':
>> drivers//misc/pvpanic.c:254:6: warning: 'r1' is used uninitialized in this function [-Wuninitialized]
     if (r1 && r2) /* all drivers register failed */
         ^~

vim +/r1 +254 drivers//misc/pvpanic.c

   244	
   245	static int __init pvpanic_mmio_init(void)
   246	{
   247		int r1, r2;
   248	
   249		if (acpi_disabled)
   250			r1 = platform_driver_register(&pvpanic_mmio_driver);
   251		else
   252			r2 = pvpanic_register_acpi_driver();
   253		r2 = pvpanic_register_pci_drvier();
 > 254		if (r1 && r2) /* all drivers register failed */
   255			return 1;
   256		else
   257			return 0;
   258	}
   259	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 52387 bytes --]

  reply	other threads:[~2018-12-17  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17  2:09 [PATCH V2 1/3] misc/pvpanic: return 0 for empty body register function Peng Hao
2018-12-17  2:09 ` [PATCH V2 2/3] misc/pvpanic : add pci interface for pvpanic Peng Hao
2018-12-17  9:21   ` kbuild test robot [this message]
2018-12-17  2:09 ` [PATCH V2 3/3] misc/pvpanic : add pci dependency in Kconfig Peng Hao

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=201812171759.uNQokkPG%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peng.hao2@zte.com.cn \
    /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

all inboxes | Powered by JetHome®