lkml.org 
[lkml]   [2007]   [Aug]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromBartlomiej Zolnierkiewicz <>
SubjectRe: [PATCH] Eliminate warnings in ide-tape.c
DateWed, 1 Aug 2007 22:49:52 +0200
On Monday 30 July 2007, Stephen Rothwell wrote:
> drivers/ide/ide-tape.c: In function '__idetape_kmalloc_stage':
> drivers/ide/ide-tape.c:2588: warning: large integer implicitly truncated to unsigned type
> drivers/ide/ide-tape.c:2616: warning: large integer implicitly truncated to unsigned type
> 
> b_size in struct idetape_bh is an unsigned short.  We sometimes assigne
> PAGE_SIZE to it and PAGE_SIZE can be 64K or larger, so make it a u32.
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

applied
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-01 21:07    [from the cache]
©2003-2008