powerpc allmodconfig

Johannes Berg johannes at sipsolutions.net
Fri Oct 17 01:57:19 EST 2008


On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote:
> 
> 
> > net/sched/sch_generic.c: In function 'dev_watchdog':
> > net/sched/sch_generic.c:224: warning: unused variable 'drivername'
> 
> Sucky, if WARN_ONCE() evaluates to nothing the sprintf() string buffer
> on the stack looks unused.

I've complained about this to Arjan before, we actually lose all
messages passed to WARN() or WARN_ONCE() on platforms that use bug traps
for warnings too.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20081016/c53752bd/attachment.pgp>


More information about the Linuxppc-dev mailing list