mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-12 07:58:10 +09:00
commit6b4ed8b00eupstream. If the allocation fails then we dereference the NULL in the error path. Just return directly. Fixes:ed27ff1db8('clk: Versatile Express clock generators ("osc") driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>