bcm63xx: redboot: fix warning
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 14 May 2020 14:10:40 +0000 (16:10 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 14 May 2020 14:12:12 +0000 (16:12 +0200)
commitf314cbe54be4d90e748e18ae5e9fb00d5fd31c91
treeac3b7cca4be9bdc1d9218cec67a8ed46807df64c
parentee6bf7e865510ff1e0645b08bec65f8212ed70d4
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>
target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch