]> err.no Git - linux-2.6/commit
ide: eliminate warnings in ide-tape.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 1 Aug 2007 21:46:44 +0000 (23:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Aug 2007 21:46:44 +0000 (23:46 +0200)
commitab0579685d34eb2c6b101534796ba64c8b9107b5
treee7d81b706c647732e918decc75d948763d339b41
parentb37c6b842b30fc8e90965ec242f624283d0032a3
ide: eliminate warnings in ide-tape.c

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>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c