From patchwork Sun Sep 19 21:59:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12504473 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A47EC433F5 for ; Sun, 19 Sep 2021 22:10:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14FA460F9C for ; Sun, 19 Sep 2021 22:10:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 14FA460F9C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o9MqlkrDNq57gGn0Si4SBhJEz8r6Cerb+Dkv5bJEnx4=; b=ldcLEempaoCVyZ k5/r8Ojb5JygtprooR4od6uSFD0OYZlCOY6pGH4KXvEcUYbrRXV6r2h97fSucuPI8ppRM1Fcx8MY5 r1SBXOSkJtyfwzYKO6MixR3pAUEMT8Sma8aDh7VQAusHzXdGPSHaJrPINHIqcRbX69eMBILweheOA RLPEqljTP55EbDpxuLsYJndgZKiYp0fnC6dfAiL8aeFF7F4TvNjNTSxlFbXxbco5gnDkM+UsFHRhz rrKB8K7+LoBxPAR9z+E9FxFzZiFSZmCY5NTT/NlITg7DgvIiO4oVMRvHTw83SwpSWQ39FWwXdffGA +gU07UM/d9ZOuIGnSlvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mS4yl-000Iqu-64; Sun, 19 Sep 2021 22:08:07 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mS4xO-000IPN-JJ; Sun, 19 Sep 2021 22:06:44 +0000 Received: by mail-qk1-x72c.google.com with SMTP id i132so7765902qke.1; Sun, 19 Sep 2021 15:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h/GsHeyvvkKJdskTxdNmQ/rhjzzyIPbBxi6Rx6oGxp0=; b=EwRZXHZ2ZxDHgukg6GrKwx/vTr0nhMBZQfpi+FrmLDNCeENzzH1sf4puo5sCKCq/M+ HkVrHJZtzMqa0US0pWeKBUMJgBO97pz3vFKIjj4aVl9KBsTT6x2Gdsd9yHFQlpFbA25B C7j2njdMeNH8sWHr2jONX+rLKoF4/IsZ29y9KLEoJ04xyaTFJBkJxXmqrfp2TW4rf49w Tj40Usf5WWP7bG2Oz4uptbmmFvpgVzr5KcvV44BVZTUYVYaSczVw3PcR/iTAzEaP8VRg SPuMDj/9C5oYnWGm60WEhEPcDYhAk/e4HdOo9Bc/ugArvAWNzHHk5sG8fOR6XMl12Wf0 UTBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h/GsHeyvvkKJdskTxdNmQ/rhjzzyIPbBxi6Rx6oGxp0=; b=VGPj59jp1ClQGoRQq9LzQkN02QDy6qw6UOhYa49096mjKsypVXnJvTrKRgKVMdv4NB SIa1bfk9u7pHoF2nYkDHSl3PgfnYOhYgx+iohJkLhh5PCa6WKbV4d6U+47aKe7TTDGis zKIhELYAgW75U4/lj/zj6QUoFzJeSW7OQh7+wJm96KklekWxbPqDsCbXciZ/s+NWffGm OxIuHBRlIWU2fZ77pibEG9v18ip2cG6HrfMsHA9lOqKNhjdfgRKDE8uv4At1XqDiYU61 tco5VKzZphRMupWu0Qb9ob+9CGzmbdpaYHR/Fe6XC6EVMI97yOjy85Q5444qlFO6+PEC zV4A== X-Gm-Message-State: AOAM530jOlVo+zTqqIIb9BOcNdU+jsbw/2KiCpvaOsurk5vkaMvj+3pg qAOFOFqy3bZ7YmJ0huEnhoA= X-Google-Smtp-Source: ABdhPJyfsmmaw+e54+EKhacYU+CLQadhZShHYn6/qVyVc1PUf6FwE2BQXyPk/MBkIkFJiEBXwFX08w== X-Received: by 2002:a37:f515:: with SMTP id l21mr21014533qkk.234.1632089201692; Sun, 19 Sep 2021 15:06:41 -0700 (PDT) Received: from localhost.localdomain ([191.84.236.195]) by smtp.gmail.com with ESMTPSA id t23sm246313qkj.31.2021.09.19.15.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 15:06:41 -0700 (PDT) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: gregkh@linuxfoundation.org, nsaenz@kernel.org, stefan.wahren@i2se.com, arnd@arndb.de, dan.carpenter@oracle.com, ojaswin98@gmail.com, amarjargal16@gmail.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 7/7] staging: vchiq_arm: use __func__ to get function name in debug message Date: Sun, 19 Sep 2021 18:59:14 -0300 Message-Id: <20210919215914.539805-8-gascoar@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210919215914.539805-1-gascoar@gmail.com> References: <20210919215914.539805-1-gascoar@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210919_150642_699176_3D10EEA6 X-CRM114-Status: GOOD ( 11.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Avoid hardcoded function name using "%s", __func__. This prevents potential naming conflict if the function is eventually renamed. Reported by checkpatch.pl Signed-off-by: Gaston Gonzalez --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c index 3225f0738ef9..fcff2e5bd73f 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c @@ -1025,7 +1025,7 @@ service_callback(enum vchiq_reason reason, struct vchiq_header *header, spin_unlock(&msg_queue_spinlock); DEBUG_TRACE(SERVICE_CALLBACK_LINE); DEBUG_COUNT(MSG_QUEUE_FULL_COUNT); - vchiq_log_trace(vchiq_arm_log_level, "service_callback - msg queue full"); + vchiq_log_trace(vchiq_arm_log_level, "%s - msg queue full", __func__); /* * If there is no MESSAGE_AVAILABLE in the completion * queue, add one