From: Joerg Roedel Date: Fri, 24 Feb 2012 12:58:15 +0000 (+0100) Subject: bitops: Add missing parentheses to new get_order macro X-Git-Tag: v3.4-rc1~157^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b893485db994b17402524d3d700b950294cb6c97;p=pandora-kernel.git bitops: Add missing parentheses to new get_order macro The new get_order macro introcuded in commit d66acc39c7cee323733c8503b9de1821a56dff7e does not use parentheses around all uses of the parameter n. This causes new compile warnings, for example in the amd_iommu_init.c function: drivers/iommu/amd_iommu_init.c:561:6: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] drivers/iommu/amd_iommu_init.c:561:6: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] Fix those warnings by adding the missing parentheses. Reported-by: Ingo Molnar Cc: David Howells Acked-by: Arnd Bergmann Signed-off-by: Joerg Roedel Link: http://lkml.kernel.org/r/1330088295-28732-1-git-send-email-joerg.roedel@amd.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed