History

batman-adv: uapi: keep kernel-doc in struct member order

The order of the members of struct batadv_coded_packet and struct batadv_unicast_tvlv_packet didn't match the kernel doc. This is the case for all other structures and should also be done the same way for these two.

Sven Eckelmann committed 5 months ago

Commit f3ff3eb1 parent 219b4c41 file · +3 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/batadv_packet.h+3−3
@@ -518,16 +518,16 @@ struct batadv_mcast_packet { · 517 unmodified lines
518518 * @packet_type: batman-adv packet type, part of the general header
519519 * @version: batman-adv protocol version, part of the general header
520520 * @ttl: time to live for this packet, part of the general header
521+ * @first_ttvn: tt-version number of first included packet
521522 * @first_source: original source of first included packet
522523 * @first_orig_dest: original destination of first included packet
523524 * @first_crc: checksum of first included packet
524− * @first_ttvn: tt-version number of first included packet
525525 * @second_ttl: ttl of second packet
526+ * @second_ttvn: tt version number of second included packet
526527 * @second_dest: second receiver of this coded packet
527528 * @second_source: original source of second included packet
528529 * @second_orig_dest: original destination of second included packet
529530 * @second_crc: checksum of second included packet
530− * @second_ttvn: tt version number of second included packet
531531 * @coded_len: length of network coded part of the payload
532532 */
533533 struct batadv_coded_packet {
@@ -554,8 +554,8 @@ struct batadv_coded_packet { · 20 unmodified lines
554554 * @version: batman-adv protocol version, part of the general header
555555 * @ttl: time to live for this packet, part of the general header
556556 * @reserved: reserved field (for packet alignment)
557− * @src: address of the source
558557 * @dst: address of the destination
558+ * @src: address of the source
559559 * @tvlv_len: length of tvlv data following the unicast tvlv header
560560 * @align: 2 bytes to align the header to a 4 byte boundary
561561 */