Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1541395pxb; Thu, 4 Feb 2021 16:12:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOvI6M0DFtTVXdR9aWtYXK8qH+0OI0zTsKjXCHTn1TZukzA3K/EbXnH7tJj5bgEfSFmb4Y X-Received: by 2002:aa7:c94a:: with SMTP id h10mr1070766edt.41.1612483956148; Thu, 04 Feb 2021 16:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612483956; cv=none; d=google.com; s=arc-20160816; b=YpF6g2l7yC+nYtOMFWcP/i1ulGlHXoPJ5f8p9BLER/JoG+Uywr/KVX4aG8l5BHtv6R waOc5U5Qe/Rgswlousdn03Z5a961XO0qc1DbXB/rqdfVBUzRdEbKxGsgn/yU4ARt8lo2 N5vjju/Kl49K208kqiTPbWkGGTJpNbkKADgXLCjk00k1kbwjanr29/tv8zESCO2+NvfP hjODmr7WPXhKLF7cGtpKKRkbdVhSdu7xIM6FU/KQea7NdtJnKe97j9Pynul3zl+KMzRX 8w6TC6H5SFm2F09cywKcajkXSbTt4lRopNuytExuDtdtfmJG01PLe1G4aAhscimixORX XgzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JS3Bgy7mjvOy4cWAeaHA2h4b/NH+0j4yRC9R30cxayw=; b=IqEjbRv6BUpYy/UFDpFuy/DOVR8y/crhSC1RJcfsOf/bTebq54HWSd4c3MlQuypk1g MheuKgaRkAoBqRzU6VOI+Q8BsiQW7vSOpo2GyLefJBPYHEDf1/weCQu/4BQf6hl/IqYW nDWQRy+NGBKcClBwK3GLJPwv5M7zDZZh82YmbLskLFt9ugEE/JdFwuyx06h9VQ36yHy9 om1LybZG/1bsMGpsw0Cu46LYXQbo+4TJ65WhXOI+kjxAalkJgc9bKPqP717et/uAbMeu GJLDMiTxL6ZkXsp5K7FkW8Cy4hZ+vj7NE9fv1elTfDD2edtIcc3Ciy1JUq6OOjI2ny/3 S1pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ux1R6MUS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si4710191ede.232.2021.02.04.16.12.10; Thu, 04 Feb 2021 16:12:36 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ux1R6MUS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236215AbhBDNJ4 (ORCPT + 99 others); Thu, 4 Feb 2021 08:09:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:36252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236197AbhBDNJu (ORCPT ); Thu, 4 Feb 2021 08:09:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9F6D064F45; Thu, 4 Feb 2021 13:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612444149; bh=UjdJ73HbJD+0e3GwpEzNT1ALjs4/MoJIMxhVHJjaxfw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ux1R6MUSIR+1K0n/08zUHm6tfyiNueKGGf7gcXbQAntjzWo3uUxvJrnwfGRd2RkxW zdhZ5kukn1Y5dEfWcYFlAoMyI57jBY264E13bjbzhJHbcPKx0sPjfow1/hggA4wJhX UUilhb3+wQCuzCtzliT7mLehDWH7Y0C0KogrvjA+2ZPBWoDSr6iEadJjUpYODpf4/a uF+IvZwkn5wF+kxE5uyBuHxS3yyNH/qBWDRVMdQzom5jnwU5ZRfcaOoKQAzZQaz+y6 wgyuArFiBlcY9F3NjHJFBFjslPviHK0qV2O7aKH7E+K4JiPMTBlYYzobh+/lgOVfQA t+xkmRzpkHwhg== Date: Thu, 4 Feb 2021 13:09:05 +0000 From: Will Deacon To: Jiapeng Chong Cc: mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers/perf: convert sysfs sprintf/snprintf family to sysfs_emit Message-ID: <20210204130905.GE20468@willie-the-truck> References: <1612409571-56451-1-git-send-email-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1612409571-56451-1-git-send-email-jiapeng.chong@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 04, 2021 at 11:32:51AM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warning: > > ./drivers/perf/arm-cci.c:708:8-16: WARNING: use scnprintf or sprintf. > ./drivers/perf/arm-cci.c:699:8-16: WARNING: use scnprintf or sprintf. > ./drivers/perf/arm-cci.c:528:8-16: WARNING: use scnprintf or sprintf. > ./drivers/perf/arm-cci.c:309:8-16: WARNING: use scnprintf or sprintf. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/perf/arm-cci.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) Looks like the same issue exists for other drivers under drivers/perf/. How about fixing them all together? Will