diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-05-31 21:26:23 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-03 18:08:44 -0700 |
commit | b206a65d671d359d0947f0b6da9d418c49a9b28a (patch) | |
tree | 54f18fc433b0706136554d95b516303b809487fe /security/commoncap.c | |
parent | 3f196eb519a419bf83ecc22753943fd0a0de4f8f (diff) |
[ATM]: Fix warning.
The compiler warning
drivers/atm/firestream.c: In function ‘top_off_fp’:
drivers/atm/firestream.c:1505: warning: cast to pointer from integer of different size
does indicate a bug, albeit a minor one. Fixed, by using a 32-bit
temporary prior to the call to bus_to_virt().
The larger bug is still present: the entire driver assumes that machine
pointers are 32-bit, as it stores pointers in 32-bit hardware registers.
This is obvious to anyone who knows the driver well, but for the casual
readers it is helpfully noted with FIXME.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions