linux/drivers
Linus Torvalds e7c6e405e1 Fix misc new gcc warnings
It seems like Fedora 34 ends up enabling a few new gcc warnings, notably
"-Wstringop-overread" and "-Warray-parameter".

Both of them cause what seem to be valid warnings in the kernel, where
we have array size mismatches in function arguments (that are no longer
just silently converted to a pointer to element, but actually checked).

This fixes most of the trivial ones, by making the function declaration
match the function definition, and in the case of intel_pm.c, removing
the over-specified array size from the argument declaration.

At least one 'stringop-overread' warning remains in the i915 driver, but
that one doesn't have the same obvious trivial fix, and may or may not
actually be indicative of a bug.

[ It was a mistake to upgrade one of my machines to Fedora 34 while
  being busy with the merge window, but if this is the extent of the
  compiler upgrade problems, things are better than usual    - Linus ]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-27 17:05:53 -07:00
..
accessibility TTY/Serial driver updates for 5.13-rc1 2021-04-26 11:20:10 -07:00
acpi CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
amba
android selinux/stable-5.13 PR 20210426 2021-04-27 13:42:11 -07:00
ata
atm The usual updates from the irq departement: 2021-04-26 09:43:16 -07:00
auxdisplay auxdisplay: Remove in_interrupt() usage. 2021-03-16 16:32:40 +01:00
base regmap: Updates for v5.13 2021-04-26 16:21:16 -07:00
bcma
block xen-blkfront: Fix 'physical' typos 2021-04-23 09:43:42 +02:00
bluetooth TTY/Serial driver updates for 5.13-rc1 2021-04-26 11:20:10 -07:00
bus ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
cdrom
char ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
clk CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
clocksource ARM: platform support for Apple M1 2021-04-26 12:30:36 -07:00
comedi staging: comedi: move out of staging directory 2021-04-15 09:26:25 +02:00
connector
counter 1st set of IIO/counter device support, features and cleanup in the 5.13 cycle 2021-03-26 12:09:47 +01:00
cpufreq Power management updates for 5.13-rc1 2021-04-26 15:10:25 -07:00
cpuidle Merge back earlier cpuidle updates for v5.13. 2021-04-08 20:05:49 +02:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-04-26 08:51:23 -07:00
cxl cxl/mem: Fix memory device capacity probing 2021-04-16 18:21:56 -07:00
dax dax: avoid -Wempty-body warnings 2021-03-22 09:20:06 -07:00
dca
devfreq PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr() 2021-04-08 13:14:51 +09:00
dio
dma ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
dma-buf
edac EDAC: altera: merge ARCH_SOCFPGA and ARCH_STRATIX10 2021-03-23 11:03:35 -05:00
eisa
extcon Driver core changes for 5.13-rc1 2021-04-26 11:05:36 -07:00
firewire The usual updates from the irq departement: 2021-04-26 09:43:16 -07:00
firmware CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
fpga ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
fsi
gnss
gpio ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
gpu Fix misc new gcc warnings 2021-04-27 17:05:53 -07:00
greybus greybus: es2: fix kernel-doc warnings 2021-04-16 07:26:50 +02:00
hid HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices 2021-03-16 15:41:20 +01:00
hsi
hv drivers: hv: Create a consistent pattern for checking Hyper-V hypercall status 2021-04-21 09:49:19 +00:00
hwmon ACPI updates for 5.13-rc1 2021-04-26 15:03:23 -07:00
hwspinlock
hwtracing coresight: etm-perf: Fix define build issue when built as module 2021-04-16 09:34:57 +02:00
i2c ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
i3c
ide
idle intel_idle: add Iclelake-D support 2021-04-08 19:18:07 +02:00
iio spi: Updates for v5.13 2021-04-26 16:32:11 -07:00
infiniband CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
input ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
interconnect CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
iommu iommu/tegra-smmu: Make tegra_smmu_probe_device() to handle all IOMMU phandles 2021-03-18 11:31:12 +01:00
ipack
irqchip ARM: platform support for Apple M1 2021-04-26 12:30:36 -07:00
isdn isdn: capi: fix mismatched prototypes 2021-03-22 16:51:11 -07:00
leds treewide: change my e-mail address, fix my name 2021-04-09 14:54:23 -07:00
lightnvm
macintosh
mailbox treewide: change my e-mail address, fix my name 2021-04-09 14:54:23 -07:00
mcb
md CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
media Fix misc new gcc warnings 2021-04-27 17:05:53 -07:00
memory Power management updates for 5.13-rc1 2021-04-26 15:10:25 -07:00
memstick
message
mfd hwmon updates for v5.13 2021-04-26 14:59:21 -07:00
misc CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
mmc Power management updates for 5.13-rc1 2021-04-26 15:10:25 -07:00
most Staging/IIO driver updates for 5.13-rc1 2021-04-26 11:14:21 -07:00
mtd MTD core: 2021-04-26 16:16:09 -07:00
mux mux: gpio: Simplify code by using dev_err_probe() 2021-04-02 16:28:53 +02:00
net ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
nfc
ntb
nubus
nvdimm libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC 2021-04-09 21:56:01 -07:00
nvme treewide: Change list_sort to use const pointers 2021-04-08 16:04:22 -07:00
nvmem nvmem: qfprom: Add support for fuse blowing on sc7280 2021-04-02 16:28:10 +02:00
of ARM: platform support for Apple M1 2021-04-26 12:30:36 -07:00
opp opp: Change return type of devm_pm_opp_attach_genpd() 2021-03-16 10:14:11 +05:30
parisc
parport module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
pci CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
pcmcia
perf perf/arm_pmu_platform: Clean up with dev_printk 2021-03-30 11:41:50 +01:00
phy phy: Revert "phy: ti: j721e-wiz: add missing of_node_put" 2021-04-16 07:27:37 +02:00
pinctrl ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
platform USB/Thunderbolt patches for 5.13-rc1 2021-04-26 11:32:23 -07:00
pnp
power power: supply: axp20x_usb_power: fix work-queue init 2021-03-26 15:45:33 +01:00
powercap powercap: Add Hygon Fam18h RAPL support 2021-03-18 19:42:23 +01:00
pps TTY/Serial driver updates for 5.13-rc1 2021-04-26 11:20:10 -07:00
ps3
ptp ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation 2021-03-24 12:10:03 -07:00
pwm pwm: Add Raspberry Pi Firmware based PWM bus 2021-03-22 17:59:52 +01:00
rapidio
ras RAS/CEC: Correct ce_add_elem()'s returned values 2021-04-07 11:52:26 +02:00
regulator regulator: Updates for v5.13 2021-04-26 16:24:42 -07:00
remoteproc remoteproc: pru: Fix firmware loading crashes on K3 SoCs 2021-03-17 14:15:07 -05:00
reset ARM SCMI updates for v5.13 2021-04-08 17:38:20 +02:00
rpmsg
rtc iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common 2021-03-11 20:47:09 +00:00
s390 Merge commit '71b25f4df984' from tty/tty-next 2021-04-08 19:17:33 +09:00
sbus module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
scsi SCSI fixes on 20210417 2021-04-17 20:25:33 -07:00
sh The usual updates from the irq departement: 2021-04-26 09:43:16 -07:00
siox
slimbus
soc ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
soundwire soundwire: intel_init: test link->cdns 2021-04-06 10:26:44 +05:30
spi CFI on arm64 series for v5.13-rc1 2021-04-27 10:16:46 -07:00
spmi
ssb
staging spi: Updates for v5.13 2021-04-26 16:32:11 -07:00
target scsi: target: iscsi: Fix zero tag inside a trace event 2021-04-05 23:09:37 -04:00
tc
tee ARM: SoC drivers for v5.13 2021-04-26 12:11:52 -07:00
thermal thermal/core: Add NULL pointer check before using cooling device stats 2021-03-17 09:55:58 +01:00
thunderbolt thunderbolt: Changes for v5.13 merge window 2021-04-13 12:17:14 +02:00
tty Power management updates for 5.13-rc1 2021-04-26 15:10:25 -07:00
uio uio: uio_dfl: add userspace i/o driver for DFL bus 2021-03-28 14:58:18 +02:00
usb USB/Thunderbolt patches for 5.13-rc1 2021-04-26 11:32:23 -07:00
vdpa vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails 2021-04-22 18:15:31 -04:00
vfio vfio/pci: Add missing range check in vfio_pci_mmap 2021-04-13 08:29:16 -06:00
vhost vhost-vdpa: protect concurrent access to vhost device iotlb 2021-04-22 18:15:31 -04:00
video TTY/Serial driver updates for 5.13-rc1 2021-04-26 11:20:10 -07:00
virt virt: acrn: Fix document of acrn_msi_inject() 2021-03-24 08:26:30 +01:00
virtio virtio: fixes, cleanups 2021-03-18 11:20:35 -07:00
visorbus
vlynq
vme
w1 w1: ds28e17: Use module_w1_family to simplify the code 2021-04-10 10:58:21 +02:00
watchdog ARM: platform support for Nuvoton WPCM450 2021-04-26 12:25:29 -07:00
xen xen: branch for v5.13-rc1 2021-04-26 10:37:45 -07:00
zorro
Kconfig staging: comedi: move out of staging directory 2021-04-15 09:26:25 +02:00
Makefile staging: comedi: move out of staging directory 2021-04-15 09:26:25 +02:00