diff mbox

[net,next] myri10ge: fix compile error

Message ID 49E8B8FD.8060100@myri.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Andrew Gallatin April 17, 2009, 5:14 p.m. UTC
A compilation error snuck into 2d90b0aa3bc484189940444bcddcbe0ebbb53af5
due to an over-zealous indent script removing spaces around array
initialization ellipsis.  The attached patch fixes the myri10ge
compilation in net-next.

Thanks,

Drew


Signed-off-by: Andrew Gallatin <gallatin@myri.com>

Comments

David Miller April 17, 2009, 10:45 p.m. UTC | #1
From: Andrew Gallatin <gallatin@myri.com>
Date: Fri, 17 Apr 2009 13:14:37 -0400

> A compilation error snuck into
> 2d90b0aa3bc484189940444bcddcbe0ebbb53af5
> due to an over-zealous indent script removing spaces around array
> initialization ellipsis.  The attached patch fixes the myri10ge
> compilation in net-next.
> 
> Signed-off-by: Andrew Gallatin <gallatin@myri.com>

It gives me great confidence in your work, seeing as you don't
even type 'make' on the patches you send me.

Sigh, applied...

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Brice Goglin April 18, 2009, 10:37 a.m. UTC | #2
David Miller wrote:
> From: Andrew Gallatin <gallatin@myri.com>
> Date: Fri, 17 Apr 2009 13:14:37 -0400
>
>   
>> A compilation error snuck into
>> 2d90b0aa3bc484189940444bcddcbe0ebbb53af5
>> due to an over-zealous indent script removing spaces around array
>> initialization ellipsis.  The attached patch fixes the myri10ge
>> compilation in net-next.
>>
>> Signed-off-by: Andrew Gallatin <gallatin@myri.com>
>>     
>
> It gives me great confidence in your work, seeing as you don't
> even type 'make' on the patches you send me.
>
> Sigh, applied...
>   


Apologies, it was entirely my fault here.

Brice

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 291944d..140794a 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -269,7 +269,7 @@  MODULE_PARM_DESC(myri10ge_fw_name, "Firmware image name");
 
 #define MYRI10GE_MAX_BOARDS 8
 static char *myri10ge_fw_names[MYRI10GE_MAX_BOARDS] =
-    {[0...(MYRI10GE_MAX_BOARDS - 1)] = NULL };
+    {[0 ... (MYRI10GE_MAX_BOARDS - 1)] = NULL };
 module_param_array_named(myri10ge_fw_names, myri10ge_fw_names, charp, NULL,
 			 0444);
 MODULE_PARM_DESC(myri10ge_fw_name, "Firmware image names per board");