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

Configure Feed

Select the types of activity you want to include in your feed.

drivers: of: Fixed kernel doc warning

property.c:1220 : Fixed excess struct member definition warning
property.c:444 : Fixed missing a blank line after declarations

Signed-off-by: Muzammil Ashraf <m.muzzammilashraf@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20231219062317.17650-1-muzammil@dreambigsemi.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Muzammil Ashraf and committed by
Rob Herring
09c49315 3f4cc70d

+4 -3
+4 -3
drivers/of/property.c
··· 441 441 const char **out_string) 442 442 { 443 443 const struct property *prop = of_find_property(np, propname, NULL); 444 + 444 445 if (!prop) 445 446 return -EINVAL; 446 447 if (!prop->length) ··· 1218 1217 * 1219 1218 * @parse_prop: function name 1220 1219 * parse_prop() finds the node corresponding to a supplier phandle 1221 - * @parse_prop.np: Pointer to device node holding supplier phandle property 1222 - * @parse_prop.prop_name: Name of property holding a phandle value 1223 - * @parse_prop.index: For properties holding a list of phandles, this is the 1220 + * parse_prop.np: Pointer to device node holding supplier phandle property 1221 + * parse_prop.prop_name: Name of property holding a phandle value 1222 + * parse_prop.index: For properties holding a list of phandles, this is the 1224 1223 * index into the list 1225 1224 * @optional: Describes whether a supplier is mandatory or not 1226 1225 * @node_not_dev: The consumer node containing the property is never converted