[PATCH] st: allow debug output to be enabled or disabled via sysfs

2015-10-11 Thread Seymour, Shane M
Change st driver to allow enabling or disabling debug output via sysfs file /sys/bus/scsi/drivers/st/debug_flag. Previously the only way to enable debug output was: 1. loading the driver with the module parameter debug_flag=1 2. an ioctl call (this method was also the only way to dynamically dis

[PATCH] libfc: correct function name in comment

2015-10-11 Thread Sebastian Herbszt
Use the correct function name in kernel-doc comment. Signed-off-by: Sebastian Herbszt Acked-by: Vasu Dev --- diff -U 5 -rp a/drivers/scsi/libfc/fc_npiv.c b/drivers/scsi/libfc/fc_npiv.c --- a/drivers/scsi/libfc/fc_npiv.c 2014-09-03 19:30:11.760273300 +0200 +++ b/drivers/scsi/libfc/fc_npiv.c

Re: [PATCH v3] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread Arnd Bergmann
On Sunday 11 October 2015 11:02:34 yga...@codeaurora.org wrote: > > > > no need for the #ifdef here. > > in include\scsi\scsi_host.h > the hook - compat_ioctl is defined inside #ifdef CONFIG_COMPAT > > #ifdef CONFIG_COMPAT > int (* compat_ioctl)(struct scsi_device *dev, int cmd, void __us

Re: [PATCH v4] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread Arnd Bergmann
On Sunday 11 October 2015 14:22:12 Yaniv Gardi wrote: > * @cookie: cookie data > @@ -5106,6 +5308,10 @@ static struct scsi_host_template > ufshcd_driver_template = { > .eh_device_reset_handler = ufshcd_eh_device_reset_handler, > .eh_host_reset_handler = ufshcd_eh_host_reset_han

[PATCH v4] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread Yaniv Gardi
This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev Raviv Signed-off-by: Noa Rubens Signed-off-by: Raviv Shvili Signed-off-by: Gilad Broner Signed-o

Re: [PATCH v3] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread ygardi
thanks Arnd for the comment. V4 is on its way > On Thursday 08 October 2015 14:09:24 Yaniv Gardi wrote: >> This patch exposes the ioctl interface for UFS driver via SCSI device >> ioctl interface. As of now UFS driver would provide the ioctl for query >> interface to connected UFS device. >> >> S

[GIT PULL] SCSI fixes for 4.3-rc4

2015-10-11 Thread James Bottomley
This is a set of three bug fixes, two of which are regressions from recent updates (the 3ware one from 4.1 and the device handler fixes from 4.2). The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Ariel Nahum (1): l