Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1372626 > unrolled thread

[PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit

Started bychangbin.du@intel.com
First post2016-04-06 18:00 +0200
Last post2016-04-07 07:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit changbin.du@intel.com - 2016-04-06 18:00 +0200
    Re: [PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit Greg KH <gregkh@linuxfoundation.org> - 2016-04-06 23:10 +0200
    Re: [PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit Felipe Balbi <balbi@kernel.org> - 2016-04-07 07:10 +0200

#1372626 — [PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit

Fromchangbin.du@intel.com
Date2016-04-06 18:00 +0200
Subject[PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit
Message-ID<rkY25-68Y-1@gated-at.bofh.it>
From: "Du, Changbin" <changbin.du@intel.com>

Signed-off-by: Du, Changbin <changbin.du@intel.com>
---
 drivers/usb/dwc3/debugfs.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index 071b286..2d4f397 100644
--- a/drivers/usb/dwc3/debugfs.c
+++ b/drivers/usb/dwc3/debugfs.c
@@ -657,4 +657,7 @@ void dwc3_debugfs_exit(struct dwc3 *dwc)
 {
 	debugfs_remove_recursive(dwc->root);
 	dwc->root = NULL;
+
+	kfree(dwc->regset);
+	dwc->regset = NULL;
 }
-- 
2.5.0

[toc] | [next] | [standalone]


#1372816

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-04-06 23:10 +0200
Message-ID<rl2S6-1tt-3@gated-at.bofh.it>
In reply to#1372626
On Wed, Apr 06, 2016 at 11:44:05PM +0800, changbin.du@intel.com wrote:
> From: "Du, Changbin" <changbin.du@intel.com>
> 
> Signed-off-by: Du, Changbin <changbin.du@intel.com>
> ---

You need a changelog entry in order for a patch to be able to be
accepted.

thanks,

greg k-h

[toc] | [prev] | [next] | [standalone]


#1373071

FromFelipe Balbi <balbi@kernel.org>
Date2016-04-07 07:10 +0200
Message-ID<rlamB-7mz-1@gated-at.bofh.it>
In reply to#1372626

[Multipart message — attachments visible in raw view] — view raw

changbin.du@intel.com writes:

> From: "Du, Changbin" <changbin.du@intel.com>
>

no commit log == no commit, sorry

> Signed-off-by: Du, Changbin <changbin.du@intel.com>
> ---
>  drivers/usb/dwc3/debugfs.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
> index 071b286..2d4f397 100644
> --- a/drivers/usb/dwc3/debugfs.c
> +++ b/drivers/usb/dwc3/debugfs.c
> @@ -657,4 +657,7 @@ void dwc3_debugfs_exit(struct dwc3 *dwc)
>  {
>  	debugfs_remove_recursive(dwc->root);
>  	dwc->root = NULL;
> +
> +	kfree(dwc->regset);
> +	dwc->regset = NULL;
>  }
> -- 
> 2.5.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
balbi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web