[PATCH 4/4] scsi: aic79xx: Use kzalloc instead of kmalloc/memset

2015-01-28 Thread Daeseok Youn
Signed-off-by: Daeseok Youn --- drivers/scsi/aic7xxx/aic79xx_osm.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index d5c7b19..ce96a0b 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b

[PATCH] scsi: missing iounmap for mvi->regs_ex

2015-01-28 Thread Daeseok Youn
It also need to call iounmap() when it fails to get res_start and res_len from pci_resource_start{len}(pdev, bar). Signed-off-by: Daeseok Youn --- drivers/scsi/mvsas/mv_init.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/mvsas/mv_init.c b

[PATCH 3/4] scsi: aic7xxx: Use kzalloc instead of kmalloc/memset

2015-01-28 Thread Daeseok Youn
Signed-off-by: Daeseok Youn --- drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c index 10172a3..7f34d25 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_core.c

[PATCH 2/4] scsi: aic79xx: Use kzalloc instead of kmalloc/memset

2015-01-28 Thread Daeseok Youn
Signed-off-by: Daeseok Youn --- drivers/scsi/aic7xxx/aic79xx_core.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c index 97f2acc..109e2c9 100644 --- a/drivers/scsi/aic7xxx/aic79xx_core.c +++ b

[PATCH 1/4] scsi: aic7xxx: use kzalloc instead of kmalloc/memset

2015-01-28 Thread Daeseok Youn
Signed-off-by: Daeseok Youn --- drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index 8836011..a2f2c77 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b

Re: [PATCH] [SCSI] be2iscsi: use NULL instead of 0 for pointer

2014-04-07 Thread DaeSeok Youn
Hi, This patch didn't apply. Please check for me. Thanks. Daeseok Youn 2014-03-12 2:02 GMT+09:00 Jayamohan Kallickal : > > > -Original Message- > From: Daeseok Youn [mailto:daeseok.y...@gmail.com] > Sent: Thursday, February 20, 2014 5:13 PM > To: jbottom...@parall

[PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration

2014-04-06 Thread Daeseok Youn
sparse says: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll' Signed-off-by: Daeseok Youn --- drivers/scsi/FlashPoint.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index 5c74e4

[PATCH] [SCSI] be2iscsi: use NULL instead of 0 for pointer

2014-02-20 Thread Daeseok Youn
>From b483ef302f7d77c586949ae170754d589e8a4935 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Fri, 21 Feb 2014 08:39:08 +0900 Subject: [PATCH] [SCSI] be2iscsi: use NULL instead of 0 for pointer sparse says: drivers/scsi/be2iscsi/be_cmds.c:27:32: warning: Using plain integer as NULL poin

[PATCH] [SCSI] be2iscsi: make beiscsi_process_mcc() as static

2014-02-20 Thread Daeseok Youn
>From 137a2f619f1fa93fc497d891954d83c6cb307d11 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Fri, 21 Feb 2014 08:43:56 +0900 Subject: [PATCH] [SCSI] be2iscsi: make beiscsi_process_mcc() as static beiscsi_process_mcc() is only referenced in this file. Signed-off-by: Daeseok Y

[PATCH] [SCSI] lpfc 8.3.43: use NULL instead of 0 for pointer

2014-02-20 Thread Daeseok Youn
>From 9e7478f6e953fac5b2bef0f5abe76fe8dc9e59d1 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Fri, 21 Feb 2014 09:03:32 +0900 Subject: [PATCH] [SCSI] lpfc 8.3.43: use NULL instead of 0 for pointer sparse says: drivers/scsi/lpfc/lpfc_sli.c:16547:37: warning: Using plain integer as N