mirror of
https://github.com/opnsense/src.git
synced 2026-03-03 13:51:30 -05:00
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 |
||
|---|---|---|
| .. | ||
| mmu_phyp.c | ||
| phyp-hvcall.h | ||
| phyp-hvcall.S | ||
| phyp_console.c | ||
| phyp_llan.c | ||
| phyp_vscsi.c | ||
| platform_chrp.c | ||
| plpar_iommu.c | ||
| plpar_iommu.h | ||
| plpar_pcibus.c | ||
| rtas_dev.c | ||
| rtas_pci.c | ||
| vdevice.c | ||
| xics.c | ||