diff options
author | Olaf Hering <olh@suse.de> | 2005-07-27 14:45:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:08 -0400 |
commit | 44456d37b59d8e541936ed26d8b6e08d27e88ac1 (patch) | |
tree | 11ca6fa29b8cfb56ecef2d1f4f9dc2d9d71d2a2f /drivers/scsi/aic7xxx/aic79xx_osm.c | |
parent | 02b775696fee75a04041d8d94db26a9462216d24 (diff) |
[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some
warnings after -Wno-def was added to global CFLAGS
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index 6466a184a141..329cb2331339 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c | |||
@@ -1505,7 +1505,7 @@ ahd_linux_dev_reset(Scsi_Cmnd *cmd) | |||
1505 | memset(recovery_cmd, 0, sizeof(struct scsi_cmnd)); | 1505 | memset(recovery_cmd, 0, sizeof(struct scsi_cmnd)); |
1506 | recovery_cmd->device = cmd->device; | 1506 | recovery_cmd->device = cmd->device; |
1507 | recovery_cmd->scsi_done = ahd_linux_dev_reset_complete; | 1507 | recovery_cmd->scsi_done = ahd_linux_dev_reset_complete; |
1508 | #if AHD_DEBUG | 1508 | #ifdef AHD_DEBUG |
1509 | if ((ahd_debug & AHD_SHOW_RECOVERY) != 0) | 1509 | if ((ahd_debug & AHD_SHOW_RECOVERY) != 0) |
1510 | printf("%s:%d:%d:%d: Device reset called for cmd %p\n", | 1510 | printf("%s:%d:%d:%d: Device reset called for cmd %p\n", |
1511 | ahd_name(ahd), cmd->device->channel, cmd->device->id, | 1511 | ahd_name(ahd), cmd->device->channel, cmd->device->id, |