[PATCH] scsi: lpfc: replace init_timer by setup_timer

2017-03-03 Thread Jiri Slaby
Tomas Jasek <tomsi...@gmail.com> Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: James Smart <james.sm...@broadcom.com> Cc: Dick Kennedy <dick.kenn...@broadcom.com> Cc: "James E.J. Bottomley" <j...@linux.vnet.ibm.com> Cc: "Martin K. Petersen" <martin.

[PATCH 3.12 14/38] scsi: mpt3sas: Fix secure erase premature termination

2016-12-13 Thread Jiri Slaby
de> Signed-off-by: Martin K. Petersen <martin.peter...@oracle.com> Signed-off-by: Jiri Slaby <jsl...@suse.cz> --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt

[patch added to 3.12-stable] scsi: mpt3sas: Fix secure erase premature termination

2016-12-13 Thread Jiri Slaby
Reinecke <h...@suse.de> Signed-off-by: Martin K. Petersen <martin.peter...@oracle.com> Signed-off-by: Jiri Slaby <jsl...@suse.cz> --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/dri

[PATCH -resend 1/1] fcoe: use continue instead of goto+label

2015-10-06 Thread Jiri Slaby
There is a label pointing to the start of a while loop and a goto nested only in the loop. The goto jumps to the label in some cases. Replace the goto and the label by simple continue. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: Robert Love <robert.w.l...@intel.com> Cc: fco

[PATCH -resend_2 1/1] cxgbi: fix build with EXTRA_CFLAGS

2015-10-06 Thread Jiri Slaby
/ EXTRA_CFLAGS=-Wwhatever Use ccflags-y instead of EXTRA_CFLAGS. Signed-off-by: Jiri Slaby <jsl...@suse.cz> --- Sent on: Sep 10 Jun 9 drivers/scsi/cxgbi/cxgb3i/Kbuild | 2 +- drivers/scsi/cxgbi/cxgb4i/Kbuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi

[PATCH -resend 1/1] cxgbi: fix build with EXTRA_CFLAGS

2015-09-10 Thread Jiri Slaby
/ EXTRA_CFLAGS=-Wwhatever Use ccflags-y instead of EXTRA_CFLAGS. Signed-off-by: Jiri Slaby <jsl...@suse.cz> --- drivers/scsi/cxgbi/cxgb3i/Kbuild | 2 +- drivers/scsi/cxgbi/cxgb4i/Kbuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/cxgbi/cxgb3i/Kbuild b/driver

Re: [PATCH 1/1] ipr: Fix invalid array indexing for HRRQ

2015-06-25 Thread Jiri Slaby
On 06/25/2015, 03:44 PM, Brian King wrote: Fixes another signed / unsigned array indexing bug in the ipr driver. Could you be more specific? Specifically, I fail to see why you do +1 twice now. --- linux/drivers/scsi/ipr.c~ipr_hrrq_index_fix 2015-06-23 11:43:18.151741523 -0500 +++

[PATCH 1/1] cxgbi: fix build with EXTRA_CFLAGS

2015-06-09 Thread Jiri Slaby
/ EXTRA_CFLAGS=-Wwhatever Use ccflags-y instead of EXTRA_CFLAGS. Signed-off-by: Jiri Slaby jsl...@suse.cz --- drivers/scsi/cxgbi/cxgb3i/Kbuild | 2 +- drivers/scsi/cxgbi/cxgb4i/Kbuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/cxgbi/cxgb3i/Kbuild b/drivers/scsi

Re: Backport of a fix for HPSA (Disabling a disabled device problem during kdump) driver

2015-05-26 Thread Jiri Slaby
On 05/22/2015, 09:19 PM, Vinson Lee wrote: Please use the following list of kernels and patches for backporting. 3.18, 3.19 3b74729878 hpsa: turn off interrupts when kdump starts = 3.17 132aa220b4 hpsa: refine the pci enable/disable handling 859c75aba2 hpsa: add missing pci_set_master in

[PATCH -resend 1/1] bfs: bfad_worker cleanup

2015-02-27 Thread Jiri Slaby
This kthread is not loop at all due to break at the end of the loop. Make that function linear, with no while loop. And remove an unnecessary cast. Signed-off-by: Jiri Slaby jsl...@suse.cz --- drivers/scsi/bfa/bfad.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions

[PATCH 1/1] bfs: bfad_worker cleanup

2014-12-01 Thread Jiri Slaby
This kthread is not loop at all due to break at the end of the loop. Make that function linear, with no while loop. And remove an unnecessary cast. Signed-off-by: Jiri Slaby jsl...@suse.cz --- drivers/scsi/bfa/bfad.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions

[PATCH 3.12 175/206] scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND

2014-11-18 Thread Jiri Slaby
up copying (luckily zeroed-out) kernel buffer to userspace instead of reporting error. Fix the problem by jumping to the right label. CC: Jens Axboe ax...@kernel.dk CC: linux-scsi@vger.kernel.org Coverity-id: 1226871 Signed-off-by: Jan Kara j...@suse.cz Signed-off-by: Jiri Slaby jsl...@suse.cz

[patch added to the 3.12 stable tree] scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND

2014-11-14 Thread Jiri Slaby
to a label where we just end up copying (luckily zeroed-out) kernel buffer to userspace instead of reporting error. Fix the problem by jumping to the right label. CC: Jens Axboe ax...@kernel.dk CC: linux-scsi@vger.kernel.org Coverity-id: 1226871 Signed-off-by: Jan Kara j...@suse.cz Signed-off-by: Jiri

gdth: update deprecated pci_find_device is incorrect

2008-02-14 Thread Jiri Slaby
Hi, commit 99109301d103fbf0de43fc5a580a406c12a501e0 in jejb/scsi-rc-fixes-2.6.git is incorrect. You don't decrement pci refcount on exit. Also you do not so on fail paths... I wonder why these mistakes happen every second time somebody tries to do such change. It leaked into mainline yet

Re: gdth: update deprecated pci_find_device is incorrect

2008-02-14 Thread Jiri Slaby
On 02/14/2008 03:44 PM, Jiri Slaby wrote: Hi, commit 99109301d103fbf0de43fc5a580a406c12a501e0 in jejb/scsi-rc-fixes-2.6.git is incorrect. You don't decrement pci refcount on exit. Also you do not so on fail paths... I wonder why these mistakes happen every second time somebody tries to do

Re: gdth: update deprecated pci_find_device is incorrect

2008-02-14 Thread Jiri Slaby
On 02/14/2008 03:47 PM, Jiri Slaby wrote: On 02/14/2008 03:44 PM, Jiri Slaby wrote: Hi, commit 99109301d103fbf0de43fc5a580a406c12a501e0 in jejb/scsi-rc-fixes-2.6.git is incorrect. You don't decrement pci refcount on exit. Also you do not so on fail paths... I wonder why these mistakes happen

Re: gdth: update deprecated pci_find_device is incorrect

2008-02-14 Thread Jiri Slaby
On 02/14/2008 03:47 PM, Jiri Slaby wrote: On 02/14/2008 03:44 PM, Jiri Slaby wrote: commit 99109301d103fbf0de43fc5a580a406c12a501e0 in jejb/scsi-rc-fixes-2.6.git is incorrect. You don't decrement pci [...] BTW if you have more than one card, you protected the driver from no race, since you

Re: [PATCH] gdth: convert to PCI hotplug API

2008-02-13 Thread Jiri Slaby
On 02/13/2008 12:49 AM, Jeff Garzik wrote: Signed-off-by: Jeff Garzik [EMAIL PROTECTED] --- drivers/scsi/gdth.c | 143 +++- 1 file changed, 86 insertions(+), 57 deletions(-) 06196f50915da97bb897495863f9f084d785c1e4 diff --git

oops at sr_block_release [Re: 2.6.23-rc3-mm1]

2007-08-28 Thread Jiri Slaby
84 82 c7 e9 04 fe ff ff 55 89 e5 56 53 8b 80 04 01 00 00 8b 40 5c 8b 70 3c 8d 46 18 e8 cf f6 fe ff 89 c3 85 c0 75 07 89 EIP: [f88fbe7a] sr_block_release+0xb/0x2c [sr_mod] SS:ESP 0068:c3729f10 regards, -- Jiri Slaby ([EMAIL PROTECTED]) Faculty of Informatics, Masaryk University - To unsubscribe from

Re: oops at sr_block_release [Re: 2.6.23-rc3-mm1]

2007-08-28 Thread Jiri Slaby
Satyam Sharma napsal(a): Hi Jiri, On Tue, 28 Aug 2007, Jiri Slaby wrote: Andrew Morton napsal(a): ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/ I got this during gxine initialization of ocko.tv live stream without any cd in cdroms: Yup

[PATCH 8/9] define global BIT macro

2007-08-18 Thread Jiri Slaby
define global BIT macro move all local BIT defines to the new globally define macro. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 19b14b967521eda7011bd70891bbe5044882d739 tree cd49de4f9f8d991ee7af22037a86978ea227abb8 parent fef5bcc8e5a7bfd66920df6d02c3448314dfe4b2 author Jiri Slaby

[PATCH 9/9] FlashPoint, use BIT instead of BITW

2007-08-18 Thread Jiri Slaby
FlashPoint, use BIT instead of BITW BITW was an ushort variant of BIT, use BIT instead Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 5c0addab96a66ef8b8fc7f8fc404873f7744f7bd tree c6e584d120ff637ed769925c7240e8078ecb56bd parent 19b14b967521eda7011bd70891bbe5044882d739 author Jiri Slaby

Re: [PATCH 8/9] define global BIT macro

2007-08-18 Thread Jiri Slaby
Randy Dunlap napsal(a): On Sat, 18 Aug 2007 11:44:12 +0200 (CEST) Jiri Slaby wrote: define global BIT macro move all local BIT defines to the new globally define macro. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- include/linux/bitops.h |1 + include/video

Re: 2.6.20-rc6-mm1

2007-01-30 Thread Jiri Slaby
Andrew Morton napsal(a): On Mon, 29 Jan 2007 23:27:27 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Sun, 28 Jan 2007 11:25:42 +0100 Jiri Slaby [EMAIL PROTECTED] wrote: Andrew Morton napsal(a): Temporarily at http://userweb.kernel.org/~akpm/2.6.20-rc6-mm1/ I'm still seeing

Re: [PATCH 2.6.13-rc6] MODULE_DEVICE_TABLE for cpqfcTS driver

2005-08-16 Thread Jiri Slaby
done. regards, -- Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [EMAIL PROTECTED] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10 - To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to [EMAIL PROTECTED] More majordomo info at http