openwrt/target/linux
Sungbo Eo 4607f55439 bcm4908: fix calculation of new cferam index
The arithmetic expansion fails when idx becomes a two digit number.
Fix this by relying on expr command.

root@OpenWrt:/# echo $(((028 + 0) % 1000))
/bin/ash: arithmetic syntax error
root@OpenWrt:/# echo $(($(expr 028 + 0) % 1000))
28

Fixes: a6a0b252ba ("bcm4908: add sysupgrade support")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit f432353850)
2021-11-05 14:13:46 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
arc770 arc770: set device vendor and model variables 2021-05-26 23:36:40 +02:00
archs38 kernel: Add missing kernel config options 2021-09-13 18:49:15 +02:00
armvirt kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
at91 treewide: make AddDepends/usb-serial selective 2021-06-08 22:50:32 +02:00
ath25 kernel: bump 5.4 to 5.4.132 2021-07-19 22:47:17 +02:00
ath79 ath79: mikrotik: use 64 KiB SPI NOR erase sectors 2021-10-22 16:34:11 -10:00
bcm27xx kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-17 23:38:46 +01:00
bcm53xx kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
bcm63xx kernel: bump 5.4 to 5.4.132 2021-07-19 22:47:17 +02:00
bcm4908 bcm4908: fix calculation of new cferam index 2021-11-05 14:13:46 +01:00
gemini kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
generic kernel: bump 5.4 to 5.4.154 2021-10-20 00:37:51 +02:00
imx6 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
ipq40xx ipq40xx: ar40xx: reset port status register 2021-10-24 11:01:35 +02:00
ipq806x kernel: bump 5.4 to 5.4.128 2021-06-27 00:58:50 +02:00
kirkwood kirkwood: increase kernel partition of Linksyses 2021-09-13 15:24:35 +02:00
lantiq ltq-deu: Mark lantiq DEU broken 2021-07-02 19:22:13 +02:00
layerscape layerscape: Add missing config option 2021-10-22 22:26:02 +02:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
mpc85xx mpc85xx: add missing Kconfig symbols 2021-07-13 22:19:23 +02:00
mvebu mvebu: add support for iEi Puzzle-M901/Puzzle-M902 2021-10-14 13:09:57 +01:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
octeontx kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
omap kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
oxnas kernel: bump 5.4 to 5.4.154 2021-10-20 00:37:51 +02:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips ramips: minew g1-c: Allow dynamic RAM sizes 2021-11-01 15:35:25 +01:00
realtek realtek: Fix failsafe mode 2021-06-22 23:52:09 +02:00
rockchip rockchip: fix broken squashfs sysupgrade 2021-09-24 12:29:22 +02:00
sunxi sunxi: disable LPAE on cortexa8 2021-04-11 00:00:49 +02:00
tegra kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
zynq kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00