From: Eilon Greenstein Date: Mon, 9 Mar 2009 00:52:17 +0000 (+0000) Subject: bnx2x: Casting page alignment X-Git-Tag: v2.6.29~34^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc7d8c843024c2636cf52d3f93047acbcd765f2;p=pandora-kernel.git bnx2x: Casting page alignment Adding a proper cast to the argument of PAGE_ALIGN macro so that the output won't depend on its original type. Without this cast aligned value will be truncated to the size of the argument type. Reported-by: Bjorn Helgaas Signed-off-by: Vladislav Zolotarov Tested-by: Bjorn Helgaas Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed