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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A78D4C46467 for ; Wed, 4 Jan 2023 15:08:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239328AbjADPIQ (ORCPT ); Wed, 4 Jan 2023 10:08:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234778AbjADPIB (ORCPT ); Wed, 4 Jan 2023 10:08:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1444C192BC for ; Wed, 4 Jan 2023 07:08:01 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A42FD6177A for ; Wed, 4 Jan 2023 15:08:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FA3EC433EF; Wed, 4 Jan 2023 15:07:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672844880; bh=eyjVkneoD29HZD7V05u7LVYFGlTV8AkMwGCe+d6NoPs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O5cwxBnCTCSPqEzRib+obGailptzMvW37krTp2gwiUyDawk3i8yH1FMgJtaL62XW7 uKmYqT6pniUu6kJIhDs0KVBrugG2Tzz8waoo70mZrGcLqptewRKEofWCIctTCNqgcv wkdl/A7XPgCtwElfr9073cIB7u0exAC4dUCmwBwAx5D5jX8yefyU8MDNnv+6zeP0nh E+Yy3ZWMzEF4xVQ7Ryp0tjeeyuKNB+6A+/NOISt0gZOLK4lJw5QLtbo/tyFva1NX2D mj1TJfw1KgNLnbNZc5M2QJ+N9uwkOdMgOQXMNGGQl9EIk/x1jQg9XGwY+ICNyU3AHs dDgRfyBqNTQlg== Date: Wed, 4 Jan 2023 15:07:55 +0000 From: Lee Jones To: ye.xingchen@zte.com.cn Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: use sysfs_emit() to instead of scnprintf() Message-ID: References: <202212021528368292334@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202212021528368292334@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 02 Dec 2022, ye.xingchen@zte.com.cn wrote: > From: ye xingchen > > 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. > > Signed-off-by: ye xingchen > --- > drivers/mfd/kempld-core.c | 7 +++---- > drivers/mfd/lm3533-core.c | 2 +- > 2 files changed, 4 insertions(+), 5 deletions(-) Applied, thanks -- Lee Jones [李琼斯]