2009-06-05 01:37:22

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: mmc tree build warning

Hi Pierre,

Today's linux-next build (x86_64 allmodconfig) produced this warnings:

drivers/misc/cb710/debug.c: In function 'cb710_read_regs_8':
drivers/misc/cb710/debug.c:100: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
drivers/misc/cb710/debug.c: In function 'cb710_read_regs_16':
drivers/misc/cb710/debug.c:101: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
drivers/misc/cb710/debug.c: In function 'cb710_read_regs_32':
drivers/misc/cb710/debug.c:102: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
In file included from drivers/mmc/host/cb710-mmc.h:13,
from drivers/mmc/host/cb710-mmc.c:15:
include/linux/cb710.h:14:1: warning: "DEBUG" redefined
<command-line>: warning: this is the location of the previous definition
drivers/mmc/host/cb710-mmc.c: In function 'cb710_mmc_set_transfer_size':
drivers/mmc/host/cb710-mmc.c:222: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
drivers/mmc/host/cb710-mmc.c:222: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'

All introduced by commit ecb9ca267b42dc8c9a35eeaf75c002159fa52602 ("mmc:
Driver for CB710/720 memory card reader (MMC part)").

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (1.35 kB)
(No filename) (197.00 B)
Download all attachments

2009-06-05 05:18:30

by Pierre Ossman

[permalink] [raw]
Subject: Re: linux-next: mmc tree build warning

On Fri, 5 Jun 2009 11:37:07 +1000
Stephen Rothwell <[email protected]> wrote:

> Hi Pierre,
>
> Today's linux-next build (x86_64 allmodconfig) produced this warnings:
>

Thanks, they were already spotted elsewhere. Patches to fix these
warnings are on their way.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
TigerVNC, core developer http://www.tigervnc.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.


Attachments:
signature.asc (198.00 B)