--- ips.c.orig Tue Oct 15 12:24:25 2002 +++ ips.c Tue Oct 15 12:25:24 2002 @@ -248,8 +248,8 @@ #else #define IPS_SG_ADDRESS(sg) (page_address((sg)->page) ? \ page_address((sg)->page)+(sg)->offset : 0) - #define IPS_LOCK_SAVE(lock,flags) spin_lock(lock) - #define IPS_UNLOCK_RESTORE(lock,flags) spin_unlock(lock) + #define IPS_LOCK_SAVE(lock,flags) do { spin_lock(lock); (void)flags } while (0) + #define IPS_UNLOCK_RESTORE(lock,flags) { spin_unlock(lock); (void)flags } while (0) #endif #define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \