diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-02-24 12:58:15 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-02-24 18:39:27 (GMT) |
commit | b893485db994b17402524d3d700b950294cb6c97 (patch) | |
tree | fd0c4d145f2cac9bff903ac5ff9ac6f26d759982 /include/linux/raid/pq.h | |
parent | d66acc39c7cee323733c8503b9de1821a56dff7e (diff) | |
download | linux-fsl-qoriq-b893485db994b17402524d3d700b950294cb6c97.tar.xz |
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 <mingo@elte.hu>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1330088295-28732-1-git-send-email-joerg.roedel@amd.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'include/linux/raid/pq.h')
0 files changed, 0 insertions, 0 deletions