diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-03-18 04:42:18 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 14:05:37 +0400 |
commit | 52a6a1cbd9615d2df59bdf8e77da90371e6a9a84 (patch) | |
tree | 0b555b15394c82b396955a961dec1851e6d5b5c4 /drivers/scsi/NCR5380.h | |
parent | 4dde8f7d7759c5fa9c5b64ff6af3eff7b4d3b315 (diff) | |
download | linux-52a6a1cbd9615d2df59bdf8e77da90371e6a9a84.tar.xz |
scsi/NCR5380: fix dprintk macro usage and definition
There are three implementations of the core NCR5380 driver and three sets
of debugging macro definitions. And all three implementations use the
NCR5380.h header as well.
Two of the definitions of the dprintk macro accept a variable argument list
whereas the third does not. Standardize on the variable argument list.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/NCR5380.h')
-rw-r--r-- | drivers/scsi/NCR5380.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h index 74994c001ff8..9cb3d316bbce 100644 --- a/drivers/scsi/NCR5380.h +++ b/drivers/scsi/NCR5380.h @@ -288,9 +288,9 @@ struct NCR5380_hostdata { #ifdef __KERNEL__ -#define dprintk(a,b) do {} while(0) -#define NCR5380_dprint(a,b) do {} while(0) -#define NCR5380_dprint_phase(a,b) do {} while(0) +#define dprintk(flg, fmt, args...) do {} while (0) +#define NCR5380_dprint(flg, arg) do {} while (0) +#define NCR5380_dprint_phase(flg, arg) do {} while (0) #if defined(AUTOPROBE_IRQ) static int NCR5380_probe_irq(struct Scsi_Host *instance, int possible); |