llc: "foo* bar" should be "foo *bar"
Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
69317a5351
commit
3cdba604d0
|
@ -753,7 +753,7 @@ void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk)
|
||||||
*
|
*
|
||||||
* Sends received pdus to the connection state machine.
|
* 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);
|
struct llc_conn_state_ev *ev = llc_conn_ev(skb);
|
||||||
|
|
||||||
|
@ -891,7 +891,7 @@ out_kfree_skb:
|
||||||
*
|
*
|
||||||
* Initializes a socket with default llc values.
|
* 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);
|
struct llc_sock *llc = llc_sk(sk);
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ static struct llc_sap *llc_sap_alloc(void)
|
||||||
|
|
||||||
static struct llc_sap *__llc_sap_find(unsigned char sap_value)
|
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)
|
list_for_each_entry(sap, &llc_sap_list, node)
|
||||||
if (sap->laddr.lsap == sap_value)
|
if (sap->laddr.lsap == sap_value)
|
||||||
|
|
|
@ -66,7 +66,7 @@ struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
|
||||||
return skb;
|
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;
|
struct sockaddr_llc *addr;
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb)
|
||||||
* failure.
|
* failure.
|
||||||
*/
|
*/
|
||||||
static struct llc_sap_state_trans *llc_find_sap_trans(struct llc_sap *sap,
|
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;
|
int i = 0;
|
||||||
struct llc_sap_state_trans *rc = NULL;
|
struct llc_sap_state_trans *rc = NULL;
|
||||||
|
|
Loading…
Reference in New Issue