linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Dexuan Cui <decui@microsoft.com>
Cc: kbuild-all@01.org, KY Srinivasan <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Stephen Hemminger <sthemmin@microsoft.com>,
	"sashal@kernel.org" <sashal@kernel.org>,
	"jejb@linux.ibm.com" <jejb@linux.ibm.com>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Michael Kelley <mikelley@microsoft.com>,
	Dexuan Cui <decui@microsoft.com>
Subject: Re: [PATCH] scsi: storvsc: Add the support of hibernation
Date: Fri, 13 Sep 2019 04:54:16 +0800	[thread overview]
Message-ID: <201909130413.j9CHsgZl%lkp@intel.com> (raw)
In-Reply-To: <1568244905-66625-1-git-send-email-decui@microsoft.com>

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

Hi Dexuan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc8 next-20190904]
[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/Dexuan-Cui/scsi-storvsc-Add-the-support-of-hibernation/20190912-234223
config: i386-randconfig-b004-201936 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All error/warnings (new ones prefixed by >>):

>> drivers//scsi/storvsc_drv.c:1982:3: error: 'struct hv_driver' has no member named 'suspend'
     .suspend = storvsc_suspend,
      ^~~~~~~
>> drivers//scsi/storvsc_drv.c:1982:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .suspend = storvsc_suspend,
                ^~~~~~~~~~~~~~~
   drivers//scsi/storvsc_drv.c:1982:13: note: (near initialization for 'storvsc_drv.shutdown')
>> drivers//scsi/storvsc_drv.c:1983:3: error: 'struct hv_driver' has no member named 'resume'; did you mean 'remove'?
     .resume = storvsc_resume,
      ^~~~~~
      remove
>> drivers//scsi/storvsc_drv.c:1983:12: warning: excess elements in struct initializer
     .resume = storvsc_resume,
               ^~~~~~~~~~~~~~
   drivers//scsi/storvsc_drv.c:1983:12: note: (near initialization for 'storvsc_drv')
   cc1: some warnings being treated as errors

vim +1982 drivers//scsi/storvsc_drv.c

  1976	
  1977	static struct hv_driver storvsc_drv = {
  1978		.name = KBUILD_MODNAME,
  1979		.id_table = id_table,
  1980		.probe = storvsc_probe,
  1981		.remove = storvsc_remove,
> 1982		.suspend = storvsc_suspend,
> 1983		.resume = storvsc_resume,
  1984		.driver = {
  1985			.probe_type = PROBE_PREFER_ASYNCHRONOUS,
  1986		},
  1987	};
  1988	

---
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: 30335 bytes --]

  reply	other threads:[~2019-09-12 20:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 23:35 [PATCH] scsi: storvsc: Add the support of hibernation Dexuan Cui
2019-09-12 20:54 ` kbuild test robot [this message]
2019-09-12 23:08   ` Dexuan Cui
2019-09-13 22:47 ` Martin K. Petersen
2019-10-01 18:38   ` Sasha Levin

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=201909130413.j9CHsgZl%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=jejb@linux.ibm.com \
    --cc=kbuild-all@01.org \
    --cc=kys@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mikelley@microsoft.com \
    --cc=sashal@kernel.org \
    --cc=sthemmin@microsoft.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;
as well as URLs for NNTP newsgroup(s).