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 08:55:06 +0000 (10:55 +0200)
commita9eebf69f3787d2637ffb2353528d6c24f20769a
tree9b6acb89d821f8f3dbaacd1f846f893d629c8748
parentb9daff610e743048fec300c4d38fed5458f1b171
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.9/400-bcm963xx_flashmap.patch