diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2016-10-29 15:58:39 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-11-07 19:19:35 -0800 |
commit | ce3409615244e15c677daeb77f3516224cfc613e (patch) | |
tree | 6e086a868b185d6eda3dea3e698d0c16c77fcb93 /lib/kfifo.c | |
parent | a909d3e636995ba7c349e2ca5dbb528154d4ac30 (diff) | |
download | linux-ce3409615244e15c677daeb77f3516224cfc613e.tar.gz linux-ce3409615244e15c677daeb77f3516224cfc613e.tar.bz2 linux-ce3409615244e15c677daeb77f3516224cfc613e.zip |
ARM: spear: Fix error handling
'clk_get_sys()' returns an error pointer in case of error, not NULL. So
test it with IS_ERR.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions