diff options
author | 2008-02-15 13:41:32 -0800 | |
---|---|---|
committer | 2008-02-20 12:12:47 -0500 | |
commit | 5d44b414daa8c1d8551aed6130d86d54175db43f (patch) | |
tree | 8d43b2f5fcdd228ecbf5c7e3fc550d49649ba84d /lib/bitmap.c | |
parent | libata: implement libata.force module parameter (diff) | |
download | linux-dev-5d44b414daa8c1d8551aed6130d86d54175db43f.tar.xz linux-dev-5d44b414daa8c1d8551aed6130d86d54175db43f.zip |
ata: fix sparse warning in libata.h
Avoids lots of these, also is more readable.
include/linux/libata.h:1210:13: warning: potentially expensive pointer subtraction
Change the subtraction to addition on the other side of the comparison.
Thanks to Christer Weinigel for the suggestion.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions