Received: by 10.223.185.116 with SMTP id b49csp2474683wrg; Mon, 12 Feb 2018 10:06:47 -0800 (PST) X-Google-Smtp-Source: AH8x225YYJ/bY3+7FuMfOlIg/cUhyamMmdFyNFedWL6HwWduMj/TRZ5MHh0v0frPyQz+bZIjNd0g X-Received: by 2002:a17:902:9898:: with SMTP id s24-v6mr11712418plp.275.1518458807835; Mon, 12 Feb 2018 10:06:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518458807; cv=none; d=google.com; s=arc-20160816; b=hO6A63E/rNswPXrv9VJvekqNI6GFk5fORqhrP/s/udImCdz3kHMQvXbXQ3rEILt4h/ Xdo+HUKmUGb3tfe7c6njpb3ie/FLSTA1d0s4dqbf2vD79eJ7A6PdT95AB8FMLIm0R0Cp nX6daAEKTSDnC7EHoDlmbT3Sgjm7Bo+L2KvGvPovWDLlqbMyAtIiy/o3QHLuiVYo/7RT Wab5aA8GoLFmq3d1OpSCnrqF2tKa8hDBVFT/T1khRLl9XHcvhjUcRSFDgkvlOHj5+FvH vpfIJYLFnJXYy1ooU2B+/fezB9zgqTfUHWphcCyaNCSRpOf6BjPRwkzs0zs0ZmkEK9/E 3/ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:content-language:in-reply-to :user-agent:content-transfer-encoding:mime-version:references :message-id:lines:date:subject:from:to:arc-authentication-results; bh=tUDQE6W2LF7JSJNiNfaGlxxgj61V5hkKcR4S2MlXaRg=; b=Tdaq1IdPsJ7IJAi5bc7KM+0AAAz1IyjWAYnfZnSZrVsxJpiurkxbnjZWmEbCWCU9oW cYJMPJSBtMwjuMJ8zzYh8ciYaWJalRcsioDPeKVikGwruym1J2ALk/tfISWCTTUjPJmq f4f2crS49GNUGSs7wdwmybowm9rXWAyer6o1UfuMp/OmBteTjpxEhrOXBeZwgRYAa4+Z r+yrMdPhc6qCIQyVFlM98GDAlLwh7ZkYdjuYYBKO3GcctNV6ApSz0IR9bveMOo/uu9h/ D5FSaO2J82uilBZ7OO58b00Xr0xx0EWBdUvfaSNI/8jap2g+x/Ujz0FXKKBBQZVZu56K zBKQ== 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 n15si5394461pgc.49.2018.02.12.10.06.31; Mon, 12 Feb 2018 10:06:47 -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 S932204AbeBLSFp (ORCPT + 99 others); Mon, 12 Feb 2018 13:05:45 -0500 Received: from [195.159.176.226] ([195.159.176.226]:43794 "EHLO blaine.gmane.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751386AbeBLSFo (ORCPT ); Mon, 12 Feb 2018 13:05:44 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1elIRy-0002ou-Iz for linux-kernel@vger.kernel.org; Mon, 12 Feb 2018 19:03:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Christophe Jaillet Subject: Re: [PATCH 0/4] usb: gadget: fotg210-udc: Fixes and cleanup Date: Mon, 12 Feb 2018 19:05:16 +0100 Lines: 49 Message-ID: References: <871shqbnln.fsf@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-Reply-To: <871shqbnln.fsf@linux.intel.com> Content-Language: en-US X-Antivirus: Avast (VPS 180212-2, 12/02/2018), Outbound message X-Antivirus-Status: Clean Cc: linux-usb@vger.kernel.org, kernel-janitors@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 12/02/2018 à 09:48, Felipe Balbi a écrit : > > 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 > I agree with you. I will be more careful in the future. However, I will not re-send an updated version. Development on this driver does not seem to be very active. So the proposed fix (2/4) and cleanups can wait a few more months. Feel free to update yourself 2/4 (and eventually drop 1/4 completely to avoid the time to re-work it) if you think that it worth it. Best regards, CJ --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus