From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 EAA01C38A2A for ; Fri, 8 May 2020 10:29:22 +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 AC9EB215A4 for ; Fri, 8 May 2020 10:29:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wcm/AjEq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="B5Oc8wf+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC9EB215A4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dy59kU7/fvB97qwx7sYObvapzJ4tqG3mJ82unB5q13U=; b=Wcm /AjEq3HDF73xC+kywpSfo6aHVgGiaMlbUlR4AJMGulqdfQGv300J9RBLvcTKx6UdL2mzkj96+VU60 h4fK1NRBKLD/wDF8ifrXNU27Y9R1zylouZW353SWSaQ93J7Fj9MXjFrKq9LtnMAu6rEMKdkf4zIBB Sj5ItuT/hoz7mIdOlePMFnNAs+TBGyTjh5hmB+9Em21Idzut2+znteeGSg64lqjh+GU92VnyVXsgS t5lwjRh1LBVoaTzDvnnLnl7pN60eL7fYUM67X7TU7YIgq9eUryZDNY0/o+46Q/jNKLaYeJ5YHaR6H J0FKqmIg7Zy7LOwCfMmHGmS6rL/OcQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jX0Fu-0003Cz-A1; Fri, 08 May 2020 10:29:22 +0000 Received: from mail26.static.mailgun.info ([104.130.122.26]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jX0Fo-0003Bl-V9 for linux-arm-kernel@lists.infradead.org; Fri, 08 May 2020 10:29:20 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588933758; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=ELjWYl2rDY4OEsO5E0EnrFKtBC0Z0iB83Va1Wzta/3E=; b=B5Oc8wf+PecrwKwLcrDnZRaXmfeRRmWA+yxjtfq8PcsJgSLy89x+c6bYLTlBICjvfSd6RqeU gy+BbKbZh1DyA6r0egWKeaBKDTJStPpL6VVV4S4Ved1IEzbqHSjgdlBUghtDQTIDzVEQARYb ELo4QSlyj3k2lU9uVOUHpZpZx1U= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyJiYzAxZiIsICJsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5eb53475.7fa7c3d5a768-smtp-out-n03; Fri, 08 May 2020 10:29:09 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A37BFC433F2; Fri, 8 May 2020 10:29:08 +0000 (UTC) Received: from kathirav-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kathirav) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6D0F3C433D2; Fri, 8 May 2020 10:29:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6D0F3C433D2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kathirav@codeaurora.org From: Kathiravan T To: mathieu.poirier@linaro.org, suzuki.poulose@arm.com, mike.leach@linaro.org, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] coresight: platform: use dev_warn instead of dev_warn_once Date: Fri, 8 May 2020 15:58:41 +0530 Message-Id: <1588933721-18700-1-git-send-email-kathirav@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200508_032918_325726_9F815E83 X-CRM114-Status: GOOD ( 12.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kathiravan T MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org When more than one coresight components uses the obsolete DT bindings, warning is displayed for only one component and not for the others. Lets warn it for all components by replacing dev_warn_once with dev_warn. Signed-off-by: Kathiravan T --- drivers/hwtracing/coresight/coresight-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c index 43418a2..b7d9a02 100644 --- a/drivers/hwtracing/coresight/coresight-platform.c +++ b/drivers/hwtracing/coresight/coresight-platform.c @@ -284,7 +284,7 @@ static int of_get_coresight_platform_data(struct device *dev, if (!parent) { legacy_binding = true; parent = node; - dev_warn_once(dev, "Uses obsolete Coresight DT bindings\n"); + dev_warn(dev, "Uses obsolete Coresight DT bindings\n"); } conn = pdata->conns; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel