From: Maurizio Lombardi Date: Tue, 17 Jun 2014 11:15:40 +0000 (+0200) Subject: pm8001: Fix potential null pointer dereference and memory leak. X-Git-Tag: omap-for-v3.16/fixes-rc4~12^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2c6f180c98e1a8bc84781f32894b595363d3dfb;p=pandora-kernel.git pm8001: Fix potential null pointer dereference and memory leak. The pm8001_get_phy_settings_info() function does not check the kzalloc() return value and does not free the allocated memory. Signed-off-by: Maurizio Lombardi Acked-by: Suresh Thiagarajan Acked-by: Jack Wang Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed