From 02f80ee94f9c331ff3324fd1cb402f4836a049e6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 14 Jan 2004 22:28:35 +0000 Subject: 2004-01-15 Alfred M. Szmidt * linux/src/drivers/scsi/53c7,8xx.h (patch_dsa_32): Don't use token paste operator (##). --- linux/src/drivers/scsi/53c7,8xx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/src/drivers/scsi') 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)); \ } -- cgit v1.2.3