Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1360762rwb; Fri, 19 Aug 2022 02:11:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR4DMtToReYZCEQZQCnxMMWuuzJ2nFmGJmm2F/DFuE3uLMSpBX4FUSWF/ANF0G2CxsGN7tu7 X-Received: by 2002:a17:902:f641:b0:172:9642:1bf1 with SMTP id m1-20020a170902f64100b0017296421bf1mr6523920plg.36.1660900305333; Fri, 19 Aug 2022 02:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660900305; cv=none; d=google.com; s=arc-20160816; b=JTitvG1l38OmNtCUC6KFHlgZQtE9bbxhNuZh/2T6fx9FYIOHFwvFjCilFENyBw8sLm QWq/EZ1SbdE4aaLkMZaNbEtsV5FFCXGSnjzdbE/bxCR+jh1tzUOMN0lk/7tKUmWjOpzv XFW4kGIbr1X9jewCDYUTHmnvEhb8B3tlpr39kEmitZi8lwUKYwN7d1Sz0TAikc5r6vHc C6tBca3nGeRP3iiC8V0jvqmhPcvbVWWbjTaXtkacljfa5O5KqTHaGXcVEQb9hT7NsEjG PV5KKmfs8Jix9a03wxL3cqjEMMGrhQ64n7H6MxkE/4sqiHH6IHWGJL2HDTe2WInZYfv+ e4Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=H0Qt744crWWw7b4jStIXoCWpU1XCdFxEPw9Gi5NCrCk=; b=P4X6KDUp+/EXIlvwqOeLNdAOQojfJBvEZeLG+oQL65VXKnYj5hBBkjZiACm3AUeYmx ppMO4GyOGMUhlDU5cZ5qHxeHjS6qWZHufzIUepRUgwNoa5kLeEDiH91PSTN+SvwdXyTQ mKaBUmxiTy/nN0A79GBp4fhRo3sO+XY4OmSbLwLzAsoHnlFaJXqKP2OEDaP7pr7LiPgv wCJWUW83xLB03yXlcdSW/qY6yBx9z6hoeXIe0krEJG+tr8PFvmNx2sSsrUosZOH+urFR UQm4gC8s32J2D8TC6VcyF1Q33q2WoumcEg3O/dY77YgLfwSM9r3I40s/uXG9t30fhe3x 4p6Q== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a056a001acc00b0052b18c4c8besi3845364pfv.217.2022.08.19.02.11.34; Fri, 19 Aug 2022 02:11:45 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346858AbiHSItv (ORCPT + 99 others); Fri, 19 Aug 2022 04:49:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347684AbiHSItq (ORCPT ); Fri, 19 Aug 2022 04:49:46 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 784741F2FD; Fri, 19 Aug 2022 01:49:45 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4M8FkT5S0pznTg2; Fri, 19 Aug 2022 16:47:29 +0800 (CST) Received: from dggpemm500007.china.huawei.com (7.185.36.183) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 19 Aug 2022 16:49:42 +0800 Received: from huawei.com (10.175.103.91) by dggpemm500007.china.huawei.com (7.185.36.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 19 Aug 2022 16:49:42 +0800 From: Yang Yingliang To: , , CC: , , , Subject: [PATCH -next] video: fbdev: chipsfb: add missing pci_disable_device() in chipsfb_pci_init() Date: Fri, 19 Aug 2022 16:57:52 +0800 Message-ID: <20220819085752.1909541-1-yangyingliang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500007.china.huawei.com (7.185.36.183) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Add missing pci_disable_device() in error path in chipsfb_pci_init(). Signed-off-by: Yang Yingliang --- 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, const struct pci_device_id *ent) err_release_fb: framebuffer_release(p); err_disable: + pci_disable_device(dp); err_out: return rc; } -- 2.25.1