summaryrefslogtreecommitdiff
path: root/drivers/clk/sunxi/Makefile
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-06-28 21:23:55 +0400
committerMike Turquette <mturquette@linaro.org>2014-07-02 10:37:34 +0400
commitc3dcac875e35c2e67ccaef10ef62ae5b1410d29c (patch)
treeb06b9a2b138484be1c276d6d537eec751526cd1d /drivers/clk/sunxi/Makefile
parent2a96dfa49c83a2a7cbdb11382976aaa6b2636764 (diff)
downloadlinux-c3dcac875e35c2e67ccaef10ef62ae5b1410d29c.tar.xz
clk: sunxi: fix devm_ioremap_resource error detection code
devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure. A simplified version of the semantic match that finds this problem is as follows: // <smpl> @@ expression e,e1; statement S; @@ *e = devm_ioremap_resource(...); if (!e1) S // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Acked-by Boris BREZILLON <boris.brezillon@free-electrons.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sunxi/Makefile')
0 files changed, 0 insertions, 0 deletions