]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
soc: qcom: smem: Avoid NULL pointer exception on remove
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 28 Aug 2015 18:18:49 +0000 (11:18 -0700)
committerAndy Gross <agross@codeaurora.org>
Wed, 14 Oct 2015 19:51:20 +0000 (14:51 -0500)
commitf8c67df71bcdd863d623985c9e8dc78368c862db
treeac9a3706ef45496cc4c2b9a4e4d30560392790cf
parent1a7caca20ed56a80cea045327deaeb4e4379cbd1
soc: qcom: smem: Avoid NULL pointer exception on remove

Don't set a pointer to NULL and then dereference it in the next
line.

Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
drivers/soc/qcom/smem.c