aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2015-05-28 08:11:47 -0300
committerMauro Carvalho Chehab <[email protected]>2015-06-05 06:37:24 -0300
commit1d03deff82671ae2c6a7ce9e75b69e5e334c0d04 (patch)
tree334fbf249446ff981fca6b1cd3f3bad417c70bc4 /tools/perf/scripts/python/net_dropmonitor.py
parente9763995e71020c55ec877da4f3444abc47e9ce2 (diff)
[media] media: s5p-mfc: fix sparse warnings
Commits a0f10c131cc49d7d84394beb7903e1f246331224 and 6c9fe765360efa97c63b89af685b620baf5e0012 ("media: s5p-mfc: fix broken pointer cast on 64bit arch") fixed issue with lossy cast on 64-bit architectures. However it also removed __iomem attribute from that cast. This leads to sparse warnings. This patch fixes those warnings by adding __iomem cast in case of v6+ code version and replacing readl/writel by simple u32 load/store operations in case of v5 code (which is called on system memory allocated by dma_alloc_coherent() instead of io registers). Reported-by: Hans Verkuil <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions