]> err.no Git - linux-2.6/commitdiff
[NET] RXRPC: Fix whitespace errors.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 9 Feb 2007 14:25:14 +0000 (23:25 +0900)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Feb 2007 07:20:07 +0000 (23:20 -0800)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/connection.c
net/rxrpc/internal.h
net/rxrpc/krxiod.c
net/rxrpc/krxsecd.c
net/rxrpc/main.c
net/rxrpc/sysctl.c
net/rxrpc/transport.c

index 93d2c55ad2d5decf115080ba0e5733caa037cd49..a7c929a9fdca89070c1fa70d4dc9a0b4a4275664 100644 (file)
@@ -163,7 +163,7 @@ int rxrpc_create_connection(struct rxrpc_transport *trans,
                conn = list_entry(_p, struct rxrpc_connection, link);
                if (conn->addr.sin_port == candidate->addr.sin_port     &&
                    conn->security_ix   == candidate->security_ix       &&
-                   conn->service_id    == candidate->service_id        && 
+                   conn->service_id    == candidate->service_id        &&
                    conn->in_clientflag == 0)
                        goto found_in_graveyard;
        }
@@ -247,13 +247,13 @@ int rxrpc_connection_lookup(struct rxrpc_peer *peer,
                    conn->in_epoch              == x_epoch      &&
                    conn->conn_id               == x_connid     &&
                    conn->security_ix           == x_secix      &&
-                   conn->service_id            == x_servid     && 
+                   conn->service_id            == x_servid     &&
                    conn->in_clientflag         == x_clflag)
                        goto found_active;
        }
        read_unlock(&peer->conn_lock);
 
-       /* [uncommon case] not active 
+       /* [uncommon case] not active
         * - create a candidate for a new record if an inbound connection
         * - only examine the graveyard for an outbound connection
         */
@@ -286,7 +286,7 @@ int rxrpc_connection_lookup(struct rxrpc_peer *peer,
                    conn->in_epoch              == x_epoch      &&
                    conn->conn_id               == x_connid     &&
                    conn->security_ix           == x_secix      &&
-                   conn->service_id            == x_servid     && 
+                   conn->service_id            == x_servid     &&
                    conn->in_clientflag         == x_clflag)
                        goto found_active_second_chance;
        }
@@ -299,7 +299,7 @@ int rxrpc_connection_lookup(struct rxrpc_peer *peer,
                    conn->in_epoch              == x_epoch      &&
                    conn->conn_id               == x_connid     &&
                    conn->security_ix           == x_secix      &&
-                   conn->service_id            == x_servid     && 
+                   conn->service_id            == x_servid     &&
                    conn->in_clientflag         == x_clflag)
                        goto found_in_graveyard;
        }
index 70e52f6b0b649444db7c60503cf2df170c03c1c7..cc0c5795a103c458554bca62d51596a137f6ebb4 100644 (file)
@@ -14,7 +14,7 @@
  */
 #if 1
 #define __RXACCT_DECL(X) X
-#define __RXACCT(X) do { X; } while(0) 
+#define __RXACCT(X) do { X; } while(0)
 #else
 #define __RXACCT_DECL(X)
 #define __RXACCT(X) do { } while(0)
index 49effd92144e2908ea95ce6ecdff1fb4be7a6940..bbbcd6c2404870cefc6c0bddc7ad18fe7a305d18 100644 (file)
@@ -141,7 +141,7 @@ static int rxrpc_krxiod(void *arg)
 
                try_to_freeze();
 
-                /* discard pending signals */
+               /* discard pending signals */
                rxrpc_discard_my_signals();
 
        } while (!rxrpc_krxiod_die);
index 3ab0f77409f49c79de6c65dc361962bf14be1c94..9a1e7f5e034c973039bb7113eaf2fa84638f3815 100644 (file)
@@ -110,7 +110,7 @@ static int rxrpc_krxsecd(void *arg)
 
                try_to_freeze();
 
-                /* discard pending signals */
+               /* discard pending signals */
                rxrpc_discard_my_signals();
 
        } while (!die);
