* [PATCH 2/5] usb: typec: add kernel-doc for priority and mode_selection members
@ 2026-03-15 14:57 Kit Dallege
2026-03-16 6:17 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Kit Dallege @ 2026-03-15 14:57 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel, Kit Dallege
Document the priority and mode_selection members of struct
typec_altmode that were added without kernel-doc descriptions.
This fixes the following warnings when building with W=1:
include/linux/usb/typec_altmode.h: struct member 'priority' not described in 'typec_altmode'
include/linux/usb/typec_altmode.h: struct member 'mode_selection' not described in 'typec_altmode'
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
Signed-off-by: kovan <xaum.io@gmail.com>
---
include/linux/usb/typec_altmode.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/usb/typec_altmode.h b/include/linux/usb/typec_altmode.h
index 0513d333b797..c7cfc4629484 100644
--- a/include/linux/usb/typec_altmode.h
+++ b/include/linux/usb/typec_altmode.h
@@ -26,6 +26,8 @@ struct typec_altmode_ops;
* @mode: Index of the Mode
* @vdo: VDO returned by Discover Modes USB PD command
* @active: Tells has the mode been entered or not
+ * @priority: Numeric priority for alternate mode selection ordering
+ * @mode_selection: Indicates support for the mode selection feature
* @desc: Optional human readable description of the mode
* @ops: Operations vector from the driver
* @cable_ops: Cable operations vector from the driver.
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/5] usb: typec: add kernel-doc for priority and mode_selection members
2026-03-15 14:57 [PATCH 2/5] usb: typec: add kernel-doc for priority and mode_selection members Kit Dallege
@ 2026-03-16 6:17 ` Greg Kroah-Hartman
2026-03-16 12:04 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2026-03-16 6:17 UTC (permalink / raw)
To: Kit Dallege; +Cc: Heikki Krogerus, linux-usb, linux-kernel
On Sun, Mar 15, 2026 at 03:57:41PM +0100, Kit Dallege wrote:
> Document the priority and mode_selection members of struct
> typec_altmode that were added without kernel-doc descriptions.
>
> This fixes the following warnings when building with W=1:
>
> include/linux/usb/typec_altmode.h: struct member 'priority' not described in 'typec_altmode'
> include/linux/usb/typec_altmode.h: struct member 'mode_selection' not described in 'typec_altmode'
>
> Signed-off-by: Kit Dallege <xaum.io@gmail.com>
> Signed-off-by: kovan <xaum.io@gmail.com>
Please use your name, not an alias, to sign off on a patch. And no need
to list it twice.
Also, where are the other 5 patches here?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/5] usb: typec: add kernel-doc for priority and mode_selection members
2026-03-16 6:17 ` Greg Kroah-Hartman
@ 2026-03-16 12:04 ` Krzysztof Kozlowski
0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-16 12:04 UTC (permalink / raw)
To: Greg Kroah-Hartman, Kit Dallege; +Cc: Heikki Krogerus, linux-usb, linux-kernel
On 16/03/2026 07:17, Greg Kroah-Hartman wrote:
> On Sun, Mar 15, 2026 at 03:57:41PM +0100, Kit Dallege wrote:
>> Document the priority and mode_selection members of struct
>> typec_altmode that were added without kernel-doc descriptions.
>>
>> This fixes the following warnings when building with W=1:
>>
>> include/linux/usb/typec_altmode.h: struct member 'priority' not described in 'typec_altmode'
>> include/linux/usb/typec_altmode.h: struct member 'mode_selection' not described in 'typec_altmode'
>>
>> Signed-off-by: Kit Dallege <xaum.io@gmail.com>
>> Signed-off-by: kovan <xaum.io@gmail.com>
>
> Please use your name, not an alias, to sign off on a patch. And no need
> to list it twice.
>
> Also, where are the other 5 patches here?
FWIW, other postings from this author were called as AI slop, so the
contents should be thoroughly reviewed.
https://lore.kernel.org/all/?q=f%3A%22Kit+Dallege%22
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-16 12:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-15 14:57 [PATCH 2/5] usb: typec: add kernel-doc for priority and mode_selection members Kit Dallege
2026-03-16 6:17 ` Greg Kroah-Hartman
2026-03-16 12:04 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox