Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbdGHIBA (ORCPT ); Sat, 8 Jul 2017 04:01:00 -0400 Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:28103 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517AbdGHIA7 (ORCPT ); Sat, 8 Jul 2017 04:00:59 -0400 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 08 Jul 2017 10:00:52 +0200 X-ME-IP: 92.140.162.63 From: Christophe JAILLET To: peppe.cavallaro@st.com, alexandre.torgue@st.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/3] net: stmmac: Fixes and cleanups in 'alloc_dma_[rt]x_desc_resources()' Date: Sat, 8 Jul 2017 09:46:12 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 20 These patchs are all related to 'alloc_dma_[rt]x_desc_resources()' functions. The 2 first fix an error path where some resources are leaking. I've separated them into 2 patches because the issues have been introduced by 2 deferent commits. The 3rd patch is just a clean-up. Christophe JAILLET (3): net: stmmac: Fix error handling path in 'alloc_dma_rx_desc_resources()' net: stmmac: Fix error handling path in 'alloc_dma_tx_desc_resources()' net: stmmac: Make 'alloc_dma_[rt]x_desc_resources()' look even closer drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 2.11.0