]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ub: suppress gcc warnings for pointer casts
authorPete Zaitcev <zaitcev@redhat.com>
Sat, 24 Sep 2005 20:10:16 +0000 (13:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:38 +0000 (16:47 -0700)
commit38ffdd62b0f466ef9126ac9f060ade5f218b4887
tree4f636beb7bcc713e0f454058541850b4cabf69fa
parente639dd3f4edd4847d160899b19e95ee1a06a6dcb
[PATCH] ub: suppress gcc warnings for pointer casts

When building on a 64-bit platform, gcc produces a warning
"cast of a pointer to an integer of a different size".
The scatterlist.offset on the LHS is unsigned int, so I used
that originally.

Signed-off-by: Pete Zaitcev <zaitcev@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/block/ub.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/block/ub.c