summaryrefslogtreecommitdiff
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-02-13 13:19:51 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-17 10:48:52 +0200
commitae6baa8ceca092613ffeeaba0ea6c89d2a27be0c (patch)
treedfed415217d378721da0ac1b6609e5252e5b59aa /kernel/kmod.c
parentcdfa83e14d728138950a9f5c32d3e4e9da8fb4e6 (diff)
clk: ingenic/jz4770: Exit with error if CGU init failed
commit c067b46d731a764fc46ecc466c2967088c97089e upstream. Exit jz4770_cgu_init() if the 'cgu' pointer we get is NULL, since the pointer is passed as argument to functions later on. Fixes: 7a01c19007ad ("clk: Add Ingenic jz4770 CGU driver") Cc: stable@vger.kernel.org Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reported-by: kbuild test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lkml.kernel.org/r/20200213161952.37460-1-paul@crapouillou.net Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions