bcm63xx: redboot: fix warning
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 18 May 2020 07:12:30 +0000 (09:12 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 18 May 2020 07:51:18 +0000 (09:51 +0200)
commitb2c9f82eb4a86a0e4c9d053f012f1cace98f237b
tree24c2f8892f21199a6683bcd4c7229b4cfb395b4a
parenta2a3ac9f51824af7172d604898f897eaf2bdf467
bcm63xx: redboot: fix warning

drivers/mtd/parsers/redboot.c: In function 'parse_redboot_partitions':
drivers/mtd/parsers/redboot.c:194:59: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
     fis_origin = (buf[i].flash_base & (master->size << 1) - 1);
                                       ~~~~~~~~~~~~~~~~~~~~^~~

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit f314cbe54be4d90e748e18ae5e9fb00d5fd31c91)
target/linux/brcm63xx/patches-4.14/400-bcm963xx_flashmap.patch