1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00
freebsd/sys/dev
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
..
aac Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat. 2018-03-14 21:11:41 +00:00
aacraid Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat. 2018-03-14 21:11:41 +00:00
acpi_support
acpica Merge ACPICA 20180313. 2018-03-14 23:45:48 +00:00
adb
adlink
advansys Fix kernel build after r328523, correct variable names 2018-01-29 04:04:52 +00:00
ae
age
agp
aha Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
ahci Add AHCI/XHCI device IDs found on AMD 1950X+X399 system 2017-12-29 22:24:41 +00:00
aic Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
aic7xxx Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
al_eth Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
alc
ale
alpm
altera
amd_ecc_inject
amdpm
amdsbwd amdsbwd: fix handling of timeout values beyond the supported range 2018-01-10 17:35:00 +00:00
amdsmb
amdsmn
amdtemp
amr
an Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
arcmsr
asmc asmc: update temperature sensor name/description 2018-03-08 18:52:47 +00:00
ata Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
ath [ath] Use the BSSID address logic for STA VAPs too. 2018-02-07 09:37:22 +00:00
atkbdc psm(4): Initialize variables before use 2018-03-06 20:31:14 +00:00
auxio
axgbe Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
bce
beri Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
bfe
bge
bhnd siba(4): Ignore disabled per-core address match entries. 2018-02-12 19:36:26 +00:00
bktr bktr: correct Japan IF frequency 2018-03-08 19:24:10 +00:00
bm
bnxt Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
buslogic Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
bvm
bwi
bwn net80211: wrap protection frame allocation into ieee80211_alloc_prot() 2018-03-09 11:33:56 +00:00
bxe dev/bxe: make use of mallocarray(9). 2018-01-10 20:05:19 +00:00
cadence kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
cardbus 1k objects on the stack are a bad idea. While it's likely safe in this 2017-12-12 20:22:09 +00:00
cas
ce
cesa SPDX: fix wrong license ID tag in dev/cesa. 2017-12-28 03:10:57 +00:00
cfe
cfi
chromebook_platform
ciss Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
cm
cmx
coretemp
cp
cpuctl IBRS support, AKA Spectre hardware mitigation. 2018-01-31 14:36:27 +00:00
cpufreq
cs Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
ctau
cx
cxgb cxgb(4): Validate offset/len in the GET_EEPROM ioctl. 2018-01-24 05:16:11 +00:00
cxgbe Fix the check for an empty send socket buffer on a TOE TLS socket. 2018-03-14 20:49:51 +00:00
cy
cyapa
dc
dcons
de kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
dme
dpaa Allow bman-portals and qman-portals to attach to simple-bus 2017-12-14 04:41:07 +00:00
dpms
dpt Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
drm kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
drm2 Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
dwc
e1000 e1000g: this statement may fall through 2018-03-12 17:05:53 +00:00
ed Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
efidev Use EFI RTC capabilities info when registering, add bootverbose diagnostics. 2018-03-16 18:16:27 +00:00
ena
ep Fix r327383: 2017-12-30 19:27:22 +00:00
esp Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
et
etherswitch [arswitch] Implement the switch MAC address fetch API. 2018-02-06 08:35:49 +00:00
evdev
ex Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
exca
extres extres/regulators: Add sysctls for regulators 2018-03-11 04:37:05 +00:00
fb Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
fdc Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
fdt [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
fe Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
ffec
filemon
firewire Garbage collect IFCAP_POLLING_NOCOUNT. It wasn't used since very 2017-12-06 23:03:34 +00:00
flash Add the device/chip type to the disk d_descr field, and print more info 2018-03-18 18:58:47 +00:00
fxp
gem
glxiic
glxsb
gpio Add SPDX tags for chvgpio driver sources 2018-02-24 20:19:31 +00:00
gxemul
hdmi
hifn
hme
hpt27xx hpt27xx: plug info leak in hpt_ioctl 2018-01-02 18:29:44 +00:00
hptiop
hptmv
hptnr hpt{nr,rr}: plug info leak in hpt_ioctl 2018-01-02 18:31:32 +00:00
hptrr hpt{nr,rr}: plug info leak in hpt_ioctl 2018-01-02 18:31:32 +00:00
hwpmc Fix pmcstat exit from kernel introduced by r325275. 2018-01-17 16:41:22 +00:00
hyperv PTI for amd64. 2018-01-17 11:44:21 +00:00
ic
ichiic [ig4] Add support for i2c controllers on Skylake and Kaby Lake 2018-03-06 23:39:43 +00:00
ichsmb
ichwd
ida
if_ndis Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
iicbus Build the ds1672 driver as a module. Add a detach() to unregister the rtc. 2018-03-06 02:30:34 +00:00
iir
imcsmb imcsmb(4): Intel integrated Memory Controller (iMC) SMBus controller driver 2018-03-03 01:53:51 +00:00
intel
intpm Use '#' rather than some made up name for fields we want to ignore. 2017-12-22 17:53:27 +00:00
io
ioat Use '#' rather than some made up name for fields we want to ignore. 2017-12-22 17:53:27 +00:00
ipmi
ips
ipw
isci Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDO 2018-02-23 20:01:42 +00:00
iscsi Fix typo in a warning message. 2018-03-14 18:27:06 +00:00
iscsi_initiator
iser
isl
ismt
isp Increase ABOUT FIRMWARE command timeout to 5s. 2018-03-15 01:07:21 +00:00
ispfw Update QLogic ISP 24xx/25xx chips firmware to 8.07.00. 2018-03-02 19:50:41 +00:00
iwi Remove unused variable. 2018-03-08 22:04:54 +00:00
iwm [net80211] convert all of the WME use over to a temporary copy of WME info. 2018-01-02 00:07:28 +00:00
iwn [net80211] convert all of the WME use over to a temporary copy of WME info. 2018-01-02 00:07:28 +00:00
ixgb
ixgbe ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixl Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
jedec_dimm jedec_dimm(4): report asset info and temperatures for DDR3 and DDR4 DIMMs 2018-02-22 23:18:46 +00:00
jedec_ts
jme
joy Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
kbd Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
kbdmux
ksyms
le Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
led SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
lge
liquidio Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
lmc SPDX: Reverse License ID tags from the lmc driver. 2017-12-22 17:15:02 +00:00
malo
mbox
mc146818 SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
md Add a request structure and make the implementation use it. 2018-03-15 21:42:49 +00:00
mdio
mem
mfi
mge
mii Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
mk48txx
mlx
mlx4 Bump version information in mlx4ib(4). 2018-03-07 13:59:46 +00:00
mlx5 mlx5(4): Remove redundant declaration of mlx5_enter_error_state 2018-03-10 00:59:48 +00:00
mly
mmc dwmmc_rockchip: Add ifdefs on EXT_RESOURCES 2018-02-28 19:05:25 +00:00
mmcnull
mn SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
mpr Update mpr(4) driver from v15 to v18 from Broadcom site. 2018-03-19 23:21:45 +00:00
mps Fix mps deadlock when handling panic 2018-03-14 21:32:23 +00:00
mpt Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
mrsas Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
mse Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
msk
mthca Optimize ibcore RoCE address handle creation from user-space. 2018-03-05 14:34:52 +00:00
mvs kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
mwl [net80211] convert all of the WME use over to a temporary copy of WME info. 2018-01-02 00:07:28 +00:00
mxge mxge(4) should pass unhandled ioctls to ether_ioctl() 2018-02-15 03:22:04 +00:00
my
nand
ncr
nctgpio nctgpio: add new device id for the GPIO chip in PCEngines APU3 2018-01-02 20:58:05 +00:00
ncv Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
neta
netfpga10g/nf10bmac
netmap Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
nfe
nfsmb
nge
nmdm
nsp Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
ntb Try to preallocate receive memory early. 2018-01-31 01:04:36 +00:00
null
nvd
nvme Try polling the qpairs on timeout. 2018-03-16 05:23:48 +00:00
nvram
nvram2env
nxge
oce
ofw [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
otus otus(4): check mcast / mgt / ucast rates during Tx descriptor setup 2018-03-11 00:38:08 +00:00
ow [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
pbio
pccard Minor formatting and style tweaks to some comments. 2017-12-28 18:51:35 +00:00
pccbb Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
pcf
pci Create macros for the ACPI interrupt cross references. This is considered a 2018-03-07 13:16:03 +00:00
pcn
pdq
pms
powermac_nvram
ppbus SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
ppc Create a new ISA_PNP_INFO macro. Use this macro every where we have 2017-12-23 06:49:27 +00:00
proto
psci Add a function to find the PSCI version the firmware implements from 2018-01-09 15:57:09 +00:00
pst Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
pty
puc
qlnx/qlnxe
qlxgb
qlxgbe 1. Added support to offline a port if is error recovery on successful. 2018-02-23 03:36:24 +00:00
qlxge
quicc
ral net80211: wrap protection frame allocation into ieee80211_alloc_prot() 2018-03-09 11:33:56 +00:00
random random(4): Poll for signals during large reads 2018-03-16 18:50:26 +00:00
rc
rccgpio
re
rl
rndtest
rp Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
rt
rtwn rtwn(4): de-hardcode ('h/w rate index' - 'corresponding MCS index') constant 2018-03-16 01:03:10 +00:00
safe
sbni Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
scc
sdhci Fix build when option MMCCAM is defined. 2018-03-08 22:49:36 +00:00
sec
sf
sfxge kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
sge
siis
sio kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
sis
sk
smbus
smc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
sn
snp
sound Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
speaker
spibus Provide public declarations for ofw_spibus_driver and ofw_spibus_devclass 2018-02-18 23:35:23 +00:00
ste
stg Tag the current round of deprecated drivers. 2018-01-29 00:14:46 +00:00
stge
sym
syscons Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
tdfx
terasic
ti
tl
tpm
trm
tsec
twa
twe
tws
tx
txp if_txpreg.h: drop clauses 3 and 4. 2017-12-29 00:59:56 +00:00
uart The Arm pl011 driver assumes it's running a devicetree based system. 2018-02-28 15:02:27 +00:00
ubsec
usb urtw(4), zyd(4): reduce code verbosity. 2018-03-16 00:38:10 +00:00
vge
viapm
viawd
videomode
virtio Add more virtqueue getter methods 2018-02-19 19:31:18 +00:00
vkbd
vmware/vmxnet3 Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
vnic [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
vr
vt vt_vga: check if VGA is available from ACPI FADT table 2018-03-13 09:38:53 +00:00
vte
vx
vxge
watchdog make SW_WATCHDOG dynamic 2018-01-03 00:56:30 +00:00
wb
wbwd Add IDs for Nuvoton NCT6793/NCT6795. 2018-01-13 16:31:07 +00:00
wi
wpi [net80211] convert all of the WME use over to a temporary copy of WME info. 2018-01-02 00:07:28 +00:00
wtap
xdma
xe
xen Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
xilinx
xl