From patchwork Tue May 17 20:59:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 12852962 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0098CC433FE for ; Tue, 17 May 2022 21:00:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351172AbiEQU77 (ORCPT ); Tue, 17 May 2022 16:59:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353117AbiEQU7u (ORCPT ); Tue, 17 May 2022 16:59:50 -0400 Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938F2532FB for ; Tue, 17 May 2022 13:59:47 -0700 (PDT) Received: from pop-os.home ([86.243.180.246]) by smtp.orange.fr with ESMTPA id r4ICnCvQHk9EZr4ICniZbB; Tue, 17 May 2022 22:59:45 +0200 X-ME-Helo: pop-os.home X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Tue, 17 May 2022 22:59:45 +0200 X-ME-IP: 86.243.180.246 From: Christophe JAILLET To: vburru@marvell.com, aayarekar@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, sburla@marvell.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH v2 0/2] octeon_ep: Fix the error handling path of octep_request_irqs() Date: Tue, 17 May 2022 22:59:43 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org I send a small serie to ease review and because I'm sighly less confident with the 2nd patch. They are related to the same Fixes: tag, so they obviously could be merged if it is preferred. Details on modification of this v2 are given in each patch. Christophe JAILLET (2): octeon_ep: Fix a memory leak in the error handling path of octep_request_irqs() octeon_ep: Fix irq releasing in the error handling path of octep_request_irqs() .../ethernet/marvell/octeon_ep/octep_main.c | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) Reviewed-by: Dan Carpenter