diff options
author | Helge Deller <deller@gmx.de> | 2016-02-03 14:54:56 -0500 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-03-01 16:51:04 -0500 |
commit | 9a334d39daad92e2c46539b0bb3bd32b68df2af2 (patch) | |
tree | 5d746ffcbb1bec879a63a1bd691eaf724e44e30f /arch/parisc | |
parent | 7d46af2084eabe73ce4dbf06072fded34b58b0c7 (diff) |
parisc: Use parentheses around expression in floppy.h
David Binderman reported a style issue in the floppy.h header file:
arch/parisc/include/asm/floppy.h:221: (style) Boolean result is used in bitwise
operation. Clarify expression with parentheses.
Reported-by: David Binderman <dcb314@hotmail.com>
Cc: David Binderman <dcb314@hotmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/floppy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/floppy.h b/arch/parisc/include/asm/floppy.h index f84ff12574b7..6d8276cd25ca 100644 --- a/arch/parisc/include/asm/floppy.h +++ b/arch/parisc/include/asm/floppy.h | |||
@@ -33,7 +33,7 @@ | |||
33 | * floppy accesses go through the track buffer. | 33 | * floppy accesses go through the track buffer. |
34 | */ | 34 | */ |
35 | #define _CROSS_64KB(a,s,vdma) \ | 35 | #define _CROSS_64KB(a,s,vdma) \ |
36 | (!vdma && ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64)) | 36 | (!(vdma) && ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64)) |
37 | 37 | ||
38 | #define CROSS_64KB(a,s) _CROSS_64KB(a,s,use_virtual_dma & 1) | 38 | #define CROSS_64KB(a,s) _CROSS_64KB(a,s,use_virtual_dma & 1) |
39 | 39 | ||