mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08: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>