Skip to content

Commit

Permalink
[PATCH] drivers/scsi NULL noise removal
Browse files Browse the repository at this point in the history
NULL noise in sbus scsi drivers got missed

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent f815e81 commit 0f73832
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions drivers/scsi/esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ static int __init esp_detect(struct scsi_host_template *tpnt)
static struct sbus_dev esp_dev;
int esps_in_use = 0;

espchain = 0;
espchain = NULL;

if (sun4_esp_physaddr) {
memset (&esp_dev, 0, sizeof(esp_dev));
Expand Down Expand Up @@ -2513,7 +2513,7 @@ static inline void esp_reconnect(struct esp *esp, struct scsi_cmnd *sp)
ESPLOG(("esp%d: Weird, being reselected but disconnected "
"command queue is empty.\n", esp->esp_id));
esp->snip = 0;
esp->current_SC = 0;
esp->current_SC = NULL;
sp->SCp.phase = not_issued;
append_SC(&esp->issue_SC, sp);
}
Expand Down Expand Up @@ -4148,7 +4148,7 @@ static int esp_work_bus(struct esp *esp)
}

static espfunc_t isvc_vector[] = {
0,
NULL,
esp_do_phase_determine,
esp_do_resetbus,
esp_finish_reset,
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/pluto.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static struct ctrl_inquiry {
Scsi_Cmnd cmd;
char inquiry[256];
fc_channel *fc;
} *fcs __initdata = { 0 };
} *fcs __initdata;
static int fcscount __initdata = 0;
static atomic_t fcss __initdata = ATOMIC_INIT(0);
DECLARE_MUTEX_LOCKED(fc_sem);
Expand Down

0 comments on commit 0f73832

Please sign in to comment.