lkml.org 
[lkml]   [2012]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] bitops: Add missing parentheses to new get_order macro
    Date
    On Friday 24 February 2012, Joerg Roedel wrote:
    > 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: Ingo Molnar <mingo@elte.hu>
    > Cc: David Howells <dhowells@redhat.com>
    > Cc: Arnd Bergmann <arnd@arndb.de>
    > Cc: H. Peter Anvin <hpa@zytor.com>
    > Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

    Acked-by: Arnd Bergmann <arnd@arndb.de>
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-02-24 16:13    [W:0.022 / U:30.156 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site