]> git.karo-electronics.de Git - linux-beck.git/commitdiff
llc: "foo* bar" should be "foo *bar"
authorWeilong Chen <chenweilong@huawei.com>
Fri, 20 Dec 2013 03:14:59 +0000 (11:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Dec 2013 18:06:15 +0000 (13:06 -0500)
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_conn.c
net/llc/llc_core.c
net/llc/llc_sap.c

index cd8724177965cd00aa226bca602ab5c2f05a438f..42dc2e45c921853bedea8987078b088a724e6fb5 100644 (file)
@@ -753,7 +753,7 @@ void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk)
  *
  *     Sends received pdus to the connection state machine.
  */
-static int llc_conn_rcv(struct socksk, struct sk_buff *skb)
+static int llc_conn_rcv(struct sock *sk, struct sk_buff *skb)
 {
        struct llc_conn_state_ev *ev = llc_conn_ev(skb);
 
@@ -891,7 +891,7 @@ out_kfree_skb:
  *
  *     Initializes a socket with default llc values.
  */
-static void llc_sk_init(struct socksk)
+static void llc_sk_init(struct sock *sk)
 {
        struct llc_sock *llc = llc_sk(sk);
 
index 2bb0ddff8c0fe3d72c072f175d54675a91a6922c..e251c0493ac097e093614d811268ab8fc83f9f96 100644 (file)
@@ -48,7 +48,7 @@ static struct llc_sap *llc_sap_alloc(void)
 
 static struct llc_sap *__llc_sap_find(unsigned char sap_value)
 {
-       struct llc_sapsap;
+       struct llc_sap *sap;
 
        list_for_each_entry(sap, &llc_sap_list, node)
                if (sap->laddr.lsap == sap_value)
index e5850699098ef98787719dfd035fda0bfd4e3268..06033f6c845ff5d2ab73a98a41d08767b88e59fd 100644 (file)
@@ -66,7 +66,7 @@ struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
        return skb;
 }
 
-void llc_save_primitive(struct sock *sk, struct sk_buffskb, u8 prim)
+void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim)
 {
        struct sockaddr_llc *addr;
 
@@ -114,7 +114,7 @@ void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb)
  *     failure.
  */
 static struct llc_sap_state_trans *llc_find_sap_trans(struct llc_sap *sap,
-                                                     struct sk_buffskb)
+                                                     struct sk_buff *skb)
 {
        int i = 0;
        struct llc_sap_state_trans *rc = NULL;