Re: [PATCH] sym53c8xx: fix bad memset argument in sym_set_cam_result_error

2008-01-26 Thread Mariusz Kozlowski
Hello, > > > On a big powerpc box I got the following oops with 2.6.24-git2: > > > > > > sym0: <1010-66> rev 0x1 at pci :d0:01.0 irq 215 > > > sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking > > > sym0: SCSI BUS has been reset. > > > scsi0 : sym-2.2.3 > > > target0:0:8: FAST-40 WIDE SCSI

Re: [PATCH] sym53c8xx: fix bad memset argument in sym_set_cam_result_error

2008-01-26 Thread Mariusz Kozlowski
Hello, > On a big powerpc box I got the following oops with 2.6.24-git2: > > sym0: <1010-66> rev 0x1 at pci :d0:01.0 irq 215 > sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking > sym0: SCSI BUS has been reset. > scsi0 : sym-2.2.3 > target0:0:8: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset

[PATCH -mm] drivers/scsi/megaraid.c: bugfix

2007-08-11 Thread Mariusz Kozlowski
. Regards, Mariusz Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/megaraid.c | 116094 -> 116063 (-31 bytes) drivers/scsi/megaraid.o | 257984 -> 257868 (-116 bytes) drivers/scsi/megaraid.c |3 --- 1 file changed, 3 deletions(-) --- linux-2.6.23-

Re: [patch 20/30] drivers/scsi/gdth.c: kmalloc + memset conversion to kzalloc

2007-08-11 Thread Mariusz Kozlowski
> > From: Mariusz Kozlowski <[EMAIL PROTECTED]> > > > > drivers/scsi/gdth.c | 189401 -> 189342 (-59 bytes) > > drivers/scsi/gdth.o | 331028 -> 330324 (-704 bytes) > > For the second time of asking, could I just have a single patch doing > this glob

[PATCH] message/fusion: remove redundant memset

2007-08-07 Thread Mariusz Kozlowski
Hello, alloc_fcdev() calls alloc_netdev() which uses kzalloc to alloc all the memory together with dev->priv region hence no zeroing of structs inside struct mpt_lan_priv needed. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/message/fusion/mptlan.c | 47738 ->

[PATCH 82] drivers/scsi/zorro7xx.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/zorro7xx.c | 4579 -> 4501 (-78 bytes) drivers/scsi/zorro7xx.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) --- linux-2.6.23-rc1-mm1-a/drivers/scsi/zorro7xx.c 2007-07-26 13:07:42.00

[PATCH 64] drivers/scsi/qla2xxx/qla_init.c: mostly kmalloc + memset conversion to k[cz]alloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/qla2xxx/qla_init.c | 107445 -> 107327 (-118 bytes) drivers/scsi/qla2xxx/qla_init.o | 237540 -> 237424 (-116 bytes) drivers/scsi/qla2xxx/qla_init.c | 14 ++ 1 file changed, 6 insertions(+),

[PATCH 63] drivers/scsi/pluto.c: mostly kmalloc + memset conversion to kcalloc

2007-07-31 Thread Mariusz Kozlowski
This patch does kmalloc + memset conversion to kcalloc. Also the following warning is fixed. CC drivers/scsi/pluto.o drivers/scsi/pluto.c: In function 'pluto_info': drivers/scsi/pluto.c:283: warning: unused variable 'p' Signed-off-by: Mariusz Kozlowski <[EMAI

[PATCH 61] drivers/scsi/osst.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/osst.c | 185412 -> 185361 (-51 bytes) drivers/scsi/osst.o | 272432 -> 272344 (-88 bytes) drivers/scsi/osst.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-a/drivers/scsi/oss

[PATCH 56] drivers/scsi/NCR_D700.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/NCR_D700.c | 10643 -> 10615 (-28 bytes) drivers/scsi/NCR_D700.o | 118400 -> 118196 (-204 bytes) drivers/scsi/NCR_D700.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.23-rc1-mm1-a/

[PATCH 54] drivers/scsi/mvme16x_scsi.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/mvme16x_scsi.c | 3740 -> 3678 (-62 bytes) drivers/scsi/mvme16x_scsi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.23-rc1-mm1-a/drivers/scsi/mvme16x_scsi.c 2007-07-26 13:07:42.00

[PATCH 50] drivers/message/fusion/mptctl.c: mostly kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
This patch does kmalloc + memset conversion to kzalloc and simplifies mptctl_probe(). Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/message/fusion/mptctl.c | 82092 -> 81884 (-208 bytes) drivers/message/fusion/mptctl.o | 201784 -> 200648 (-1136 bytes) drivers/me

[PATCH 47] drivers/scsi/megaraid.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
This patch does kmalloc + memset conversion to kzalloc and adds missing check for kzaloc return value. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/megaraid.c | 116109 -> 116094 (-15 bytes) drivers/scsi/megaraid.o | 257872 -> 257772 (-100 bytes) drivers/scs

[PATCH 46] drivers/scsi/lpfc/lpfc_scsi.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_scsi.c | 42769 -> 42721 (-48 bytes) drivers/scsi/lpfc/lpfc_scsi.o | 191332 -> 191240 (-92 bytes) drivers/scsi/lpfc/lpfc_scsi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.

[PATCH 45] drivers/scsi/lpfc/lpfc_init.c: kmalloc + memset conversion to kcalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_init.c | 65932 -> 65881 (-51 bytes) drivers/scsi/lpfc/lpfc_init.o | 219760 -> 219616 (-144 bytes) drivers/scsi/lpfc/lpfc_init.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.

[PATCH 44] drivers/scsi/lpfc/lpfc_debugfs.c: kmalloc + memset conversion to kcalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_debugfs.c | 13809 -> 13716 (-93 bytes) drivers/scsi/lpfc/lpfc_debugfs.o | 146124 -> 146124 (0 bytes) drivers/scsi/lpfc/lpfc_debugfs.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) ---

