Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2783035rwa; Mon, 22 Aug 2022 13:48:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7k41r3c7nmDIFfGMQxCozMJDF//tpwaO73g+uO/gg8ja5zA9NaUDTYGeqfrey/vRFR7HCe X-Received: by 2002:a63:c108:0:b0:41d:6bf3:6807 with SMTP id w8-20020a63c108000000b0041d6bf36807mr18498518pgf.157.1661201328466; Mon, 22 Aug 2022 13:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661201328; cv=none; d=google.com; s=arc-20160816; b=mjmo6eXb8MqgPjGXnVHtXTmN5nk7OqxzLKBvi+1u03ehF6giZMzqNXGMHO2Ou7DnHu pyhjXz73zPQMsr+jJBJGg5XMAUrStww4FvF7NfQDfGXTZRxOlinMRjrNH2Z70L+7fDCz RpcChZqb2k5SWW8PtE/8kVb82UlBM/aXjatHBOUXWmS4N6V2tYDbU3h+GiHPq84P2fe5 g3upBKXbM0D1Q2wG5o9xlCo/bMDyLrIRHEDAUiBF2lyJsRPHDhwFPExTW9xTm4a53CLJ ybMTIV+ziIVUNK5doFlt18AaUQducZnoBnMsg1b2wTrsBsMScK/msCubNPM8r0T2xfim uq4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LpLykWFO0uBB1/tz09VJ9Z6tuTiCh1s8CIQ0iMtGnXo=; b=AoDM9vcvHoniE8d9idlnBkYXGcYenls3RaFOwy3LAjgcktjGVU5dCQnvdNXtPO/eun BEE4cIAWxeWgsY5ykdXMWO/WkI1Aqgs6x4vxB3UfMeHN1zvwUGcP5Tz9KiGooH+KtC9y 8AlQaph/YvtoPTHkgAHzLUJNQNEHtOqRo4BmK3YvrETEOJBoZ8T64FuYWl4es38VrVkE XtnTE/Kjz1PRDqX+Xu9qXhz6aZGPjGrzow6Dw5CR3eEzPoeZY0VIRfOLz3DYRQBiP8gt jxZy0Ce7/jCDxGr3v0fS8gkcJKxQBtbvQ/wcOOiZNhlih7Zudi4/QIjozDDe2XuuG4rA rVew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=ZOXSbnMY; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a17090a708500b001f539cc1474si13121155pjk.30.2022.08.22.13.48.38; Mon, 22 Aug 2022 13:48:48 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=ZOXSbnMY; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232645AbiHVUMW (ORCPT + 99 others); Mon, 22 Aug 2022 16:12:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbiHVUMU (ORCPT ); Mon, 22 Aug 2022 16:12:20 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D75953031; Mon, 22 Aug 2022 13:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661199123; bh=Yr61DvE6j42KsMElufQGNSb79h22pZ+ZKTYiKvo0h3E=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=ZOXSbnMYN4szxajuG1iqeEVq1Okl5avFp794xqc9o1qMoThXRYsmgHG7Oq2A9b2Nx 2d0p3epqapdTgDLt3lFtb2OUGx/Yjo9ioUIgIky+8ApIhoEayXXKYLd1Qn5JChxaH4 BeTYLHA/++pQWLLwZ/AuCX3HYD2PbpEllTmJ3WLA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.190.222]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N17UQ-1pREZF0zjG-012avd; Mon, 22 Aug 2022 22:12:03 +0200 Message-ID: Date: Mon, 22 Aug 2022 22:11:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH -next] video: fbdev: chipsfb: add missing pci_disable_device() in chipsfb_pci_init() Content-Language: en-US To: Yang Yingliang , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: mpe@ellerman.id.au, christophe.leroy@csgroup.eu, benh@kernel.crashing.org References: <20220819085752.1909541-1-yangyingliang@huawei.com> From: Helge Deller In-Reply-To: <20220819085752.1909541-1-yangyingliang@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:iaJIJz9NwvfVUJgq3SuvteaGHMXdzmZFQ9lfmtKPDYvfREYcfas /M0rcTAP77PhKqc8UzkQyUQIwI+6i23y2lfeOK8n7iPfFdzrhIyAspwjm4AbwNKcGYLahC/ CZhzRxdCNueumKvqKSYGXUPdyOE5kPzdg1oNdRXiM78urVk1r7/xVU2vetAEyRzSJSJ44zl 0nkI60gpC5IjTSsJXdrEA== X-UI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C5dQ0V03FPLYJBbwhsnwkrc95gvqC4aU8w xUd/nn/snTXaKznoudO+uthB/mn2RvAt0Kk4iVDPfiLgPu6BdJV6rbM5NRh0xIuHF8wifa4w6 5J30C7iAiCGZjvgZrJbftLQoFYIR1k/+rRoEshTC76u5yfVlOtM1xsjYw== X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/19/22 10:57, Yang Yingliang wrote: > Add missing pci_disable_device() in error path in chipsfb_pci_init(). > > Signed-off-by: Yang Yingliang applied. Thanks! Helge > --- > drivers/video/fbdev/chipsfb.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/video/fbdev/chipsfb.c b/drivers/video/fbdev/chipsfb= .c > index 393894af26f8..2b00a9d554fc 100644 > --- a/drivers/video/fbdev/chipsfb.c > +++ b/drivers/video/fbdev/chipsfb.c > @@ -430,6 +430,7 @@ static int chipsfb_pci_init(struct pci_dev *dp, cons= t struct pci_device_id *ent) > err_release_fb: > framebuffer_release(p); > err_disable: > + pci_disable_device(dp); > err_out: > return rc; > }