Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1085445rwb; Sat, 17 Sep 2022 23:49:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5tRzV2cK4eJrICws7G1mO8MI6yw/SaRdorLEbhOMSneAAmu1nLFTKYYDjnPUh35x0dra8r X-Received: by 2002:a17:90b:5096:b0:202:df4f:89a with SMTP id rt22-20020a17090b509600b00202df4f089amr13934846pjb.25.1663483765013; Sat, 17 Sep 2022 23:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663483765; cv=none; d=google.com; s=arc-20160816; b=n3Rvk4g0KwLQnS3o8l9lG+GAr7U0oaoOaqRUELw9QC1heYLF/IgLg7vur5ga/Hu+Q6 wbnBkrqC/ca21oncqxoIDwGO66eN5lomD9XWQK6Q9esua/zmilcK00zoMDYTL5Cy43Dc nQNtuNR/240EcmTeEqAXlGjO+nzZZBaCqcDUKajvTA83jELPu6MEC1tJ2I6Dud99kIAV XUB7jsx9coRj+W7B8fW3DH1LyhZ6hZmFEvvxgjsWrd/nMteAE2EOkYxGWaAdmaV5Ytk8 V98fryv11naoirGHeHyN0GlUp3W8LzBzJLqcsdG0dPVPkfSidgDGaGMPiBMvLLgkfi7x gAvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=vMITBqvPDsj7rSdSWwXSEzKx33gMrjxIMxsg6SPU+Vs=; b=Tm0L8cVcfQxkBSxtBUOBeJgcSU/5VD/loJQjRY1glQV3cLafbi/9N4sg4uZc4STkRA 5JbcZ/cV4Wx7LdYwQMTccimMpyxZPbf/ZOwMVYAgR1jHQIUGdos7wV01yfqa5kQNoZr+ 7srLwznN4u7mbwXNoVywYQy3PSjKItUOya+bdJi4DoHnKLZUGNndkFNkqNJKSofCJIpo YwIDhWSiBJhpcXgDmMVSTnkQAGOaQOhuAmfvq0ZV6pSxMGluOiw8mNocw90ySAePyRWu JNfPOFAb49DABti7x/AY4ID64cXo/rj9/PO7qOrWliL4g8LCjxtlkebLhNr1+6EzEitB +j2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j4-20020a17090276c400b001782bd8d032si13569251plt.523.2022.09.17.23.48.56; Sat, 17 Sep 2022 23:49:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229514AbiIRG1X (ORCPT + 99 others); Sun, 18 Sep 2022 02:27:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiIRG1U (ORCPT ); Sun, 18 Sep 2022 02:27:20 -0400 Received: from smtp.smtpout.orange.fr (smtp07.smtpout.orange.fr [80.12.242.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7C0825E87 for ; Sat, 17 Sep 2022 23:27:18 -0700 (PDT) Received: from pop-os.home ([90.11.190.129]) by smtp.orange.fr with ESMTPA id ZnlsomI4hr5PdZnlsoraTc; Sun, 18 Sep 2022 08:27:17 +0200 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 18 Sep 2022 08:27:17 +0200 X-ME-IP: 90.11.190.129 From: Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/3] misc: microchip: pci1xxxx: Fix the error handling path of gp_aux_bus_probe() Date: Sun, 18 Sep 2022 08:27:15 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 3 patches are all related to error handling in the gp_aux_bus_probe() probe. They have been splitted to ease review. Christophe JAILLET (3): misc: microchip: pci1xxxx: Do not disable the pci device twice in gp_aux_bus_remove() misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe() misc: microchip: pci1xxxx: Fix the error handling paths of gp_aux_bus_probe() drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c | 78 ++++++++++--------- 1 file changed, 40 insertions(+), 38 deletions(-) -- 2.34.1