Received: by 10.223.185.116 with SMTP id b49csp1959599wrg; Mon, 12 Feb 2018 01:40:42 -0800 (PST) X-Google-Smtp-Source: AH8x225esjm+TGnyzKF3WAH5D9v7IWHnwhsD2L8MxH62AyoPDGoxDHII8uO/4iJkLer8Sph/ZoTe X-Received: by 2002:a17:902:e2:: with SMTP id a89-v6mr10151254pla.98.1518428442411; Mon, 12 Feb 2018 01:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518428442; cv=none; d=google.com; s=arc-20160816; b=RF9z6I/WOX9znterKYYhgEVmLw/ID166SRSWUIT4SjWmLkhNm9LNKIR/trKcWDGdKt N+SmmE/7XX+tj9EsItMGCp7lc2scBJIXSoiHdXUYtPOCrykJFJPVGl1FT0oHGJIMKec2 nilNQ6tOt7WlBz9JXDHkEzK3GO4YtbuiD0+xLeQSqQxGqrjYa7nTvybGEsVnzVHxcsxS aiTWE1ZBGdYok1gwbeFgsGJvjvxfhZEhiCXiQ58gUSkX2SkQkq/1qdR8ULjIM6coIHw8 QTl98l31VxX3NyuImmZda0oBLGSWLaC/xou0IRrunxM3x2q3KHT/VHBH+5ipVWdCokIe 9/bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=IL7yW8inoBDYfUhW2UFvZG5hIK3kwoXZGEpdIOW+ctc=; b=WYxa0sP98/DdyAmbwPaX9nDRJyorgIdOlT0oL4rS/6cRQmtOVpJ8Xj+vB+gL/XgDAP WoJiW5cVbFfwcQyPUQQmT2Nj6z87eI74PSjeZwiFm3q4klXUkyK7viFdzVBNYqDUUYMy veq3WJ4UZtBgThUV9ZVNKHN9e9y+8KhRB5gELnjv03B9LXx3kcKFACRLL2vhYwnK8g7j i7E5q9lxD5uhqk61kNwd5TNUgHcfEDKZfvY0I2q8hNDLIhFblrpbURnbTlqJlawbp47w y94FOSRqDRT0lCk8h4yNg8inR442ODsaHipN8+SG0MkVB8RtsYF7lgQlbJyfBxBp3XWR +ZQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si4979708pgp.162.2018.02.12.01.40.16; Mon, 12 Feb 2018 01:40:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933017AbeBLIse (ORCPT + 99 others); Mon, 12 Feb 2018 03:48:34 -0500 Received: from mga14.intel.com ([192.55.52.115]:43070 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932804AbeBLIsc (ORCPT ); Mon, 12 Feb 2018 03:48:32 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2018 00:48:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,501,1511856000"; d="asc'?scan'208";a="17245660" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.68.37]) by fmsmga008.fm.intel.com with ESMTP; 12 Feb 2018 00:48:29 -0800 From: Felipe Balbi To: Christophe JAILLET , gregkh@linuxfoundation.org, bhumirks@gmail.com, leoyang.li@nxp.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: Re: [PATCH 0/4] usb: gadget: fotg210-udc: Fixes and cleanup In-Reply-To: References: Date: Mon, 12 Feb 2018 10:48:04 +0200 Message-ID: <871shqbnln.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Christophe JAILLET writes: > This serie aims to fix 2 issues. (path 2 & 4) > > The 2nd patch fixes a memory leak. It uses devm_ function a simplify the > handling of the memory. > > The 4th patch fixes a potential invalid pointer dereference. > > The 2 other ones, are just clean-ups to remove useless code and add other > uses of devm_ function to simplify code. > > I've left the request_irq/free_irq because I'm unsure of potential side > effects if some other resources are freed while an IRQ can still be > triggered. So I've preferred to leave it as-is. > > Christophe JAILLET (4): > usb: gadget: fotg210-udc: Remove a useless > usb: gadget: fotg210-udc: Fix a memory leak > usb: gadget: fotg210-udc: Simplify code > usb: gadget: fotg210-udc: Fix a potential invalid pointer dereference you should NEVER make fixes depend on cleanups. It should be the other way around :-) First fixes, then cleanups. The reason is that fixes can get accepted during -rc cycle, but cleanups must wait until the next merge window. Please fix up your patches, otherwise I'll have to apply the entire series for v4.17 =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlqBVMQACgkQzL64meEa mQZQlQ/+M0CfPqushKipcO7SiVf+SgbJRb1EYgDd/UuJjTDk+PjicsI4X3CY9Edi 5RRia83bO6umVFFWl6iJFdGBNjxlnouPJbKioR1rW0CFcu17EsD0bbUMzrQ9v3b9 a3eU6X5yvOcdOHcIZDzsuOXmk24SG68HuIIPyYDKYBkrVI6LQVYOKYkYldahAJJ/ AxV1ebcCIhoeIG21V8NBC5xKTj+zP3S/Oz9vJ4ReD/iRLl7U5yQaK1p+sCE8yKFe QiolaqDdPpATvv4Ppj37GWx2tJfFh6w/Tva9pXj/hzMjKJvaOTlWGO8i2Q2KL82F ls6M/V9DnkMBEpbZWAhsfOryBuDDwY+TTWkgh5yg9xOU6VDRcWs9zhzyo3Eh3wgW kbOjI6j0iKJW9RQM9YrZ+uva20grE+pO8aqRrlrhw2s3dt7k18KfToLNbnBYFl/v Rcjp/v8GNl1xrV2cgJmKWFV98/Anc4X1C1OXgQItAYC8fxOw3NtdPHpIWelpFtB9 3uUIncVXYQe80iArV/dBYmLYVwRZtG+ghx+LMJXP4WhIgolpB7Mc7LSoHYDL7BSM 36vIP7A4fZvhD37DUBe6lPT8JeLIfPPhEmuBPdzW2iTxD9khF/8Q/he0Il8Dce5H Bf+QqXGL4XyFBMcbY04nJENSHKEax3y3Qc/qHi6rbdQe2FERXEM= =WDQL -----END PGP SIGNATURE----- --=-=-=--