Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2882510pxa; Mon, 17 Aug 2020 23:55:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0DiOMnMky3cVIDFKjFHeTeNUF0mjVXRhsz9wRX0Yns9F17op/6FnthK9Ej6R4hX2JjGXQ X-Received: by 2002:a50:fc02:: with SMTP id i2mr18596244edr.121.1597733708639; Mon, 17 Aug 2020 23:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597733708; cv=none; d=google.com; s=arc-20160816; b=y/9gBcEU0cfIAzBh6z+eAh7YBNVF1HbPDpmqmnRGNu7TwGrluy5RVXEr28Z1zzertO HmL06ixqOaY0qlPs3b7GsRSqhzEgw8/4GavmdBrn5n125JjILDTH6IY6ZcW/u1Ku4Su2 zC1dJir76y8WdIq40mJX4OSSAwolnwC8IqiYbbjLCW42GfClKvKP7vc4GI8GR3hUoj3D 9J0jnym9WOzljp29+Vno5VHrQpMUDAI1eK+1uXlr+14XgwD5Wv1Y61sd7oi97vlCIbR9 ws6wpAgke5zTDvgoqE2aKjwvDNzwexgS/n1aCAGZj9D1FQwWjDpi424E9EMWO9lJfmIc qTlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=nF6Nms136xAQG6cdaeZ8HwNgWzIoBRQCa8GwwOFh9bk=; b=YowaelNwW3/jbFlYquMvWSRxxcP1s0dykY8X39jdy71baNUbMJGL+By21tl2QJ+7gU 7G1mmre8VGj0s2hxlrPJy7kDzzVA9uW0pmgLIU3D69jbnHaGMJKZofeHqAqnWFdDlyH8 k70adUPg6rppm0/pu3v6vq+d3ku3SQpnahsSri0BODSYhzJwcWUAAg3wMaFgYLjc2g/P uqougudru25XFDaXB5BuPXbzuKYTJ56p/gagGgrJ/jLGkrfp3wW2s1/hZLk/faG9f2x9 JG5QL1kcQrwVVnqrpaxBU8mGO7rNbxGTGVsmAE37uEhc/H2f4UToc7oN8ltWEAnIV3af /j0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k27si12149816ejc.447.2020.08.17.23.54.44; Mon, 17 Aug 2020 23:55:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726689AbgHRGyG (ORCPT + 99 others); Tue, 18 Aug 2020 02:54:06 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9832 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726353AbgHRGyG (ORCPT ); Tue, 18 Aug 2020 02:54:06 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 2F72F60EF1D7F7E17F31; Tue, 18 Aug 2020 14:53:56 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Tue, 18 Aug 2020 14:53:49 +0800 From: Tian Tao To: , , , , , , , , CC: Subject: [PATCH drm/hisilicon 1/4] drm/hisilicon: Use drv_err instead of DRM_ERROR in hibmc_ttm Date: Tue, 18 Aug 2020 14:51:41 +0800 Message-ID: <1597733504-30812-2-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1597733504-30812-1-git-send-email-tiantao6@hisilicon.com> References: <1597733504-30812-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use drv_err instead of DRM_ERROR in hibmc_ttm. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c index 322bd54..602ece1 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c @@ -32,7 +32,7 @@ int hibmc_mm_init(struct hibmc_drm_private *hibmc) hibmc->fb_size); if (IS_ERR(vmm)) { ret = PTR_ERR(vmm); - DRM_ERROR("Error initializing VRAM MM; %d\n", ret); + drm_err(dev, "Error initializing VRAM MM; %d\n", ret); return ret; } -- 2.7.4