summaryrefslogtreecommitdiff
path: root/linux/src
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-01-14 22:28:35 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:15:24 +0200
commit02f80ee94f9c331ff3324fd1cb402f4836a049e6 (patch)
tree10aa65f59778cf7cb9abad21cd37f69eda72c6d5 /linux/src
parent3574e6d2024f5d8d0a0a78ce7785eda92571a81e (diff)
2004-01-15 Alfred M. Szmidt <ams@kemisten.nu>
* linux/src/drivers/scsi/53c7,8xx.h (patch_dsa_32): Don't use token paste operator (##).
Diffstat (limited to 'linux/src')
-rw-r--r--linux/src/drivers/scsi/53c7,8xx.h4
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)); \
}