1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/sys/dev
Pedro F. Giffuni 4d24901ac9 sys/dev: Replace zero with NULL for pointers.
Makes things easier to read, plus architectures may set NULL to something
different than zero.

Found with:	devel/coccinelle
MFC after:	3 weeks
2017-02-20 03:43:12 +00:00
..
aac Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
aacraid Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
acpi_support Hide unneeded message under bootverbose. 2017-01-27 14:17:48 +00:00
acpica acpica: remove a superfluous NULL check 2017-02-16 20:27:22 +00:00
adb Force the setting of bit 7 in the sysmouse packet byte 1 to be unsigned. 2017-01-30 02:32:33 +00:00
adlink
advansys Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ae
age
agp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
aha Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ahci Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
aic Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
aic7xxx Remove EISA support from ahc driver. The AIC-7770 chip can be on ISA, 2017-02-16 21:57:19 +00:00
al_eth sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
alc alc: Add Killer E2500 support 2017-01-16 03:03:47 +00:00
ale
alpm sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
altera Merge enhancements to the ALTERA Avalon bus generic device attachment 2017-01-28 13:25:06 +00:00
amdpm
amdsbwd the rest of changes intended to be committed in r306290 2016-09-24 07:59:54 +00:00
amdsmb
amdtemp Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
amr Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
an sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
arcmsr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
asmc [asmc] Add support for MacBook Pro 11,2 2017-02-17 18:49:18 +00:00
ata Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ath [ath] sigh, how'd I miss this. 2017-02-10 07:16:56 +00:00
atkbdc [psm] Fix calculation for clickpad softbuttons at the top 2017-02-15 02:52:43 +00:00
auxio Consistently use device_t 2016-08-09 19:32:06 +00:00
axgbe Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is unlikely 2017-02-15 13:56:04 +00:00
bce sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
beri sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bfe Check m_getcl() return value. 2016-10-25 16:28:30 +00:00
bge bge: Force chipid to 5720 A0 for 5717 C0 in an early place 2016-06-01 05:15:11 +00:00
bhnd sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bktr Consistently use device_t 2016-08-09 19:32:06 +00:00
bm
bnxt 2017 IFLIB updates in preparation for commits to e1000 and ixgbe. 2017-01-02 00:56:33 +00:00
buslogic sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bvm
bwi net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
bwn bhnd(4): Unify NVRAM/SPROM parsing, implement compact SPROM layout encoding. 2016-11-26 23:22:32 +00:00
bxe bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip 2017-02-15 14:34:40 +00:00
cadence
cardbus sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
cas
ce sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cesa Remove remaining ifdefs from CESA header 2017-02-02 06:07:39 +00:00
cfe Sync CFE interface with upstream cfe-1.4.2 release. 2016-08-01 16:26:08 +00:00
cfi
chromebook_platform add iic interface to ig4 driver, move isl and cyapa to iicbus 2016-10-30 12:15:33 +00:00
ciss In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
cm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cmx sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
coretemp Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
cp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cpuctl Increase the max allowed size of the microcode update blob for x86. 2016-11-11 18:57:41 +00:00
cpufreq Add generic device-tree cpufreq driver. 2016-09-06 20:43:26 +00:00
cs sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ctau sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cxgb Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel 2017-02-16 20:47:41 +00:00
cxgbe cxgbe/t4_tom: Fix CLIP entry refcounting on the passive side. Every 2017-02-06 17:48:25 +00:00
cy
cyapa add iic interface to ig4 driver, move isl and cyapa to iicbus 2016-10-30 12:15:33 +00:00
dc
dcons
de sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
digi
dme Remove outdated comment. 2016-11-17 14:43:13 +00:00
dpaa Simplify the page tracking for VA<->PA translations. 2016-11-16 05:24:42 +00:00
dpms
dpt Remove EISA support from dpt. Remove known EISA models from 2017-02-16 21:57:13 +00:00
drm sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
drm2 Really revert 312923 this time 2017-01-28 16:40:51 +00:00
dwc EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions. 2016-07-10 18:28:15 +00:00
e1000 Restore PBA setup for igb(4) class devices. 2017-02-19 05:06:29 +00:00
ed sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
efidev Do not try to create /dev/efi device node before devfs is initialized. 2016-10-16 06:07:43 +00:00
en
ep Remove EISA support for ep driver. Left in place EISA strings that are 2017-02-16 21:56:51 +00:00
esp Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
et sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
etherswitch arswitch: Ensure the lock is always held when calling arswitch_modifyreg() 2017-01-15 10:21:25 +00:00
evdev [evdev] Fix build for older versions of clang 2016-12-26 17:48:13 +00:00
ex
exca Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
extres clk_div: Add a div lookup table 2016-12-12 16:43:31 +00:00
fatm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
fb Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
fdc Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
fdt Make fdt_pm_mask_table internal to the Marvell code, it's unued anywhere 2017-01-26 13:04:14 +00:00
fe sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ffec Add definitions for the IEEE-1588 registers. 2017-02-18 18:27:28 +00:00
filemon Avoid taking PROC_LOCK in syscalls if not being traced. 2016-08-12 16:05:53 +00:00
firewire sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
flash [mx25l] add new device id. 2016-07-21 15:48:41 +00:00
fxp sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
gem
glxiic
glxsb
gpio [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
gxemul gxemul: 2017-02-06 11:37:20 +00:00
hatm sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
hdmi Add support for audio on I2S based DesignWare HDMI controllers. 2016-12-29 14:08:24 +00:00
hifn sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
hme
hpt27xx Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptiop sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptmv sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptnr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptrr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hwpmc Fix PMC architecture check to handle later IPAs including Skylake 2017-01-04 02:15:03 +00:00
hyperv hyperv/hn: add devctl_notify for VF_UP/DOWN events 2017-01-24 09:27:13 +00:00
ic - Remove i8255.h because it's pc98 device. 2017-01-29 03:34:49 +00:00
ichiic [ig4] Add ACPI platform support for ig4 driver 2016-12-26 22:13:43 +00:00
ichsmb Add some device IDs found in my new laptop. 2016-11-09 08:57:59 +00:00
ichwd
ida Remove support for EISA in the ida driver. Remove references to 2017-02-16 21:56:57 +00:00
if_ndis sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
iicbus sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
iir Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
intel [intelspi] Add SPI driver for Intel BayTrail SoC 2016-12-27 22:37:24 +00:00
intpm intpm: clean up intsmb_bread and intsmb_pcall 2016-11-11 15:08:12 +00:00
io
ioat ioat(4): Compile on i386 2016-12-04 04:04:57 +00:00
ipmi
ips sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ipw ipw: switch to ieee80211_add_channel() 2016-05-19 22:19:35 +00:00
isci Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
iscsi Freeze CAM SIM when request is postponed due to MaxCmdSN. 2017-02-17 04:34:17 +00:00
iscsi_initiator Use getsock_cap() instead of deprecated fgetsock(). 2017-01-13 18:36:46 +00:00
iser Make the iSCSI parameter negotiation more flexible. 2016-08-25 05:22:53 +00:00
isl add iic interface to ig4 driver, move isl and cyapa to iicbus 2016-10-30 12:15:33 +00:00
ismt
isp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ispfw
iwi iwi, ral, zyd: fix possible use-after-free. 2017-02-17 23:20:22 +00:00
iwm [iwm] Remove 1s delay after fw loading. Can't reproduce issues on AC8260. 2017-02-08 07:09:10 +00:00
iwn [net80211] RX parameter shuffle in net80211 in preparation for 4x4 NICs and 160MHz channels. 2017-02-20 02:08:08 +00:00
ixgb Consistently use device_t 2016-08-09 19:32:06 +00:00
ixgbe Fix reference to free memory in ixgbe/if_media.c 2017-01-20 17:16:48 +00:00
ixl ixl(4): Update to 1.7.12-k 2017-02-10 01:04:11 +00:00
jedec_ts jedec_ts: a driver for thermal sensors on memory modules 2016-10-22 08:00:46 +00:00
jme sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
joy
kbd Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kbdmux [evdev] Add evdev support to kbdmux(4) driver 2016-11-15 04:12:19 +00:00
ksyms
le sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
led
lge sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
lmc lmc(4): fix the build without the bpf device 2016-10-01 22:21:10 +00:00
malo net80211 + drivers: hide size of 'bands' array behind a macro. 2016-04-29 22:14:11 +00:00
mbox
mc146818
md sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
mdio
mem
mfi Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
mge sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
mii Add preliminary support for the RTL8153. 2016-10-31 05:58:11 +00:00
mk48txx
mlx Remove references to EISA support in mlx. The driver never supported 2017-02-16 21:56:32 +00:00
mlx4 Improve code readability and fix compilation error when using clang 4.x. 2017-02-15 18:31:09 +00:00
mlx5 Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry 2017-01-30 08:35:15 +00:00
mly In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
mmc Fix some more overly long lines, whitespace and other bugs according to 2017-02-04 19:35:38 +00:00
mn sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
mpr Initialize a stack variable in mprsas_get_sas_address_for_sata_disk 2017-01-30 19:49:08 +00:00
mps Rework the debug print API. Event printing no longer gets special handling. 2017-01-19 21:47:50 +00:00
mpt "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
mrsas Fix a typo introduced in r306024. 2017-01-23 21:09:27 +00:00
mse Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
msk Remove NULL checks after M_WAITOK allocations from msk(4). 2016-08-09 15:51:11 +00:00
mvs Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
mwl [net80211] RX parameter shuffle in net80211 in preparation for 4x4 NICs and 160MHz channels. 2017-02-20 02:08:08 +00:00
mxge mxge: Setup mbuf flowid before calling tcp_lro_rx(). 2016-05-12 03:36:49 +00:00
my
nand Fix typo in r311971. 2017-01-12 18:05:12 +00:00
ncr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
nctgpio
ncv
netfpga10g/nf10bmac sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
netmap sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
nfe
nfsmb
nge sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
nmdm
nsp sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ntb Pretend we support some IOCTLs to not scary upper layers. 2017-01-11 20:23:45 +00:00
null Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
nvd Report random flash storage as non-rotating to GEOM_DISK. 2017-01-12 08:53:10 +00:00
nvme Remove obsolete comment after prior rev. 2017-02-19 17:38:17 +00:00
nvram
nvram2env [nvram2env] split implementation into generic & MIPS-based code 2016-07-24 08:35:45 +00:00
nxge nxge(4): Remove useless self-assignment. 2016-06-03 15:33:21 +00:00
oce Update oce to version 11.0.50.0 2016-09-22 22:51:11 +00:00
ofw sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
otus net80211: convert all ieee80211_input_mimo*() consumers 2016-10-12 20:50:13 +00:00
ow ow_temp: Update the temperature visible via the sysctl atomically, rather 2016-12-22 00:09:53 +00:00
patm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
pbio
pccard sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
pccbb Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pcf sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
pci Remove PCI/EISA bridge support. But keep knowing that a chip is this 2017-02-16 21:57:30 +00:00
pcn
pdq Remove EISA attachment (fea) from pdq driver. Remove vestiges of 2017-02-16 21:57:08 +00:00
pms sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
powermac_nvram
ppbus sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ppc sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
proto
psci Add ACPI support to the PSCI driver. This checks the Fixed ACPI Description 2016-12-07 14:24:53 +00:00
pst
pty Provide counter_warning(9) KPI which allows to issue limited number of 2016-07-21 16:34:56 +00:00
puc Fix device delete child function. 2016-10-17 10:20:38 +00:00
qlxgb sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
qlxgbe Added support for if_transmit and if_qflush 2017-01-25 00:23:38 +00:00
qlxge net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
quicc
ral iwi, ral, zyd: fix possible use-after-free. 2017-02-17 23:20:22 +00:00
random Revert previous commit, until issue with sparc64 resolved. 2016-06-09 14:44:05 +00:00
rc sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
rccgpio Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. 2016-12-31 02:23:15 +00:00
re Disable CLKREQ for ASPM since re(4) doesn't implement link level power saving. 2016-10-27 02:20:13 +00:00
rl Add support for the TP-Link TG-3468 v2. 2016-09-21 14:15:15 +00:00
rndtest
rp
rt Set GDMA1 Frames Destination Port to Port 0 (CPU) 2017-02-09 07:29:07 +00:00
rtwn Sort REALTEK section and remove duplicate entry for RTL8192CU. 2017-01-24 03:00:22 +00:00
safe
sbni sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
scc
sdhci [sdhci_acpi] Add support for Bay Trail SDHC SD card slot 2017-02-14 00:04:36 +00:00
sec
sf sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
sfxge sfxge(4): compact the first hot part of RxQ control 2017-01-27 11:59:02 +00:00
sge
siba Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom 2016-06-04 19:53:47 +00:00
siis Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
sio Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
sis
sk sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
smbus smb: fix SMB_READB, SMB_READW, SMB_PCALL to work as documented 2016-11-11 14:41:02 +00:00
smc
sn sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
snp
sound Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
speaker
spibus [spibus] small code refactoring 2017-01-16 15:23:55 +00:00
ste
stg
stge
streams
sym sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
syscons Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
tdfx
terasic
ti sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
tl sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
tpm Consistently use device_t 2016-08-09 19:32:06 +00:00
trm Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
tsec Add support for NXP/Freescale etsec2 ethernet controller 2016-08-30 01:58:49 +00:00
twa In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
twe sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
tws Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
tx sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
txp
uart Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ubsec
usb Add USB Mass Storage CTL frontend. This makes it possible 2017-02-19 17:47:43 +00:00
utopia
vge
viapm
viawd
videomode
virtio vtnet: don't update VLAN filter when parent is not running 2017-02-13 21:44:29 +00:00
vkbd
vmware/vmxnet3 Spell VMXNET3_LEGACY_TX correctly. 2017-02-18 06:18:14 +00:00
vnic Add the folowing set accessor functions for recently-added members of ifnet 2017-01-31 16:12:31 +00:00
vr
vt Un-break vt(4) for {powerpc,powerpc64,sparc64} LINT kernel builds 2017-02-15 17:33:03 +00:00
vte
vx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
vxge sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
watchdog
wb
wbwd etc: minor spelling fixes. 2016-05-02 16:47:28 +00:00
wi wi: fix a typo. 2016-05-20 08:58:06 +00:00
wpi wpi: restore frame header before submitting an mbuf to 2016-10-08 20:41:08 +00:00
wtap etc: minor spelling fixes. 2016-05-02 16:47:28 +00:00
xdma Add parenthesis. 2016-12-30 16:26:54 +00:00
xe sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
xen In the netfront_rxq struct, we should use NET_RX_RING_SIZE, not 2017-01-03 17:24:56 +00:00
xilinx ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
xl sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00