zephyr/drivers
Daniel Leung e38fc6de8a cmake: enable -Wshadow partially for in-tree code
This enables -Wshadow to warn about shadow variables on
in tree code under arch/, boards/, drivers/, kernel/,
lib/, soc/, and subsys/.

Note that this does not enable it globally because
out-of-tree modules will probably take some time to fix
(or not at all depending on the project), and it would be
great to avoid introduction of any new shadow variables
in the meantime.

Also note that this tries to be done in a minimally
invasive way so it is easy to revert when we enable
-Wshadow globally. Source files under modules/, samples/
and tests/ are currently excluded because there does not
seem to be a trivial way to add -Wshadow there without
going through all CMakeLists.txt to add the option
(as there are 1000+ files to change).

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-22 11:39:58 +02:00
..
adc drivers: adc: add max1125x driver 2023-08-18 12:05:17 +02:00
audio
auxdisplay drivers: auxdisplay: Add driver for PTC PT6314 VFD controller 2023-07-14 12:09:03 +02:00
bbram
bluetooth bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
cache
can drivers: can: stm32h7: fdcan: rename driver to match reference manuals 2023-08-16 13:03:00 +02:00
clock_control clock_control: renames shadow variables 2023-08-10 08:14:12 +00:00
console
coredump
counter counter: rename shadow variables 2023-08-22 11:39:58 +02:00
crypto drivers: crypto: Add NXP MCUX DCP driver 2023-07-26 09:09:48 +02:00
dac
dai dai: rename shadow variables 2023-08-10 08:14:12 +00:00
disk
display drivers: display: add driver for HX8394 TFT LCD controller 2023-07-28 09:06:17 +00:00
dma drivers: dma: remove unnecessary null check 2023-08-15 11:16:19 +00:00
edac
eeprom drivers: eeprom: mchp: Enable low power feature 2023-08-09 08:23:06 +00:00
entropy drivers: entropy native: Refactor to support embedded libCs 2023-07-07 14:32:41 +02:00
espi npcx: espi: move DT nodes to specific files which support them 2023-08-17 10:25:49 +01:00
ethernet drivers: eth_e1000: Enable the correct IRQ for multi-instance 2023-08-18 10:13:12 +02:00
flash drivers: flash: spi_nor: Add reset pin 2023-08-21 09:52:54 -05:00
fpga drivers: fpga: imply CRC 2023-08-18 08:52:16 +03:00
fuel_gauge drivers: fuel_gauge: max17048: Remov unused var 2023-07-13 09:21:52 +02:00
gpio drivers: gpio: gpio_intel: Corrected offset to check PMODE 2023-08-16 14:52:47 +02:00
hwinfo soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
hwspinlock drivers: hwspinlock: constify config struct 2023-08-17 15:40:17 +02:00
i2c drivers: i2c: Add Ambiq I2C driver 2023-08-17 15:15:45 +02:00
i2s drivers: i2s: mcux_flexcomm: fix multiple bugs 2023-07-19 10:36:23 -05:00
i3c
ieee802154 drivers: ieee802154_nrf5: energy_detected api change adjust 2023-08-20 19:31:21 +02:00
input input: gpio_keys: drop struct gpio_keys_data 2023-08-21 16:08:42 +02:00
interrupt_controller intc: nxp_s32: initialize after core intc 2023-08-16 10:21:33 +02:00
ipm drivers: ipm: xlnx: remove redundant code 2023-08-16 20:31:17 +02:00
kscan input: rename callback define macro to INPUT_CALLBACK_DEFINE 2023-08-10 08:15:10 +00:00
led drivers: led: Add Onsemi ncp5623c driver 2023-08-04 10:47:31 -05:00
led_strip
lora
mbox mbox: nxp_s32: fix semicolon typos 2023-08-09 08:34:28 +00:00
mdio ethernet: smsc91x: select MDIO 2023-08-16 14:52:31 +02:00
memc drivers: hyperram: Add Winbond W956A8MBYA driver 2023-08-15 21:51:57 +00:00
mfd drivers: mfd: npm1300: Added event interrupt handling 2023-08-21 10:04:03 +02:00
mipi_dsi drivers: mipi_dsi: dsi_mcux_2l: add support for MIPI generic long write CMD 2023-07-28 09:06:17 +00:00
misc
mm drivers: mm: Fix macro call in RAT driver 2023-07-14 09:37:53 +02:00
modem drivers/modem/hl7800.c: Fix ictx reference 2023-08-20 17:57:11 +01:00
net net: rename shadow variables 2023-08-10 08:14:43 +00:00
neural_net
pcie pcie: host: guard include of ACPICA header file 2023-07-24 09:07:45 +00:00
peci
pinctrl pinctrl: renames shadow variables 2023-08-10 08:14:12 +00:00
pm_cpu_ops drivers: pm_cpu_ops: psci: provide sys_poweroff hook 2023-08-04 16:59:36 +02:00
power_domain power_domain: gpio: init with pm_device_driver_init 2023-07-26 08:16:44 +00:00
ps2
ptp_clock
pwm drivers: pwm_nrf5_sw: Rename to pwm_nrf_sw 2023-08-16 16:33:03 +02:00
regulator regulator: shell: add device name completion 2023-08-21 10:56:12 +02:00
reset drivers: reset: Add reset controller for Intel Agilex5 platform 2023-07-25 16:58:01 +00:00
retained_mem drivers: retained_mem: Allow disabling mutex support 2023-07-12 11:51:30 +02:00
rtc drivers/rtc/rtc_mc146818.c: Add input clock config to driver 2023-08-09 07:27:40 -04:00
sdhc drivers: sdhc: enable pwr-gpios property within SPI SDHC driver 2023-07-28 09:07:55 +00:00
sensor drivers: imply CRC where applicable 2023-08-18 08:52:16 +03:00
serial uart_sam0: don't consume CONFIG_UART_ASYNC_API directly. 2023-08-21 17:15:29 +02:00
sip_svc
smbus drivers: smbus: Select PCIE and DYNAMIC_INTERRUPTS 2023-08-10 13:59:15 +03:00
spi drivers: spi_nrfx_spis: Enable required SPI_SLAVE option in Kconfig 2023-08-17 11:02:24 +02:00
syscon
timer drivers: timer: Add driver for Ambiq system timer (STIMER) 2023-08-04 10:48:58 +02:00
usb usb: fixes shadow variables 2023-08-10 08:14:12 +00:00
usb_c drivers: usb-c: fix - check if adc_channel is ready before use 2023-07-17 10:16:22 +00:00
video video: mcux_csi: set a dedicated init priority for video_mcux_csi 2023-07-19 18:00:20 +00:00
virtualization samples: drivers: ipm: added IPM over IVSHMEM sample 2023-07-20 10:44:57 +00:00
w1 drivers: move to timepoint API 2023-07-25 09:12:26 +02:00
watchdog drivers: watchdog: add WDT shell commands 2023-08-21 15:01:30 -05:00
wifi driver: wifi: esp32: fix esp32_wifi_send not work in ap mode 2023-08-16 14:56:27 +02:00
xen
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig drivers: introduce hardware spinlock framework 2023-08-16 20:46:55 +02:00