From: Devendra Naga Date: Sat, 29 Nov 2014 22:48:34 +0000 (-0500) Subject: staging: clocking-wizard: check for a valid clk_name pointer X-Git-Tag: omap-for-v3.20/drop-legacy-3517~70^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f18611038f9c9d503318490069b730c942523f8;p=pandora-kernel.git staging: clocking-wizard: check for a valid clk_name pointer The clk_name gets the return value from kasprintf (part of which does the allocation of the returned buffer). So check the return pointer before using it for clk_register_fixed_factor. Signed-off-by: Devendra Naga Reviewed-by: Soren Brinkmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed