Skip to content

Commit

Permalink
llc: "foo* bar" should be "foo *bar"
Browse files Browse the repository at this point in the history
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Weilong Chen authored and David S. Miller committed Dec 27, 2013
1 parent 69317a5 commit 3cdba60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions net/llc/llc_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 sock* sk, 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);

Expand Down Expand Up @@ -891,7 +891,7 @@ static int llc_backlog_rcv(struct sock *sk, struct sk_buff *skb)
*
* Initializes a socket with default llc values.
*/
static void llc_sk_init(struct sock* sk)
static void llc_sk_init(struct sock *sk)
{
struct llc_sock *llc = llc_sk(sk);

Expand Down
2 changes: 1 addition & 1 deletion net/llc/llc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_sap* sap;
struct llc_sap *sap;

list_for_each_entry(sap, &llc_sap_list, node)
if (sap->laddr.lsap == sap_value)
Expand Down
4 changes: 2 additions & 2 deletions net/llc/llc_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_buff* skb, u8 prim)
void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim)
{
struct sockaddr_llc *addr;

Expand Down Expand Up @@ -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_buff* skb)
struct sk_buff *skb)
{
int i = 0;
struct llc_sap_state_trans *rc = NULL;
Expand Down

0 comments on commit 3cdba60

Please sign in to comment.