freebsd-dev/sys/dev/fdt
Oleksandr Tymoshenko 108117cc22 [ofw] fix errneous checks for OF_finddevice(9) return value
OF_finddevices returns ((phandle_t)-1) in case of failure. Some code
in existing drivers checked return value to be equal to 0 or
less/equal to 0 which is also wrong because phandle_t is unsigned
type. Most of these checks were for negative cases that were never
triggered so trhere was no impact on functionality.

Reviewed by:	nwhitehorn
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D14645
2018-03-20 00:03:49 +00:00
..
fdt_arm_platform.c Make the default FDT implementation of platform_mp_setmaxid use the cpu 2017-03-17 12:45:53 +00:00
fdt_clock_if.m
fdt_clock.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_clock.h
fdt_common.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
fdt_common.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
fdt_intr.h Pull the common FDT interrupt values into a new header rather than be magic 2016-10-26 15:18:08 +00:00
fdt_pinctrl_if.m
fdt_pinctrl.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_pinctrl.h
fdt_slicer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
fdt_static_dtb.S sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
simplebus.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
simplebus.h