Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

w1_netlink.h: add support for nested structs

Now that kernel-doc can hanle nested structs/unions, describe
such fields at w1_netlink_message_types.

Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
aa931b44 2defb272

+5 -1
+5 -1
drivers/w1/w1_netlink.h
··· 59 59 * @type: one of enum w1_netlink_message_types 60 60 * @status: kernel feedback for success 0 or errno failure value 61 61 * @len: length of data following w1_netlink_msg 62 - * @id: union holding master bus id (msg.id) and slave device id (id[8]). 62 + * @id: union holding bus master id (msg.id) and slave device id (id[8]). 63 + * @id.id: Slave ID (8 bytes) 64 + * @id.mst: bus master identification 65 + * @id.mst.id: bus master ID 66 + * @id.mst.res: bus master reserved 63 67 * @data: start address of any following data 64 68 * 65 69 * The base message structure for w1 messages over netlink.