Commit 0f73832fd8fc42dd7cc73487147f5d5b8f8d2cf0
Committed by
Linus Torvalds
1 parent
f815e8182b
Exists in
master
and in
7 other branches
[PATCH] drivers/scsi NULL noise removal
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>
Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff
drivers/scsi/esp.c
... | ... | @@ -1147,7 +1147,7 @@ |
1147 | 1147 | static struct sbus_dev esp_dev; |
1148 | 1148 | int esps_in_use = 0; |
1149 | 1149 | |
1150 | - espchain = 0; | |
1150 | + espchain = NULL; | |
1151 | 1151 | |
1152 | 1152 | if (sun4_esp_physaddr) { |
1153 | 1153 | memset (&esp_dev, 0, sizeof(esp_dev)); |
... | ... | @@ -2513,7 +2513,7 @@ |
2513 | 2513 | ESPLOG(("esp%d: Weird, being reselected but disconnected " |
2514 | 2514 | "command queue is empty.\n", esp->esp_id)); |
2515 | 2515 | esp->snip = 0; |
2516 | - esp->current_SC = 0; | |
2516 | + esp->current_SC = NULL; | |
2517 | 2517 | sp->SCp.phase = not_issued; |
2518 | 2518 | append_SC(&esp->issue_SC, sp); |
2519 | 2519 | } |
... | ... | @@ -4148,7 +4148,7 @@ |
4148 | 4148 | } |
4149 | 4149 | |
4150 | 4150 | static espfunc_t isvc_vector[] = { |
4151 | - 0, | |
4151 | + NULL, | |
4152 | 4152 | esp_do_phase_determine, |
4153 | 4153 | esp_do_resetbus, |
4154 | 4154 | esp_finish_reset, |
drivers/scsi/pluto.c