[openib-general] [PATCH] [TRIVIAL] ipoib: Fix compile problem with data path debug on

Michael S. Tsirkin mst at mellanox.co.il
Sat Sep 25 14:06:13 PDT 2004


Tom,
Not that I advocate using MUAs that break tabs, but -
you do know you can patch -l to solve (at least check) tab/space issues,
dont you?

Quoting r. Tom Duffy (tduffy at sun.com) "Re: [openib-general] [PATCH] [TRIVIAL] ipoib: Fix compile problem with data path debug on":
> Subject: 
> Date: Thu, 23 Sep 2004 23:04:11 +0200
> 
> 

> your patch did apply correctly.  perhaps your MUA is changing tabs to
> spaces?
> 
> [tduffy at duffman ipoib]$ patch ipoib_main.c /tmp/ipoib.hal
> patching file ipoib_main.c
> Hunk #1 FAILED at 43.
> 1 out of 1 hunk FAILED -- saving rejects to file ipoib_main.c.rej
> 
> 
> On Thu, 2004-09-23 at 15:52 -0400, Hal Rosenstock wrote:
> > ipoib: Fix compile problem with data path debug on
> > 
> > Index: ipoib_main.c
> > ===================================================================
> > --- ipoib_main.c (revision 880)
> > +++ ipoib_main.c (working copy)
> > @@ -43,12 +43,14 @@
> >  int debug_level;
> >  
> >  module_param(debug_level, int, 0644);
> > +#ifdef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA
> >  MODULE_PARM_DESC(debug_level,
> >     "Enable debug tracing if > 0"
> > -#ifdef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA
> > -   " and data path tracing if > 1"
> > +   " and data path tracing if > 1");
> > +#else
> > +MODULE_PARM_DESC(debug_level,
> > +   "Enable debug tracing if > 0");
> >  #endif
> > - );
> >  
> >  int mcast_debug_level;
> >  
> > 
> > 
> > 
> > _______________________________________________
> > openib-general mailing list
> > openib-general at openib.org
> > http://openib.org/mailman/listinfo/openib-general
> > 
> > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> -- 
> "When they took the 4th Amendment, I was quiet because I didn't deal
> drugs. When they took the 6th Amendment, I was quiet because I am
> innocent. When they took the 2nd Amendment, I was quiet because I don't
> own a gun. Now they have taken the 1st Amendment, and I can only be
> quiet."                                 --Lyle Myhr





More information about the general mailing list