index 48cbd065bb45ab8ba5d676f802ebbcdf2ecc0d28..baec1f7fd8b9969c8491adddeb73b173fde53ac1 100644 (file)
@@ -146,17 +146,17 @@ __attribute__((no_instrument_function));
 void __cyg_profile_func_enter (void *this_fn, void *call_site)
 {
        asm volatile("  movl    %%esp,%%edi     \n"
-                    "  andl    %0,%%edi        \n"
-                    "  addl    %1,%%edi        \n"
-                    "  movl    %%esp,%%ecx     \n"
-                    "  subl    %%edi,%%ecx     \n"
-                    "  shrl    $2,%%ecx        \n"
-                    "  movl    $0xedededed,%%eax     \n"
-                    "  rep stosl               \n"
-                    :
-                    : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info))
-                    : "eax", "ecx", "edi", "memory", "cc"
-                    );
+                   "  andl    %0,%%edi        \n"
+                   "  addl    %1,%%edi        \n"
+                   "  movl    %%esp,%%ecx     \n"
+                   "  subl    %%edi,%%ecx     \n"
+                   "  shrl    $2,%%ecx        \n"
+                   "  movl    $0xedededed,%%eax     \n"
+                   "  rep stosl               \n"
+                   :
+                   : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info))
+                   : "eax", "ecx", "edi", "memory", "cc"
+                   );
 }
 
 void __cyg_profile_func_exit(void *this_fn, void *call_site)
@@ -165,16 +165,16 @@ __attribute__((no_instrument_function));
 void __cyg_profile_func_exit(void *this_fn, void *call_site)
 {
        asm volatile("  movl    %%esp,%%edi     \n"
-                    "  andl    %0,%%edi        \n"
-                    "  addl    %1,%%edi        \n"
-                    "  movl    %%esp,%%ecx     \n"
-                    "  subl    %%edi,%%ecx     \n"
-                    "  shrl    $2,%%ecx        \n"
-                    "  movl    $0xdadadada,%%eax     \n"
-                    "  rep stosl               \n"
-                    :
-                    : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info))
-                    : "eax", "ecx", "edi", "memory", "cc"
-                    );
+                   "  andl    %0,%%edi        \n"
+                   "  addl    %1,%%edi        \n"
+                   "  movl    %%esp,%%ecx     \n"
+                   "  subl    %%edi,%%ecx     \n"
+                   "  shrl    $2,%%ecx        \n"
+                   "  movl    $0xdadadada,%%eax     \n"
+                   "  rep stosl               \n"
+                   :
+                   : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info))
+                   : "eax", "ecx", "edi", "memory", "cc"
+                   );
 }
 #endif
index 6374df7e77d1bfeb3558efd37e769e8e1b60f834..0755ae028e4330073fa58af0b794ffbdbda24e38 100644 (file)
@@ -27,7 +27,7 @@ int rxrpc_knet;
 static struct ctl_table_header *rxrpc_sysctl = NULL;
 
 static ctl_table rxrpc_sysctl_table[] = {
-        {
+       {
                .ctl_name       = 1,
                .procname       = "kdebug",
                .data           = &rxrpc_kdebug,
@@ -35,7 +35,7 @@ static ctl_table rxrpc_sysctl_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
-        {
+       {
                .ctl_name       = 2,
                .procname       = "ktrace",
                .data           = &rxrpc_ktrace,
@@ -43,7 +43,7 @@ static ctl_table rxrpc_sysctl_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
-        {
+       {
                .ctl_name       = 3,
                .procname       = "kproto",
                .data           = &rxrpc_kproto,
@@ -51,7 +51,7 @@ static ctl_table rxrpc_sysctl_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
-        {
+       {
                .ctl_name       = 4,
                .procname       = "knet",
                .data           = &rxrpc_knet,
@@ -59,7 +59,7 @@ static ctl_table rxrpc_sysctl_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
-        {
+       {
                .ctl_name       = 5,
                .procname       = "peertimo",
                .data           = &rxrpc_peer_timeout,
@@ -67,7 +67,7 @@ static ctl_table rxrpc_sysctl_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_doulongvec_minmax
        },
-        {
+       {
                .ctl_name       = 6,
                .procname       = "conntimo",
                .data           = &rxrpc_conn_timeout,
index 4268b38d92d25e4d66a972e1b498793b6004400b..ff5f4f333086974cbfa17a061c222a8bf54d6386 100644 (file)
@@ -330,10 +330,10 @@ static int rxrpc_incoming_msg(struct rxrpc_transport *trans,
        msg->state = RXRPC_MSG_RECEIVED;
        skb_get_timestamp(pkt, &msg->stamp);
        if (msg->stamp.tv_sec == 0) {
-               do_gettimeofday(&msg->stamp); 
-               if (pkt->sk) 
+               do_gettimeofday(&msg->stamp);
+               if (pkt->sk)
                        sock_enable_timestamp(pkt->sk);
-       } 
+       }
        msg->seq = ntohl(msg->hdr.seq);
 
        /* attach the packet */