linux-next: build warning after merge of the hid tree
Subsystems (2)
Hi all,
After merging the hid tree, today's linux-next build (htmldocs) produced this warning:
include/linux/mod_devicetable.h:909: warning: Function parameter or member 'guid' not described in 'ishtp_device_id'
Introduced by commit
fa443bc3c1e4 ("HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()")
I also notice that there is a @context description, but no field.
Signature · 2 lines
Cheers, Stephen Rothwell
Jiri Kosina
maintainerQuoted 5 lines · Stephen Rothwell
Hi all,
After merging the hid tree, today's linux-next build (htmldocs) produced this warning:
Quoted 7 lines
include/linux/mod_devicetable.h:909: warning: Function parameter or member 'guid' not described in 'ishtp_device_id'Introduced by commit
fa443bc3c1e4("HID: intel-ish-hid: add support forMODULE_DEVICE_TABLE()")I also notice that there is a @context description, but no field.
Thanks for spotting it. The kerneldoc is clearly wrong there both on the 'guid' member name, and also the description (mind the '36 char' part, where it should have been '16 char' instead).
Thomas, could you please send me a fixup patch for that?
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs
PATCH 1/1 mod_devicetable: fix kdocs for ishtp_device_id
In reply to Stephen RothwellThe kdocs were copied from another device_id struct and not adapted.
--- include/linux/mod_devicetable.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/mod_devicetable.h +1 -2
@@ -901,8 +901,7 @@ struct dfl_device_id {/** * struct ishtp_device_id - ISHTP device identifier -* @guid_string: 36 char string of the form fa50ff2b-f2e8-45de-83fa-65417f2f49ba -* @context: pointer to driver specific data +* @guid: GUID of the device. */ struct ishtp_device_id {guid_t guid;
base-commit: 7fb0413baa7f8a04caef0c504df9af7e0623d296
Signature · 1 line
2.33.1
Jiri Kosina
maintainerRe: [PATCH] mod_devicetable: fix kdocs for ishtp_device_id
Quoted 4 lines · Thomas Weißschuh
The kdocs were copied from another
device_idstruct and not adapted.Fixes fa443bc3c1e4 ("HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()")Signed-off-by Thomas Weißschuh <[email protected]>
I've added
and applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs