kernel_optimize_test/drivers/clk/bcm
Vladimir Zapolskiy 4d3ac66624 clk: bcm2835: fix check of error code returned by devm_ioremap_resource()
The change fixes potential oops while accessing iomem on invalid
address, if devm_ioremap_resource() fails due to some reason.

The devm_ioremap_resource() function returns ERR_PTR() and never
returns NULL, which makes useless a following check for NULL.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Fixes: 5e63dcc74b ("clk: bcm2835: Add a driver for the auxiliary peripheral clock gates")
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-03-15 18:14:11 -07:00
..
clk-bcm63xx.c
clk-bcm281xx.c
clk-bcm2835-aux.c clk: bcm2835: fix check of error code returned by devm_ioremap_resource() 2016-03-15 18:14:11 -07:00
clk-bcm2835.c clk: bcm: Remove CLK_IS_ROOT 2016-03-02 17:42:41 -08:00
clk-bcm21664.c
clk-cygnus.c clk: iproc: Add support for Cygnus audio clocks 2016-01-29 16:31:38 -08:00
clk-iproc-armpll.c
clk-iproc-asiu.c
clk-iproc-pll.c clk: iproc: Add support for Cygnus audio clocks 2016-01-29 16:31:38 -08:00
clk-iproc.h clk: iproc: Remove __init from header 2016-01-29 16:31:40 -08:00
clk-kona-setup.c
clk-kona.c
clk-kona.h
clk-ns2.c
clk-nsp.c
Kconfig
Makefile