aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorCédric Le Goater <[email protected]>2017-01-19 10:13:18 +0100
committerCyrille Pitchen <[email protected]>2017-02-10 14:21:59 +0100
commitf40a2725ea720a6270d3970cf11472da66924624 (patch)
tree677b50c45e76c2cf6da316ca7c99a700a2bb00e2 /scripts/gdb/linux/lists.py
parent3a08e933415c58689797c5bdc825e78a808fffe1 (diff)
mtd: aspeed: fix compile warning in aspeed_smc_read_from_ahb()
The first argument of ioread32_rep() and ioread8_rep is not const. Change aspeed_smc_read_from_ahb() prototype to fix compile warning : drivers/mtd/spi-nor/aspeed-smc.c: In function 'aspeed_smc_read_from_ahb': drivers/mtd/spi-nor/aspeed-smc.c:212:16: warning: passing argument 1 of 'ioread32_rep' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ioread32_rep(src, buf, len >> 2); Signed-off-by: Cédric Le Goater <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Cyrille Pitchen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions