From: Harvey Harrison Date: Fri, 15 Feb 2008 21:41:32 +0000 (-0800) Subject: ata: fix sparse warning in libata.h X-Git-Tag: v2.6.25-rc3~105^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d44b414daa8c1d8551aed6130d86d54175db43f;p=pandora-kernel.git 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 Acked-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed