]> git.baikalelectronics.ru Git - kernel.git/commit
tile: fix tilepro casts for readl, writel, etc
authorChris Metcalf <cmetcalf@ezchip.com>
Mon, 21 Dec 2015 18:03:03 +0000 (13:03 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Mon, 18 Jan 2016 19:49:23 +0000 (14:49 -0500)
commitf2d3a06d21da200dcbb7e5b7ec764a01f6521e31
treedc6841a40ea648a17c4845d60ec70a7b58d86a90
parent946c77da3b8c5c8c7649b41c9b8e1431cf13a7a1
tile: fix tilepro casts for readl, writel, etc

Missing parentheses could cause an argument of the form
"integer + pointer" to get cast to "(long)integer + pointer"
and remain a pointer type, causing compiler warnings.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/include/asm/io.h