[PATCH 31] drivers/scsi/ide-scsi.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/ide-scsi.c | 34642 -> 34536 (-106 bytes) drivers/scsi/ide-scsi.o | 171728 -> 171524 (-204 bytes) drivers/scsi/ide-scsi.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) --- linux-2.6.23-rc1-m

[PATCH 26] drivers/scsi/gdth.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/gdth.c | 189401 -> 189342 (-59 bytes) drivers/scsi/gdth.o | 331028 -> 330324 (-704 bytes) drivers/scsi/gdth.c |8 1 file changed, 4 insertions(+), 4 deletions(-) --- linux-2.6.23-rc1-mm1-a/drivers

[PATCH 21] drivers/scsi/dpt_i2o.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/dpt_i2o.c | 87632 -> 87457 (-175 bytes) drivers/scsi/dpt_i2o.o | 213064 -> 212324 (-740 bytes) drivers/scsi/dpt_i2o.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) --- linu

[PATCH 06] drivers/scsi/bvme6000_scsi.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/bvme6000_scsi.c | 3330 -> 3253 (-77 bytes) drivers/scsi/bvme6000_scsi.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) --- linux-2.6.23-rc1-mm1-a/drivers/scsi/bvme6000_scsi.c 2007-07-26 13:07:42.

[PATCH 02] kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/aic7xxx_old.c | 367101 -> 366983 (-118 bytes) drivers/scsi/aic7xxx_old.o | 333892 -> 333192 (-700 bytes) drivers/scsi/aic7xxx_old.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) --- linux-2.6.

[PATCH 01] kmalloc + memset conversion co kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/a4000t.c | 3534 -> 3457 (-77 bytes) drivers/scsi/a4000t.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) --- linux-2.6.23-rc1-mm1-a/drivers/scsi/a4000t.c2007-07-26 13:07:42.0 +0200

[PATCH] scsi: lpfc error path fix

2007-01-01 Thread Mariusz Kozlowski
Hello, Add kmalloc failure check and fix the loop on error path. Without the patch pool element at index [0] will not be freed. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_mem.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) dif

[2.4 PATCH] scsi aic7xxx parenthesis fix

2006-12-04 Thread Mariusz Kozlowski
Hello, This patch adds missing parenthesis in SUBID_9005_SEEPTYPE() macro code. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>  drivers/scsi/aic7xxx/aic79xx_pci.c |    2 +-  1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.4.34-pre6-a/drivers/scsi/aic7xxx/aic79xx

[2.4 PATCH] scsi 53c7,8xx parenthesis fix

2006-12-04 Thread Mariusz Kozlowski
Hello, This patch removes an extra parenthesis in debugger_fn_bs() code. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>  drivers/scsi/53c7,8xx.c |    2 +-  1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.4.34-pre6-a/drivers/scsi/53c7,8xx.c 2004-11-17 12:54:21.000

[2.4 PATCH] scsi 53c7xx parenthesis fix

2006-12-04 Thread Mariusz Kozlowski
Hello, Tis patch removes an extra parenthesis in abort_connected() code. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>  drivers/scsi/53c7xx.c |    2 +-  1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.4.34-pre6-a/drivers/scsi/53c7xx.c 2004-02-18 14:36:31.000

[PATCH] scsi: 53c7xx brackets fix

2006-11-30 Thread Mariusz Kozlowski
Hello, This patch fixes brackets in two places. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/53c7xx.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.19-rc6-mm2-a/drivers/scsi/53c7xx.c2006-11-16 05:03:40.0