diff options
author | Georgi Djakov <georgi.djakov@linaro.org> | 2019-12-12 09:53:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-12 10:28:54 +0100 |
commit | 3e42fe5c73108a6e68c98bc0df937888e35af97f (patch) | |
tree | 5c0e09ebaad0e055a9d2936b0cdce4592a7951a0 /drivers/nvmem | |
parent | f39488ea2a75c49634c8611090f58734f61eee7c (diff) |
interconnect: qcom: msm8974: Walk the list safely on node removal
As we will remove items off the list using list_del(), we need to use the
safe version of list_for_each_entry().
Fixes: 4e60a9568dc6 ("interconnect: qcom: add msm8974 driver")
Reported-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Link: https://lore.kernel.org/r/20191212075332.16202-5-georgi.djakov@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions