]> 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)
commitd92dd4c14804dbbd187381dfaeb3db90ffae8adb
treedc6841a40ea648a17c4845d60ec70a7b58d86a90
parent69989662aa4d891ee299348940e3ff45b33cd958
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