]> Git Repo - linux.git/commitdiff
[PATCH] s2io c99 warning fix
authorAndrew Morton <[email protected]>
Fri, 3 Feb 2006 09:45:13 +0000 (01:45 -0800)
committerJeff Garzik <[email protected]>
Tue, 7 Feb 2006 07:51:40 +0000 (02:51 -0500)
drivers/net/s2io.c: In function `verify_l3_l4_lro_capable':
drivers/net/s2io.c:6638: warning: ISO C90 forbids mixed declarations and code

Cc: Ravinandan Arakali <[email protected]>
Cc: Ananda Raju <[email protected]>
Cc: Adrian Bunk <[email protected]>
Cc: Jeff Garzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
drivers/net/s2io.c

index e7a9b0d32a1850813490d7849f1c14347f4b14e7..fcce43c9fed560c5860a96909d2694a720afa68a 100644 (file)
@@ -6634,9 +6634,10 @@ static void aggregate_new_rx(lro_t *lro, struct iphdr *ip,
 static int verify_l3_l4_lro_capable(lro_t *l_lro, struct iphdr *ip,
                                    struct tcphdr *tcp, u32 tcp_pyld_len)
 {
-       DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
        u8 *ptr;
 
+       DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
+
        if (!tcp_pyld_len) {
                /* Runt frame or a pure ack */
                return -1;
This page took 0.062119 seconds and 4 git commands to generate.