diff for duplicates of <20180628130809.GA8147@embeddedor.com> diff --git a/a/1.txt b/N1/1.txt index 06c26c0..c73f908 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -3,7 +3,7 @@ them before return. Addresses-Coverity-ID: 1470194 ("Resource leak") Fixes: 4ec7cece87b3 ("wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()") -Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> +Signed-off-by: Gustavo A. R. Silva <gustavo-L1vi/lXTdts+Va1GwOuvDg@public.gmane.org> --- drivers/net/wireless/ti/wlcore/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) @@ -16,19 +16,3 @@ index 836c616..9039687 100644 ret = pm_runtime_get_sync(wl->dev); if (ret < 0) { pm_runtime_put_noidle(wl->dev); -- -- return ret; -+ goto free_vector; - } - - do { -@@ -232,6 +231,7 @@ int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, - out: - pm_runtime_mark_last_busy(wl->dev); - pm_runtime_put_autosuspend(wl->dev); -+free_vector: - kfree(events_vector); - return ret; - } --- -2.7.4 diff --git a/a/content_digest b/N1/content_digest index 03f8c1b..002194c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,13 +1,13 @@ - "From\0Gustavo A. R. Silva <gustavo@embeddedor.com>\0" + "From\0Gustavo A. R. Silva <gustavo-L1vi/lXTdts+Va1GwOuvDg@public.gmane.org>\0" "Subject\0[PATCH] wlcore: Fix memory leak in wlcore_cmd_wait_for_event_or_timeout\0" "Date\0Thu, 28 Jun 2018 08:08:09 -0500\0" - "To\0Tony Lindgren <tony@atomide.com>" - Kalle Valo <kvalo@codeaurora.org> - " David S. Miller <davem@davemloft.net>\0" - "Cc\0linux-wireless@vger.kernel.org" - netdev@vger.kernel.org - linux-kernel@vger.kernel.org - " Gustavo A. R. Silva <gustavo@embeddedor.com>\0" + "To\0Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>" + Kalle Valo <kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> + " David S. Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>\0" + "Cc\0linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" + netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + " Gustavo A. R. Silva <gustavo-L1vi/lXTdts+Va1GwOuvDg@public.gmane.org>\0" "\00:1\0" "b\0" "In case memory resources for *events_vector* were allocated, release\n" @@ -15,7 +15,7 @@ "\n" "Addresses-Coverity-ID: 1470194 (\"Resource leak\")\n" "Fixes: 4ec7cece87b3 (\"wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()\")\n" - "Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>\n" + "Signed-off-by: Gustavo A. R. Silva <gustavo-L1vi/lXTdts+Va1GwOuvDg@public.gmane.org>\n" "---\n" " drivers/net/wireless/ti/wlcore/cmd.c | 4 ++--\n" " 1 file changed, 2 insertions(+), 2 deletions(-)\n" @@ -27,22 +27,6 @@ "@@ -195,8 +195,7 @@ int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl,\n" " \tret = pm_runtime_get_sync(wl->dev);\n" " \tif (ret < 0) {\n" - " \t\tpm_runtime_put_noidle(wl->dev);\n" - "-\n" - "-\t\treturn ret;\n" - "+\t\tgoto free_vector;\n" - " \t}\n" - " \n" - " \tdo {\n" - "@@ -232,6 +231,7 @@ int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl,\n" - " out:\n" - " \tpm_runtime_mark_last_busy(wl->dev);\n" - " \tpm_runtime_put_autosuspend(wl->dev);\n" - "+free_vector:\n" - " \tkfree(events_vector);\n" - " \treturn ret;\n" - " }\n" - "-- \n" - 2.7.4 + " \t\tpm_runtime_put_noidle(wl->dev);" -b227440db843f3ef33a81ef188290e1d3f4240c3cf9804775ec18e11232bd5b2 +d46602d0f12624d27ef4983fb8d26a829418ad15c5dbc29a2618fe956f39cd84
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.