X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fscsi%2Fesp.c;h=f6900538be9084b2c368391172d337ba4e75d6f6;hb=6fb0caa42308923d9e4ed7b36ec077b97c107e24;hp=891f97f7881e233ca9e58e68ecf19c763b1b9875;hpb=ab2fd30b668b1687a9ca9e9ea0b60145deeafe84;p=linux-2.6-omap-h63xx.git diff --git a/drivers/scsi/esp.c b/drivers/scsi/esp.c index 891f97f7881..f6900538be9 100644 --- a/drivers/scsi/esp.c +++ b/drivers/scsi/esp.c @@ -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)); @@ -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); } @@ -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,