lkml.org 
[lkml]   [2010]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] arch/x86/kernel/cpu/mtrr/cleanup.c: Use ";" not "," to terminate statements
    From
    Date
    These are the only "," terminated statements that
    precede a pr_<level> in the kernel tree.

    These must be ";" terminated if the pr_<level>
    macros becomes a bit more space efficient using
    a "do { foo } while (0)" form.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    arch/x86/kernel/cpu/mtrr/cleanup.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/x86/kernel/cpu/mtrr/cleanup.c b/arch/x86/kernel/cpu/mtrr/cleanup.c
    index 06130b5..c5f59d0 100644
    --- a/arch/x86/kernel/cpu/mtrr/cleanup.c
    +++ b/arch/x86/kernel/cpu/mtrr/cleanup.c
    @@ -632,9 +632,9 @@ static void __init mtrr_print_out_one_result(int i)
    unsigned long gran_base, chunk_base, lose_base;
    char gran_factor, chunk_factor, lose_factor;

    - gran_base = to_size_factor(result[i].gran_sizek, &gran_factor),
    - chunk_base = to_size_factor(result[i].chunk_sizek, &chunk_factor),
    - lose_base = to_size_factor(result[i].lose_cover_sizek, &lose_factor),
    + gran_base = to_size_factor(result[i].gran_sizek, &gran_factor);
    + chunk_base = to_size_factor(result[i].chunk_sizek, &chunk_factor);
    + lose_base = to_size_factor(result[i].lose_cover_sizek, &lose_factor);

    pr_info("%sgran_size: %ld%c \tchunk_size: %ld%c \t",
    result[i].bad ? "*BAD*" : " ",




    \
     
     \ /
      Last update: 2010-07-14 23:29    [W:0.022 / U:121.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site