From: kbuild test robot <lkp@intel.com>
To: Vasundhara Gurunath <vasundhara.gurunath@hpe.com>
Cc: kbuild-all@01.org, jejb@linux.vnet.ibm.com,
martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org, jasminder.kaur@hpe.com,
paulose.kuriakose.arackal@hpe.com,
Vasundhara Gurunath <vasundhara.gurunath@hpe.com>
Subject: Re: [PATCH] scsi:Prevent deletion of SCSI block device in use
Date: Mon, 22 Aug 2016 23:36:02 +0800 [thread overview]
Message-ID: <201608222332.HoGc5w1F%fengguang.wu@intel.com> (raw)
In-Reply-To: <1471603011-13590-1-git-send-email-vasundhara.gurunath@hpe.com>
[-- Attachment #1: Type: text/plain, Size: 2071 bytes --]
Hi Vasundhara,
[auto build test WARNING on scsi/for-next]
[also build test WARNING on v4.8-rc3 next-20160822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Vasundhara-Gurunath/scsi-Prevent-deletion-of-SCSI-block-device-in-use/20160819-184126
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: x86_64-randconfig-s2-08191801 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/scsi/scsi_sysfs.c: In function 'sdev_store_delete':
>> drivers/scsi/scsi_sysfs.c:744: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
vim +744 drivers/scsi/scsi_sysfs.c
728 sdev->delete_msg_buf =
729 kmalloc(128, GFP_KERNEL);
730 memset(sdev->delete_msg_buf, 0, 128);
731 }
732 do_gettimeofday(&tv);
733 time_to_tm(tv.tv_sec, 0, &tms);
734 sprintf(sdev->delete_msg_buf,
735 "Last delete attempt: %d:%d:%d %02d:%02d\n"
736 "Open Count : %d\n"
737 "IO Active Count : %d\n"
738 "IO Done Count : %d\n",
739 tms.tm_mday, tms.tm_mon + 1,
740 tms.tm_year + 1900,
741 tms.tm_hour, tms.tm_min,
742 sdev->usage_count,
743 sdev->iorequest_cnt.counter,
> 744 sdev->iodone_cnt.counter);
745
746 return count;
747 }
748 }
749
750 if (device_remove_file_self(dev, attr))
751 scsi_remove_device(to_scsi_device(dev));
752 return count;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28829 bytes --]
prev parent reply other threads:[~2016-08-22 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 10:36 Vasundhara Gurunath
2016-08-22 15:36 ` kbuild 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=201608222332.HoGc5w1F%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=jasminder.kaur@hpe.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=paulose.kuriakose.arackal@hpe.com \
--cc=vasundhara.gurunath@hpe.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
all inboxes | Powered by JetHome®