Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40543 )
Change subject: device: Add helper function to find matching device on bus ......................................................................
Patch Set 3: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/40543/3/src/device/device_const.c File src/device/device_const.c:
https://review.coreboot.org/c/coreboot/+/40543/3/src/device/device_const.c@7... PS3, Line 75: struct device *child = NULL; DEVTREE_CONST
src/device/device_const.c: In function 'dev_find_matching_device_on_bus': src/device/device_const.c:77:16: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] while ((child = dev_bus_each_child(bus, child)) != NULL) { ^