Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755001AbcDGFHo (ORCPT ); Thu, 7 Apr 2016 01:07:44 -0400 Received: from mga02.intel.com ([134.134.136.20]:19075 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbcDGFHm (ORCPT ); Thu, 7 Apr 2016 01:07:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,448,1455004800"; d="asc'?scan'208";a="779782807" From: Felipe Balbi To: changbin.du@intel.com Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "Du\, Changbin" Subject: Re: [PATCH v2 2/3] usb: dwc3: free dwc->regset on dwc3_debugfs_exit In-Reply-To: <1459957446-6854-3-git-send-email-changbin.du@intel.com> References: <1459957446-6854-1-git-send-email-changbin.du@intel.com> <1459957446-6854-3-git-send-email-changbin.du@intel.com> User-Agent: Notmuch/0.21+96~g9bbc54b (http://notmuchmail.org) Emacs/25.0.90.3 (x86_64-pc-linux-gnu) Date: Thu, 07 Apr 2016 08:05:46 +0300 Message-ID: <87wpoaypn9.fsf@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1833 Lines: 60 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable changbin.du@intel.com writes: > From: "Du, Changbin" > no commit log =3D=3D no commit, sorry > Signed-off-by: Du, Changbin > --- > 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 =3D NULL; > + > + kfree(dwc->regset); > + dwc->regset =3D NULL; > } > --=20 > 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 =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXBeqrAAoJEIaOsuA1yqREsf8QAIh1Rm8HGDGd/yaSI/lpnvPt TzCj3rhB/v8e75/QMWv6CcN5YP3baJJzsXbID4CvxZuJWyrjSA2moWCpHKgQIxAA anx1TyEHiD8cjlP/n0xkRqKM5DyOiOlcXUnp/H4H3sn1kjz0ekTzUrwR2UE7Qsgn YIKB3l3Pye2yrcAXaTE6E8S138JpEDO6Xbxc/biTuV2FpPOeeDgFsoNqngLxSJWx DRTtVuzn59LrJmJdc52Q+2fFr+iqZs5pCwYpTfBh23oz3YDp7oYNJMAT4/U4dBhr g168Nqnjy6ygg9655xbnIZ7NhunA3GDnGDw626cwCWKOC83VV8IVFL5OG1XR11Wp Ny0KgIweibLGW05/VqC++EBIiuAh5wyjrfJuXdYVUpOPgeB+NI0wq2IUktA2TDoO ORfdsgLhzX4VVKWZ0wMBc8GyC+fWbBgyalsqbXGvlMenAJsQB6GvBT+iwZcT99N2 f6I08FPEra1seL/rxUMoY6qat82tC0XTtjGLAFuP6V36s6BFJyBWSyVZmRlOAe5/ uzrTiMnAC+vzmzY0gC63hpxX7JRsIPfj9jYbjFpZrH0IDga2kxG0vA9/sCHtwCbA 19Tdu1tF9U2JgV+ODnVAL7G1CgdeHTkmTVF9oDN2vgocFCuNWmEhPFPT74kPlG7g xZf+jA55LRdP5Jkhjv06 =elZ2 -----END PGP SIGNATURE----- --=-=-=--