linux/drivers/media
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
..
cec Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
common Fixes around VM_FPNMAP and follow_pfn 2021-02-22 17:45:02 -08:00
dvb-core media: dvb_frontend: Fix fall-through warnings for Clang 2021-01-27 12:55:53 +01:00
dvb-frontends media: mxl692: MaxLinear 692 ATSC demod/tuner driver 2021-02-05 23:37:59 +01:00
firewire module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
i2c media: i2c: max9271: Add MODULE_* macros 2021-02-10 22:26:04 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: ipu3-cio2: Switch to use SOFTWARE_NODE_REFERENCE() 2021-04-05 13:18:22 +02:00
platform module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
radio isa: Make the remove callback for isa drivers return void 2021-01-26 07:42:27 +01:00
rc media: rc: compile rc-cec.c into rc-core 2021-03-11 11:40:28 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vidtv: adapter->mdev was set too late 2021-02-05 23:52:58 +01:00
tuners media: qm1d1c0042: fix error return code in qm1d1c0042_init() 2021-01-27 12:59:17 +01:00
usb Fix misc new gcc warnings 2021-04-27 17:05:53 -07:00
v4l2-core media: Remove the legacy v4l2-clk API 2021-02-06 09:39:44 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00