freebsd-skq/sys/dev/vnic
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
..
lmac_if.m
mrml_bridge.c
nic_main.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nic_reg.h
nic.h
nicvf_main.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nicvf_queues.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
nicvf_queues.h
q_struct.h
thunder_bgx_fdt.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
thunder_bgx_var.h
thunder_bgx.c
thunder_bgx.h
thunder_mdio_fdt.c
thunder_mdio_var.h
thunder_mdio.c