On 7/6/20 9:52 PM, Colton Lewis wrote: > Silence documentation build warning by correcting kernel-doc comments > for usb_device and usb_device_driver structs. > > ./include/linux/usb.h:713: warning: Function parameter or member 'use_generic_driver' not described in 'usb_device' > ./include/linux/usb.h:1253: warning: Function parameter or member 'match' not described in 'usb_device_driver' > ./include/linux/usb.h:1253: warning: Function parameter or member 'id_table' not described in 'usb_device_driver' > > Signed-off-by: Colton Lewis <colton.w.lewis@xxxxxxxxxxxxxx> Hi, I also sent a patch for this on June 28. > --- > include/linux/usb.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/linux/usb.h b/include/linux/usb.h > index 9f3c721c70dc..88c80289e51f 100644 > --- a/include/linux/usb.h > +++ b/include/linux/usb.h > @@ -621,6 +621,7 @@ struct usb3_lpm_parameters { > * be manipulated by those functions, with the bandwidth_mutex is held. > * @hub_delay: cached value consisting of: > * parent->hub_delay + wHubDelay + tTPTransmissionDelay (40ns) > + * @use_generic_driver: bit is set to use generic usb driver > * > * Will be used as wValue for SetIsochDelay requests. > * > @@ -1215,6 +1216,7 @@ struct usb_driver { > * struct usb_device_driver - identifies USB device driver to usbcore > * @name: The driver name should be unique among USB drivers, > * and should normally be the same as the module name. > + * @match: Called to see if driver matches a device. > * @probe: Called to see if the driver is willing to manage a particular > * device. If it is, probe returns zero and uses dev_set_drvdata() > * to associate driver-specific data with the device. If unwilling > @@ -1227,6 +1229,7 @@ struct usb_driver { > * @dev_groups: Attributes attached to the device that will be created once it > * is bound to the driver. > * @drvwrap: Driver-model core structure wrapper. > + * @id_table: Array of device ids supported by this driver. > * @supports_autosuspend: if set to 0, the USB core will not allow autosuspend > * for devices bound to this driver. > * @generic_subclass: if set to 1, the generic USB driver's probe, disconnect, > -- ~Randy Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>