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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 963AFC433F5 for ; Thu, 29 Sep 2022 10:22:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lK/ela0RCKa2Cv2/jljRSywJeyAUzlDCJIcYgyY+PwI=; b=WyrPRVwTnDuz6H Ot0+zMD+8TtDrtri/Q4eJXlpzzdfChaRfI9UYi3Eg5Rbi192oOd454/+L5x11iOorRQ2wU1VmvP+m MbkmqIrY5qJ8PMuUTy9gqj+2EafM9wrRfOigaMVyvUHnz9/AN5VNl9VeEmY2MvIfpxzvFVGcELh4P e3KbotywBBlugeNxXYP7aXB3CNhHb50uk3r8W85jzNG5yTUynksmT8CaPFm6cyUh80PpM/enOhyI/ sLGksdu5mwqgmcrj046AU66QbeHMj4pnEZqLUmff1ZrnXBIRDv+UBnm5cvvMHeAjCF8iCgLDltdte fgE1VhIwUyuUM9ZHf1nQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odqfR-002NkL-6P; Thu, 29 Sep 2022 10:21:21 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odqfO-002NiW-7T for linux-arm-kernel@lists.infradead.org; Thu, 29 Sep 2022 10:21:19 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AD5C22309; Thu, 29 Sep 2022 03:21:21 -0700 (PDT) Received: from [10.57.66.102] (unknown [10.57.66.102]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F403D3F73B; Thu, 29 Sep 2022 03:21:12 -0700 (PDT) Message-ID: <0007218f-96f0-c348-0dfb-7cb54f014b1c@arm.com> Date: Thu, 29 Sep 2022 11:21:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH linux-next] coresight: use sysfs_emit() to instead of scnprintf() To: James Clark , zhangsongyi.cgel@gmail.com Cc: mike.leach@linaro.org, leo.yan@linaro.org, alexander.shishkin@linux.intel.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, zhang songyi , Zeal Robot , Mathieu Poirier References: <20220927115136.259926-1-zhang.songyi@zte.com.cn> From: Suzuki K Poulose In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220929_032118_343696_2761F0C9 X-CRM114-Status: GOOD ( 10.29 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 28/09/2022 15:56, James Clark wrote: > > > On 27/09/2022 12:51, zhangsongyi.cgel@gmail.com wrote: >> From: zhang songyi >> >> Follow the advice of the Documentation/filesystems/sysfs.rst and show() >> should only use sysfs_emit() or sysfs_emit_at() when formatting the value >> to be returned to user space. >> >> Reported-by: Zeal Robot >> Signed-off-by: zhang songyi >> --- >> drivers/hwtracing/coresight/coresight-stm.c | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> > > Reviewed-by: James Clark I have queued this locally for now, will push it once the next cycle is out. Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel