Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17447763rwd; Tue, 27 Jun 2023 03:12:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LS2hKlj2gVhx8kx6QRZvGT7JRPw0QtW/4Oki6POBKffUW3cgL3crI9tu5YGhXvBDNtLpI X-Received: by 2002:a17:90a:e2c4:b0:262:ecdd:2799 with SMTP id fr4-20020a17090ae2c400b00262ecdd2799mr7665577pjb.8.1687860773271; Tue, 27 Jun 2023 03:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687860773; cv=none; d=google.com; s=arc-20160816; b=dJm1+psFbPCZi94dKjuDWM2s3qXjCctlZqjXZhit9n3M7k1RVvluyftZ09xwqPj5IM GwfqrQJdNmAH/gx0F4BLfgc8FNfv1fad9zsG0bBJ9TlzR6i7VhfN1YVgtaUbv0k/vwJn /oHFU/o6oWx0klxEfC3+8fZv/YGNSw51iYx9OLJPneA0OwXxoBjBAufo7Gj4eMTVZL55 VIuwlUV6hhh52fTObClPYaIQfeh5jrefyAyL6AwzsPc9JQJAyy/EDRCGD/VhRErQSuGW NwfHBetmWWqOxPbm3hJ/c0lVIBfc5d54PYdgHIekbLxMzgt8E+LEcgUUAcyQ71ZNFF0t 6KVA== 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 :organization:references:cc:to:from:content-language:subject :user-agent:mime-version:date:message-id; bh=IY+v8919ULSypoMrkiDucCvUqq/9kT3ZGPTD+pEcxVY=; fh=J/ZNQK1HOo8qSty2ogx43IkozGOMfaQUxNZ+CFgxiT0=; b=tDsPbwExdIXMC6sh5MlkW/rBe+ztfppEZ+HEZEaRyf7RahPGmt2JP4nXWIYUsIS8A3 AXowqJHx3dXpp2jEgO0x7jhpXZuR4LlDIgL5TWoWyUiPHjDBA50mecyEWVJTtVN9Xrbn zfSWQbbtYHD0J5dgcv2IAs7qolWywGfvH/50He5eDMdTTTTrGY1q9yaE36e8XGr6Aa+U 2qRyB1RbgfJvFG80b05N8pXInx8USNF9V220+Y5vCHBv67zW4K+fFRlzmbeOPpgHteqM ry+OGm4Of/WILZ0RUiy0JrSl527hitesp8YAFegWUIObe4X2MPzJktTP6DU5mhzDUe0I bcEA== 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 q89-20020a17090a4fe200b002402275fc56si1293112pjh.118.2023.06.27.03.12.36; Tue, 27 Jun 2023 03:12:53 -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 S231990AbjF0KBs (ORCPT + 99 others); Tue, 27 Jun 2023 06:01:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232022AbjF0KBW (ORCPT ); Tue, 27 Jun 2023 06:01:22 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9207C4680 for ; Tue, 27 Jun 2023 02:58:15 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxQ8S2sppkRQgDAA--.4736S3; Tue, 27 Jun 2023 17:58:14 +0800 (CST) Received: from [10.20.42.43] (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxriO1sppk89ELAA--.7602S3; Tue, 27 Jun 2023 17:58:13 +0800 (CST) Message-ID: <6f54cb32-7acd-4749-62f3-27fa21b95843@loongson.cn> Date: Tue, 27 Jun 2023 17:58:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] drm: Remove the deprecated drm_put_dev() function Content-Language: en-US From: Sui Jingfeng To: Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Alex Deucher , Christian Koenig , Pan Xinhui Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org References: <20230625050901.393055-1-suijingfeng@loongson.cn> <4672fc8d-ca95-6d00-1303-cb5968c51703@suse.de> <766f323a-efcf-6552-f7e5-a736830c3f12@loongson.cn> Organization: Loongson In-Reply-To: <766f323a-efcf-6552-f7e5-a736830c3f12@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8CxriO1sppk89ELAA--.7602S3 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUm2b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x02 67AKxVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6x ACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1q6rW5McIj6I8E 87Iv67AKxVWxJVW8Jr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2 IEe2xFo4CEbIxvr21l42xK82IYc2Ij64vIr41l4c8EcI0En4kS14v26r126r1DMxAqzxv2 6xkF7I0En4kS14v26r1q6r43MxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v26r 4a6rW5MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CE b7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r4j6ryUMIIF0x vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAI cVC2z280aVAFwI0_Cr0_Gr1UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxh VjvjDU0xZFpf9x07jUSdgUUUUU= X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 2023/6/27 16:41, Sui Jingfeng wrote: > > if the ->probe() failed, then the ->remove will be get called. if the ->probe() failed, then the ->remove()  will *NOT* get called. -- Jingfeng