hpilo: fix pointer warning in ilo_ccb_setup
authorPrarit Bhargava <prarit@redhat.com>
Tue, 10 Aug 2010 00:20:27 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:05 +0000 (20:45 -0700)
commitcdf8afca2417c5ae2a940a2ff2d36af986a3cf1d
tree872d838052885087b633b2e40778c6a26606332b
parent7efe15f2a4cd9d40826d31d7d5ef56094f8b65f5
hpilo: fix pointer warning in ilo_ccb_setup

Fix i386 PAE compile warning:

drivers/misc/hpilo.c: In function `ilo_ccb_setup':
drivers/misc/hpilo.c:274: warning: cast to pointer from integer of different size

dma_addr_t is 64 on i386 PAE which causes a size mismatch.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: David Altobelli <david.altobelli@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/hpilo.c
drivers/misc/hpilo.h