Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp329390pxa; Wed, 19 Aug 2020 02:28:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHjlEhmVcbGYFt87yNBiV6hgOHl+CncJEGUB6AlUJE2jJQrGwKsfT+rdfZMofvuwHQjVpZ X-Received: by 2002:a05:6402:1347:: with SMTP id y7mr23833493edw.189.1597829284605; Wed, 19 Aug 2020 02:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597829284; cv=none; d=google.com; s=arc-20160816; b=P7jOnU+PioisBgZRfAYCwuUQs5bWAhsE+wbQlEU8GOMJoHPycGU8YUyVapMZSBMLoi OVSvctu1Yuh8JBlVnLtZvSRpbY2VnbtcmV96rK+3GU0gmFWqrBnMdw5nRjCoU35JjZzi r/e11pCF7a6rpCcVtiAWUuYQH8a2XPv4fi+Y6EQbWlHaIpleXEkKUoDWHd9jVC0auXyP 9nC+FezdXaPab9M+6AdCKMi5K6f9Vqp6DOPXt9G5mpKqBzX/wi1T5PqqqMgKMl/kUSmo N7xA2q7qyD+BdTx1ddMQ73G3XT0rAU9H/lthsq8SmGaOOdumu/c3DR6FRIVEif4+apXO 2rEQ== 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=N+XOIJEo/u8Op3dNYyTXvhJRX8GPKEOY/X9nz9y8czI=; b=085l7PLjiRXBODQn7GxFz3JLx4YleXIedtDMdMPt5lfvdY4bqiUZ/WC4rm1olEED3b JcIS2DGgxsp2NizBCZd4qSIpytaOE/El4RFHnw+8JwjXQaxD8++IhKSTnye1HKcTg4cQ FUEtd427bCOEGt7AYXYrtg04GdRANZFs4ZT6WqGoZHDN4wCTFqGCQLmdNZj86qQnlX/E UbP47nf2x8FKCu6mNcQvytG6DQCBywICevHl5ewFTR6UXVV3k8r/su55gYRwxucEuysc cGrV9gBWdHLMDoMbKVXeKOwB0wlPB3hweQ+SiZyq7nllSLznbVq2h9KXhRwnqymgHgDu qpVw== 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 k14si15673129ejs.381.2020.08.19.02.27.41; Wed, 19 Aug 2020 02:28:04 -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 S1727772AbgHSJ0F (ORCPT + 99 others); Wed, 19 Aug 2020 05:26:05 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9773 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727055AbgHSJZ5 (ORCPT ); Wed, 19 Aug 2020 05:25:57 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E3CBC9B36A857A96EBE3; Wed, 19 Aug 2020 17:25:47 +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; Wed, 19 Aug 2020 17:25:39 +0800 From: Tian Tao To: , , , , , , , , CC: Subject: [PATCH drm/hisilicon v2 1/4] drm/hisilicon: Use drm_err instead of DRM_ERROR in hibmc_ttm Date: Wed, 19 Aug 2020 17:23:31 +0800 Message-ID: <1597829014-39942-2-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1597829014-39942-1-git-send-email-tiantao6@hisilicon.com> References: <1597829014-39942-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 drm_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