Re: [PATCH 31/36] scsi: rescan VPD attributes

2015-09-29 Thread kbuild test robot
Hi Hannes, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/scsi/scsi.c:888:3-8: WARNING: NULL check before freeing functions >> like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is

Re: [PATCH 31/36] scsi: rescan VPD attributes

2015-09-29 Thread kbuild test robot
Hi Hannes, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/scsi/scsi_lib.c:3181:20: sparse: incompati

[PATCH 31/36] scsi: rescan VPD attributes

2015-09-29 Thread Hannes Reinecke
This patch implements a VPD page rescan if the 'rescan' sysfs attribute is triggered. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi.c| 20 +--- drivers/scsi/scsi_lib.c| 27 ++- drivers/scsi/scsi_scan.c | 4 drivers/scsi/scsi_sysf