mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] device property: add missing kernel-doc for property_entry
@ 2026-07-19 22:36 Randy Dunlap
  2026-07-20  6:22 ` Sakari Ailus
  2026-07-20 11:51 ` Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Randy Dunlap @ 2026-07-19 22:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Andy Shevchenko, Daniel Scally, Heikki Krogerus,
	Sakari Ailus, linux-acpi, Greg Kroah-Hartman, Rafael J. Wysocki,
	Danilo Krummrich, driver-core

Add kernel-doc for the missing fields in union value:

Warning: include/linux/property.h:406 struct member 'u8_data' not
 described in 'property_entry'
Warning: include/linux/property.h:406 struct member 'u16_data' not
 described in 'property_entry'
Warning: include/linux/property.h:406 struct member 'u32_data' not
 described in 'property_entry'
Warning: include/linux/property.h:406 struct member 'u64_data' not
 described in 'property_entry'
Warning: include/linux/property.h:406 struct member 'str' not described
 in 'property_entry'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Daniel Scally <djrscally@gmail.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-acpi@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: driver-core@lists.linux.dev

 include/linux/property.h |    5 +++++
 1 file changed, 5 insertions(+)

--- linux-next-20260717.orig/include/linux/property.h
+++ linux-next-20260717/include/linux/property.h
@@ -388,6 +388,11 @@ struct software_node_ref_args {
  * @type: Type of the data in unions.
  * @pointer: Pointer to the property when it is not stored inline.
  * @value: Value of the property when it is stored inline.
+ * @u8_data: @value as an array of u8 numbers
+ * @u16_data: @value as an array of u16 numbers
+ * @u32_data: @value as an array of u32 numbers
+ * @u64_data: @value as an array of u64 numbers
+ * @str: @value as an array of char pointers
  */
 struct property_entry {
 	const char *name;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-20 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-19 22:36 [PATCH] device property: add missing kernel-doc for property_entry Randy Dunlap
2026-07-20  6:22 ` Sakari Ailus
2026-07-20 11:51 ` Andy Shevchenko
2026-07-20 15:30   ` Randy Dunlap
2026-07-20 19:29     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®