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

Tom Duffy tduffy at sun.com
Thu Sep 23 14:05:11 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040923/cf5f71aa/attachment.sig>


More information about the general mailing list