From: Bart Van Assche Date: Thu, 9 Jul 2015 14:23:46 +0000 (-0700) Subject: qla2xxx: Replace two macros with an inline function X-Git-Tag: omap-for-v4.3/fixes-rc1~115^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3f4cd0defd5f832a806ca1f0dd6638a2df17a5;p=pandora-kernel.git qla2xxx: Replace two macros with an inline function Replace the QLA82XX_ADDR_IN_RANGE() and QLA8044_ADDR_IN_RANGE() macros with the inline function addr_in_range(). This avoids that the compiler reports the following warning when building with W=1: comparison of unsigned expression >= 0 is always true. Signed-off-by: Bart Van Assche Acked-by: Himanshu Madhani Signed-off-by: James Bottomley --- Reading git-diff-tree failed