Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751541AbdIAIa0 (ORCPT ); Fri, 1 Sep 2017 04:30:26 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38413 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbdIAIaY (ORCPT ); Fri, 1 Sep 2017 04:30:24 -0400 X-Google-Smtp-Source: ADKCNb5EoBqoDkLqGesok3Udt9yLrxpynh1WCXts4oE28RjMwsoa4ZcbZ0tLm+n6h+/Lr1+0CuqxEw== Date: Fri, 1 Sep 2017 10:30:15 +0200 From: Corentin Labbe To: Andrew Lunn Cc: f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] net: mdio-mux: Misc fix Message-ID: <20170901083015.GA6203@Red> References: <20170830174651.30325-1-clabbe.montjoie@gmail.com> <20170830190119.GK22289@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170830190119.GK22289@lunn.ch> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 30 On Wed, Aug 30, 2017 at 09:01:19PM +0200, Andrew Lunn wrote: > On Wed, Aug 30, 2017 at 07:46:46PM +0200, Corentin Labbe wrote: > > Hello > > > > This patch series fix minor problems found when working on the > > dwmac-sun8i syscon mdio-mux. > > Hi Corentin > > In geineral, a nice patchset. Thanks, I will send a v2 with your suggestions. > > Looking at the code, there are a few calls to devm_kfree() which look > redundant. This one should probably stay: > > if (r) { > mdiobus_free(cb->mii_bus); > devm_kfree(dev, cb); > } else { > > but i think the others can go. > > Just a suggestion, not a problem if you don't feel like doing this... > I will try but in another serie. For letting more time for test. Regards