Re: [PATCHv5 2/5] scsi: Export blacklist flags to sysfs

2017-09-26 Thread Bart Van Assche
On Fri, 2017-09-22 at 08:04 +0200, Hannes Reinecke wrote: > +static ssize_t > +sdev_show_blacklist(struct device *dev, struct device_attribute *attr, > + char *buf) > +{ Please make this function accept the output buffer size as fourth argument. > + if (len) > +

Re: [PATCHv5 2/5] scsi: Export blacklist flags to sysfs

2017-09-23 Thread kbuild test robot
Hi Hannes, [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on v4.14-rc1 next-20170922] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCHv5 2/5] scsi: Export blacklist flags to sysfs

2017-09-22 Thread Hannes Reinecke
Each scsi device is scanned according to the found blacklist flags, but this information is never presented to sysfs. This makes it quite hard to figure out if blacklisting worked as expected. With this patch we're exporting an additional attribute 'blacklist' containing the blacklist flags for