• Andy Gospodarek's avatar
    bonding: reduce noise during init · b2730f4f
    Andy Gospodarek authored
    On Tue, Jul 26, 2011 at 05:40:27PM -0700, Joe Perches wrote:
    > On Tue, 2011-07-26 at 17:37 -0700, Jay Vosburgh wrote:
    > > Joe Perches <joe@perches.com> wrote:
    > > >I'd prefer you don't separate the format string
    > > >into multiple pieces.
    > > Why not?  To me, it looks easier to read split into sections
    > > that don't wrap lines.
    >
    > Harder to grep for a dmesg and the
    > defect rate of these split formats is
    > typically higher than single strings
    > because of bad spacing between string
    > segments.
    >
    
    I noticed that you took some time back in late 2009 to 'consolidate' the
    split format-strings present in the bonding driver at the time and I've
    decided I'm fine to leave them the way they are.  The main point of my
    patch was to change the output and I would like to get that included.
    Here is my updated patch...
    
    Subject: [PATCH net-next-2.6 v2] bonding: reduce noise during init
    
    Many are using sysfs to configure bonding rather than module options, so
    there is no need for bonding to throw this warning in normal cases.
    
    Keep the message around when debugging is enabled as it might be useful
    for someone desperate enough to enable debugging, but eliminate it
    otherwise.
    Signed-off-by: default avatarAndy Gospodarek <andy@greyhouse.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b2730f4f
bond_main.c 130 KB