Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
arch/parisc/include/asm/floppy.h
··· 33 33 * floppy accesses go through the track buffer. 34 34 */ 35 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 38 #define CROSS_64KB(a,s) _CROSS_64KB(a,s,use_virtual_dma & 1) 39 39