Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp252672pxb; Wed, 18 Nov 2020 23:31:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOK5Nl0bv1mUtOcaMkzVssIbArXz2sYWT52ELjZ9CNamD/DvqSA67qyT6ihc1WO/3i7IjH X-Received: by 2002:a50:d5dd:: with SMTP id g29mr30286202edj.379.1605771118159; Wed, 18 Nov 2020 23:31:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605771118; cv=none; d=google.com; s=arc-20160816; b=LiG9y7woSVR0+DDnx4mpX+rsJkjoavPGTv33yckDusbbiKYRzPOIn35i6PmZZtVD5k SUzhB2LP7fZiRtvB0rlJJnhjXRwAsbZ+vF9xfljLrXWJcwT8EL0eTJCJXULsVLn1ludg qkx4IbOI2glGLZlMJi36olVThmafrYnDf33HXoOXxJTFIfUBOK4TAFRyuKrfVU+YEk0z Tr3QrByBPGOpVqgFU7VVWoTFBdBFg71AnNMXQUGqitNZMJ49r/bSQgFnMXn+m3LEgJVx OAq2s3SSw2rR7BRwgtV3k22reGhpcTAet/opPFyfJ+pK9k6YOQNik4pwhc7+OfvOYDHW y3bg== 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=o0HUuKQ9VvRhht0CwPB2m6REC5O/KmDw+pdV3eqj3jA=; b=ZjDkE8nVPHnuBPqQsl6moRH/AvvZ8fbysNh4WgGWewpi3cJVBph5EqfX0/N3xIq1ke 3JbKhAfPiYjiitssBxZSp+Zx2zsj+f2Pmie1OlueIGfEnwtyU6CdavO3On/Y4T6+RZik yPRyLL1SiiGaWqtWVUf4RzDf+bY+M2M8hmSEAQlSSswHydXrsTCwImEOOcJB6d1Miorw wzovDN/PPwld/XFK1FO0eZ2AxomwvuCorDJbS3acux0qkiOVkdfy0c84sLOgiR57ueic fdVDjV++nzD6nqA/oaXFFMqJdTiVCZbAseIUOWXYcHQZ4Y9/m1BDxUlkxAN0N9No7jpq Pk1Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x37si18759701ede.385.2020.11.18.23.31.35; Wed, 18 Nov 2020 23:31:58 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726105AbgKSHaK (ORCPT + 99 others); Thu, 19 Nov 2020 02:30:10 -0500 Received: from m17618.mail.qiye.163.com ([59.111.176.18]:56879 "EHLO m17618.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbgKSHaK (ORCPT ); Thu, 19 Nov 2020 02:30:10 -0500 Received: from ubuntu.localdomain (unknown [157.0.31.125]) by m17618.mail.qiye.163.com (Hmail) with ESMTPA id C68FB4E17D8; Thu, 19 Nov 2020 15:30:05 +0800 (CST) From: Bernard Zhao To: David Airlie , Daniel Vetter , Bernard Zhao , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com Subject: [PATCH] via/via_irq: use __func__ to replace string function name Date: Wed, 18 Nov 2020 23:29:55 -0800 Message-Id: <20201119072957.108941-1-bernard@vivo.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZHhlJHUxJQhlDQ0hNVkpNS05MTEpLS05CQ0lVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS09ISFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NDo6OQw6Sz8tPw0xPkg2Vk8q ThMwFENVSlVKTUtOTExKS0tNSEJKVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlKTkxV S1VISlVKSU5ZV1kIAVlBSkxITjcG X-HM-Tid: 0a75df690fd89376kuwsc68fb4e17d8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change also fix checkpatch.pl warning: WARNING: Prefer using '"%s...", __func__' to using 'via_driver_irq_postinstall', this function's name, in a string + DRM_DEBUG("via_driver_irq_postinstall\n"); Signed-off-by: Bernard Zhao --- drivers/gpu/drm/via/via_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/via/via_irq.c b/drivers/gpu/drm/via/via_irq.c index 24cc445169e2..56ce5d4ee24a 100644 --- a/drivers/gpu/drm/via/via_irq.c +++ b/drivers/gpu/drm/via/via_irq.c @@ -308,7 +308,7 @@ int via_driver_irq_postinstall(struct drm_device *dev) drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; u32 status; - DRM_DEBUG("via_driver_irq_postinstall\n"); + DRM_DEBUG("fun: %s\n", __func__); if (!dev_priv) return -EINVAL; -- 2.29.0