diff options
Diffstat (limited to 'linux/src/drivers/scsi/53c7,8xx.h')
-rw-r--r-- | linux/src/drivers/scsi/53c7,8xx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/src/drivers/scsi/53c7,8xx.h b/linux/src/drivers/scsi/53c7,8xx.h index 80fbad3..1a6680f 100644 --- a/linux/src/drivers/scsi/53c7,8xx.h +++ b/linux/src/drivers/scsi/53c7,8xx.h @@ -1569,11 +1569,11 @@ struct NCR53c7x0_hostdata { /* Patch field in dsa structure (assignment should be +=?) */ #define patch_dsa_32(dsa, symbol, word, value) \ { \ - (dsa)[(hostdata->##symbol - hostdata->dsa_start) / sizeof(u32) \ + (dsa)[(hostdata->symbol - hostdata->dsa_start) / sizeof(u32) \ + (word)] = (value); \ if (hostdata->options & OPTION_DEBUG_DSA) \ printk("scsi : dsa %s symbol %s(%d) word %d now 0x%x\n", \ - #dsa, #symbol, hostdata->##symbol, \ + #dsa, #symbol, hostdata->symbol, \ (word), (u32) (value)); \ } |