Commit 74c950c9 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: llc: kerneldoc fixes

Simple fixes which require no deep knowledge of the code.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b51cd7c8
...@@ -984,7 +984,6 @@ static int llc_ui_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) ...@@ -984,7 +984,6 @@ static int llc_ui_sendmsg(struct socket *sock, struct msghdr *msg, size_t len)
* llc_ui_getname - return the address info of a socket * llc_ui_getname - return the address info of a socket
* @sock: Socket to get address of. * @sock: Socket to get address of.
* @uaddr: Address structure to return information. * @uaddr: Address structure to return information.
* @uaddrlen: Length of address structure.
* @peer: Does user want local or remote address information. * @peer: Does user want local or remote address information.
* *
* Return the address information of a socket. * Return the address information of a socket.
......
...@@ -284,8 +284,8 @@ out:; ...@@ -284,8 +284,8 @@ out:;
/** /**
* llc_conn_remove_acked_pdus - Removes acknowledged pdus from tx queue * llc_conn_remove_acked_pdus - Removes acknowledged pdus from tx queue
* @sk: active connection * @sk: active connection
* nr: NR * @nr: NR
* how_many_unacked: size of pdu_unack_q after removing acked pdus * @how_many_unacked: size of pdu_unack_q after removing acked pdus
* *
* Removes acknowledged pdus from transmit queue (pdu_unack_q). Returns * Removes acknowledged pdus from transmit queue (pdu_unack_q). Returns
* the number of pdus that removed from queue. * the number of pdus that removed from queue.
...@@ -906,6 +906,7 @@ static void llc_sk_init(struct sock *sk) ...@@ -906,6 +906,7 @@ static void llc_sk_init(struct sock *sk)
/** /**
* llc_sk_alloc - Allocates LLC sock * llc_sk_alloc - Allocates LLC sock
* @net: network namespace
* @family: upper layer protocol family * @family: upper layer protocol family
* @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
* *
...@@ -951,7 +952,7 @@ void llc_sk_stop_all_timers(struct sock *sk, bool sync) ...@@ -951,7 +952,7 @@ void llc_sk_stop_all_timers(struct sock *sk, bool sync)
/** /**
* llc_sk_free - Frees a LLC socket * llc_sk_free - Frees a LLC socket
* @sk - socket to free * @sk: - socket to free
* *
* Frees a LLC socket * Frees a LLC socket
*/ */
......
...@@ -144,6 +144,7 @@ static inline int llc_fixup_skb(struct sk_buff *skb) ...@@ -144,6 +144,7 @@ static inline int llc_fixup_skb(struct sk_buff *skb)
* @skb: received pdu * @skb: received pdu
* @dev: device that receive pdu * @dev: device that receive pdu
* @pt: packet type * @pt: packet type
* @orig_dev: the original receive net device
* *
* When the system receives a 802.2 frame this function is called. It * When the system receives a 802.2 frame this function is called. It
* checks SAP and connection of received pdu and passes frame to * checks SAP and connection of received pdu and passes frame to
......
...@@ -25,7 +25,7 @@ void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type) ...@@ -25,7 +25,7 @@ void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type)
/** /**
* pdu_set_pf_bit - sets poll/final bit in LLC header * pdu_set_pf_bit - sets poll/final bit in LLC header
* @pdu_frame: input frame that p/f bit must be set into it. * @skb: Frame to set bit in
* @bit_value: poll/final bit (0 or 1). * @bit_value: poll/final bit (0 or 1).
* *
* This function sets poll/final bit in LLC header (based on type of PDU). * This function sets poll/final bit in LLC header (based on type of PDU).
......
...@@ -37,6 +37,7 @@ static int llc_mac_header_len(unsigned short devtype) ...@@ -37,6 +37,7 @@ static int llc_mac_header_len(unsigned short devtype)
/** /**
* llc_alloc_frame - allocates sk_buff for frame * llc_alloc_frame - allocates sk_buff for frame
* @sk: socket to allocate frame to
* @dev: network device this skb will be sent over * @dev: network device this skb will be sent over
* @type: pdu type to allocate * @type: pdu type to allocate
* @data_size: data size to allocate * @data_size: data size to allocate
...@@ -273,6 +274,7 @@ void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb, ...@@ -273,6 +274,7 @@ void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
* llc_sap_rcv - sends received pdus to the sap state machine * llc_sap_rcv - sends received pdus to the sap state machine
* @sap: current sap component structure. * @sap: current sap component structure.
* @skb: received frame. * @skb: received frame.
* @sk: socket to associate to frame
* *
* Sends received pdus to the sap state machine. * Sends received pdus to the sap state machine.
*/ */
...@@ -379,6 +381,7 @@ static void llc_do_mcast(struct llc_sap *sap, struct sk_buff *skb, ...@@ -379,6 +381,7 @@ static void llc_do_mcast(struct llc_sap *sap, struct sk_buff *skb,
* llc_sap_mcast - Deliver multicast PDU's to all matching datagram sockets. * llc_sap_mcast - Deliver multicast PDU's to all matching datagram sockets.
* @sap: SAP * @sap: SAP
* @laddr: address of local LLC (MAC + SAP) * @laddr: address of local LLC (MAC + SAP)
* @skb: PDU to deliver
* *
* Search socket list of the SAP and finds connections with same sap. * Search socket list of the SAP and finds connections with same sap.
* Deliver clone to each. * Deliver clone to each.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment