openwrt/target/linux
Mieczyslaw Nalewaj 4d18c41a6c kernel: mtk_bmt: counteracting calloc-transposed-args compiler warning
For kernel 6.12 there is a warning causing an error:
drivers/mtd/nand/mtk_bmt_v2.c: In function 'mtk_bmt_get_mapping_mask':
drivers/mtd/nand/mtk_bmt_v2.c:307:31: error: 'kmalloc_array_noprof' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  307 |         used = kcalloc(sizeof(unsigned long), BIT_WORD(bmtd.bmt_blk_idx) + 1, GFP_KERNEL);
      |                               ^~~~~~~~

Swapping the arguments solves the problem.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18701
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-13 22:07:11 +02:00
..
airoha kernel: bump 6.6 to 6.6.89 2025-05-03 19:57:53 +02:00
apm821xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
armsr armsr: drop GC sections ARMv7 patch 2025-04-14 10:28:50 +02:00
at91 at91bootstrap: put at91bootstrap images into image staging directory 2025-04-04 14:39:00 +02:00
ath79 linux: remove of_match_ptr from OF only drivers 2025-05-10 20:00:59 +02:00
bcm27xx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
bcm47xx bcm47xx: old gpio wdt: use remove_new 2025-04-28 10:31:59 +02:00
bcm53xx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
bcm4908 bcm63xx-cfe: install into image staging dir 2025-04-13 10:44:19 +02:00
bmips linux: remove of_match_ptr from OF only drivers 2025-05-10 20:00:59 +02:00
d1 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-08 11:33:56 +01:00
gemini Revert "gemini: Add module for VSC73xx switches" 2025-05-02 19:17:53 +02:00
generic kernel: mtk_bmt: counteracting calloc-transposed-args compiler warning 2025-05-13 22:07:11 +02:00
imx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
ipq40xx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
ipq806x generic: move QCOM SPI NAND driver to generic backports 2025-04-10 15:01:09 +02:00
ixp4xx kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
kirkwood kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
lantiq lantiq: xrx200_legacy: rename TP-LINK to TP-Link 2025-05-10 21:28:40 +02:00
layerscape kernel: bump 6.6 to 6.6.88 2025-05-03 19:57:53 +02:00
loongarch64 kernel: Add KERNEL_DCB (Data Center Bridging) 2025-03-09 17:05:26 +01:00
malta kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mediatek mediatek: filogic: fix wifi on ASUS RT-AX52 2025-05-13 03:32:26 +02:00
mpc85xx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
mvebu kernel: bump 6.6 to 6.6.88 2025-05-03 19:57:53 +02:00
mxs mxs: adapt default package list for Duckbill devices 2025-02-05 22:00:09 +01:00
octeon octeon: force pcs reset to fix qca833x traffic 2025-04-02 10:04:52 +02:00
omap kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
pistachio kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
qoriq kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
qualcommax qualcommax: ipq50xx: add PCI path migration script 2025-05-13 19:58:22 +02:00
qualcommbe qualcommbe: ipq95xx: fix ipq-uniphy crash on IPQ9554 2025-05-12 15:06:24 +02:00
ramips ramips: mt7621: relocate kernel for ELECOM WRC-X1800GS 2025-05-13 21:59:07 +02:00
realtek realtek: phy: remove unneeded usage of genphy_loopback() 2025-05-13 21:53:28 +02:00
rockchip kernel: add missing Kconfig symbols 2025-05-11 13:11:46 +02:00
sifiveu kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
siflower realtek: use remove_new 2025-05-02 01:34:24 +02:00
starfive kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
stm32 stm32: Add kmod-stm32-thermal 2025-04-19 18:41:29 +02:00
sunxi kernel: Activate CONFIG_NET_SWITCHDEV in generic config 2025-03-15 13:54:59 +01:00
tegra kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 generic: 6.12: add new config symbols 2025-05-08 19:05:48 +02:00
zynq kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00