openwrt/target/linux
Christian Marangi 4d702a5399
ath79: gpio-latch: fix compilation warning for wrong dev_err %
Fix compilation warning for using %d instead of %ld for gpio-latch in
dev_err.
Fix compilation warning:
In file included from ./include/linux/device.h:15,
                 from ./include/linux/gpio/driver.h:5,
                 from drivers/gpio/gpio-latch.c:13:
drivers/gpio/gpio-latch.c: In function 'gpio_latch_probe':
drivers/gpio/gpio-latch.c:137:46: error: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Werror=format=]
  137 |                                 dev_err(dev, "failed to get gpio %d: %d\n", i,
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:110:30: note: in definition of macro 'dev_printk_index_wrap'
  110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
      |                              ^~~
./include/linux/dev_printk.h:144:56: note: in expansion of macro 'dev_fmt'
  144 |         dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__)
      |                                                        ^~~~~~~
drivers/gpio/gpio-latch.c:137:33: note: in expansion of macro 'dev_err'
  137 |                                 dev_err(dev, "failed to get gpio %d: %d\n", i,
      |                                 ^~~~~~~
drivers/gpio/gpio-latch.c:137:71: note: format string is defined here
  137 |                                 dev_err(dev, "failed to get gpio %d: %d\n", i,
      |                                                                      ~^
      |                                                                       |
      |                                                                       int
      |                                                                      %ld
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:42 +02:00
..
airoha generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
apm821xx kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
archs38 kernel: Activate CONFIG_HARDENED_USERCOPY for all targets 2023-04-29 21:56:53 +02:00
armvirt generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
at91 generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
ath25 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
ath79 ath79: gpio-latch: fix compilation warning for wrong dev_err % 2023-05-12 03:15:42 +02:00
bcm27xx generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
bcm47xx bcm47xx: 5.15: fix compilation warning for yenta socket patchi 2023-05-12 03:15:37 +02:00
bcm53xx generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
bcm63xx bcm63xx: kernel: power cycle the bcm6358 USB PLL 2023-03-04 20:09:49 +01:00
bcm4908 bcm4908: 5.15: fix compilation error for BCM4908 pinmux patch 2023-05-12 03:15:34 +02:00
bmips bmips: fix external interrupt controller 2023-04-27 15:39:09 +02:00
gemini generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
generic kernel: psb6970: drop unused variable in psb6970_config_init 2023-05-12 03:15:36 +02:00
imx kernel: improve handling of CONFIG_IO_URING 2023-05-03 10:26:17 -07:00
ipq40xx ipq40xx: 5.15: add patch commenting unused sdhci function 2023-05-12 03:15:41 +02:00
ipq806x ipq806x: 5.15: drop arm override compile patch 2023-05-12 03:15:41 +02:00
ipq807x kernel: bump 5.15 to 5.15.109 2023-04-30 00:02:47 +02:00
kirkwood generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
lantiq lantiq: fix compilation warning in lantiq_etop_init 2023-05-12 03:15:36 +02:00
layerscape layerscape: 5.15: fix compilation warning for fsl ppfe driver 2023-05-12 03:15:41 +02:00
malta treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
mediatek mediatek: apply stock configuration for WAN-LED 2023-05-11 23:09:04 +02:00
mpc85xx kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
mvebu mvebu: 5.15: fix compilation warning for mangle bootargs patch 2023-05-12 03:15:42 +02:00
mxs generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
octeon octeon: switch to Kernel 5.15 by default 2023-04-08 00:47:12 +02:00
octeontx kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
omap omap: mark source only 2023-05-03 14:49:44 +02:00
oxnas oxnas: 5.15: fix mangle bootargs patch compilation warning 2023-05-12 03:15:38 +02:00
pistachio kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
qoriq kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
ramips ramips: 5.15: add patch fixing compilation warning for hsdma-mt7621 2023-05-12 03:15:39 +02:00
realtek realtek: 5.15: replace fallthrough comment for rtl838x ethernet driver 2023-05-12 03:15:40 +02:00
rockchip rockchip: disable UHS speed for ROC-RK3328-CC 2023-05-09 13:30:22 +08:00
sunxi kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
tegra tegra: switch to Kernel 5.15 by default 2023-04-08 00:30:22 +02:00
uml treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
x86 kernel: improve handling of CONFIG_IO_URING 2023-05-03 10:26:17 -07:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:41:12 +02:00