lkml.org 
[lkml]   [2004]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] removes unnessary print of space
    Date
    Kirill Korotaev wrote:
    > This patch removes unnessary print of space in bust_spinlocks().
    > printk("") wakeups klogd as well, no need to print a space
    > and make a mess.
    >
    I may be just a newbie, but why call prink with no arguments?
    Does it do something?

    > ------------------------------------------------------------------------
    >
    > --- ./arch/i386/mm/fault.c.printk 2004-08-14 14:54:46.000000000 +0400
    > +++ ./arch/i386/mm/fault.c 2004-09-06 11:02:32.730550352 +0400
    > @@ -51,7 +51,7 @@ void bust_spinlocks(int yes)
    > * a poke. Hold onto your hats...
    > */
    > console_loglevel = 15; /* NMI oopser may have shut the console up */
    > - printk(" ");
    > + printk("");
    > console_loglevel = loglevel_save;
    > }
    >

    Kalin.
    --
    || ~~~~~~~~~~~~~~~~~~~~~~ ||
    ( ) http://ThinRope.net/ ( )
    || ______________________ ||

    -
    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: 2005-03-22 14:05    [W:0.024 / U:29.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site