@@ -310,7 +310,7 @@ static inline bool vlan_uses_dev(const struct net_device *dev)
310310 * eth_type_vlan - check for valid vlan ether type.
311311 * @ethertype: ether type to check
312312 *
313- * Returns true if the ether type is a vlan ether type.
313+ * Returns: true if the ether type is a vlan ether type.
314314 */
315315static inline bool eth_type_vlan (__be16 ethertype )
316316{
@@ -341,9 +341,9 @@ static inline bool vlan_hw_offload_capable(netdev_features_t features,
341341 * @mac_len: MAC header length including outer vlan headers
342342 *
343343 * Inserts the VLAN tag into @skb as part of the payload at offset mac_len
344- * Returns error if skb_cow_head fails.
345- *
346344 * Does not change skb->protocol so this function can be used during receive.
345+ *
346+ * Returns: error if skb_cow_head fails.
347347 */
348348static inline int __vlan_insert_inner_tag (struct sk_buff * skb ,
349349 __be16 vlan_proto , u16 vlan_tci ,
@@ -390,9 +390,9 @@ static inline int __vlan_insert_inner_tag(struct sk_buff *skb,
390390 * @vlan_tci: VLAN TCI to insert
391391 *
392392 * Inserts the VLAN tag into @skb as part of the payload
393- * Returns error if skb_cow_head fails.
394- *
395393 * Does not change skb->protocol so this function can be used during receive.
394+ *
395+ * Returns: error if skb_cow_head fails.
396396 */
397397static inline int __vlan_insert_tag (struct sk_buff * skb ,
398398 __be16 vlan_proto , u16 vlan_tci )
@@ -533,7 +533,7 @@ static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb,
533533 * @skb: skbuff to query
534534 * @vlan_tci: buffer to store value
535535 *
536- * Returns error if the skb is not of VLAN type
536+ * Returns: error if the skb is not of VLAN type
537537 */
538538static inline int __vlan_get_tag (const struct sk_buff * skb , u16 * vlan_tci )
539539{
@@ -551,7 +551,7 @@ static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci)
551551 * @skb: skbuff to query
552552 * @vlan_tci: buffer to store value
553553 *
554- * Returns error if @skb->vlan_tci is not set correctly
554+ * Returns: error if @skb->vlan_tci is not set correctly
555555 */
556556static inline int __vlan_hwaccel_get_tag (const struct sk_buff * skb ,
557557 u16 * vlan_tci )
@@ -570,7 +570,7 @@ static inline int __vlan_hwaccel_get_tag(const struct sk_buff *skb,
570570 * @skb: skbuff to query
571571 * @vlan_tci: buffer to store value
572572 *
573- * Returns error if the skb is not VLAN tagged
573+ * Returns: error if the skb is not VLAN tagged
574574 */
575575static inline int vlan_get_tag (const struct sk_buff * skb , u16 * vlan_tci )
576576{
@@ -587,7 +587,7 @@ static inline int vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci)
587587 * @type: first vlan protocol
588588 * @depth: buffer to store length of eth and vlan tags in bytes
589589 *
590- * Returns the EtherType of the packet, regardless of whether it is
590+ * Returns: the EtherType of the packet, regardless of whether it is
591591 * vlan encapsulated (normal or hardware accelerated) or not.
592592 */
593593static inline __be16 __vlan_get_protocol (const struct sk_buff * skb , __be16 type ,
@@ -629,7 +629,7 @@ static inline __be16 __vlan_get_protocol(const struct sk_buff *skb, __be16 type,
629629 * vlan_get_protocol - get protocol EtherType.
630630 * @skb: skbuff to query
631631 *
632- * Returns the EtherType of the packet, regardless of whether it is
632+ * Returns: the EtherType of the packet, regardless of whether it is
633633 * vlan encapsulated (normal or hardware accelerated) or not.
634634 */
635635static inline __be16 vlan_get_protocol (const struct sk_buff * skb )
@@ -710,7 +710,7 @@ static inline void vlan_set_encap_proto(struct sk_buff *skb,
710710 * Expects the skb to contain a VLAN tag in the payload, and to have skb->data
711711 * pointing at the MAC header.
712712 *
713- * Returns a new pointer to skb->data, or NULL on failure to pull.
713+ * Returns: a new pointer to skb->data, or NULL on failure to pull.
714714 */
715715static inline void * vlan_remove_tag (struct sk_buff * skb , u16 * vlan_tci )
716716{
@@ -727,7 +727,7 @@ static inline void *vlan_remove_tag(struct sk_buff *skb, u16 *vlan_tci)
727727 * skb_vlan_tagged - check if skb is vlan tagged.
728728 * @skb: skbuff to query
729729 *
730- * Returns true if the skb is tagged, regardless of whether it is hardware
730+ * Returns: true if the skb is tagged, regardless of whether it is hardware
731731 * accelerated or not.
732732 */
733733static inline bool skb_vlan_tagged (const struct sk_buff * skb )
@@ -743,7 +743,7 @@ static inline bool skb_vlan_tagged(const struct sk_buff *skb)
743743 * skb_vlan_tagged_multi - check if skb is vlan tagged with multiple headers.
744744 * @skb: skbuff to query
745745 *
746- * Returns true if the skb is tagged with multiple vlan headers, regardless
746+ * Returns: true if the skb is tagged with multiple vlan headers, regardless
747747 * of whether it is hardware accelerated or not.
748748 */
749749static inline bool skb_vlan_tagged_multi (struct sk_buff * skb )
@@ -774,7 +774,7 @@ static inline bool skb_vlan_tagged_multi(struct sk_buff *skb)
774774 * @skb: skbuff to query
775775 * @features: features to be checked
776776 *
777- * Returns features without unsafe ones if the skb has multiple tags.
777+ * Returns: features without unsafe ones if the skb has multiple tags.
778778 */
779779static inline netdev_features_t vlan_features_check (struct sk_buff * skb ,
780780 netdev_features_t features )
0 commit comments