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 E8E69C001B2 for ; Fri, 9 Dec 2022 01:07:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbiLIBH5 (ORCPT ); Thu, 8 Dec 2022 20:07:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbiLIBHz (ORCPT ); Thu, 8 Dec 2022 20:07:55 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5181C303E8 for ; Thu, 8 Dec 2022 17:07:54 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id e7-20020a17090a77c700b00216928a3917so6458011pjs.4 for ; Thu, 08 Dec 2022 17:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=GMgcio3GEyGGRJF/K7KlPrcvkmRO7TqWfwuOwdnacGc=; b=gZht8F7nsvDzPIuSJ+S+zxSpiD/+2VhGF7mptjcAN5f4gCwk/vgE0OosnqNrDDiv0u f9Km217LaVDNYXbBzCjnptGNlh2MS6XWbXiQqi4vXsWx9ZZyBbYRhSuDyzYG4AS7O8by 7rV0HlR2zO5ZaudpuPfsHARWP7fMiGpRmn7G8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GMgcio3GEyGGRJF/K7KlPrcvkmRO7TqWfwuOwdnacGc=; b=alXbVHuCL+tdIL39Pxeu2pVnFSrQjBAThgF61PtOCpJ0THemk1wc05lYmN8ObZGnU4 aGJ2Zi2ZKooF2EUNslHWzKGyjLjsebCQsX5qjshcVSuGQNwBeGzn3da0WAB9FkhUgCVT E/SQeIPgQgXDGYFlXsmMqblFDt7XKIuKFQp9da5vWdPkZxG2J4DT6qrgoBIVbSJuraa/ eExkZ9GaAOkKF78IIoJv0NjJbP8hcrI8Ako9SMG0S1JLPMxlDAF4347RpVHAF/LzTUc5 rvzWtNOOursetIOHIsTzj8ThevsBmv2dLPdUhiQCZIygS1E3xerZ/99V9uFWKsoZE4X3 DE3g== X-Gm-Message-State: ANoB5plvZOTrXdYYTN8PTGJHg8eZKYNJXjVLmRoGww5m40qHhO1zRllh SN6HfiI2xPTqSUFBIh4nQfGc+Q== X-Google-Smtp-Source: AA0mqf4m57nSOe++sM9RXZzuK1MXJ48TXmwuWx1bdZuYmdC/h8DAgeBR7INxXll6fJPNMVhAA/LxRA== X-Received: by 2002:a17:902:c94d:b0:189:b36a:5448 with SMTP id i13-20020a170902c94d00b00189b36a5448mr5700057pla.44.1670548073678; Thu, 08 Dec 2022 17:07:53 -0800 (PST) Received: from google.com (KD124209188001.ppp-bb.dion.ne.jp. [124.209.188.1]) by smtp.gmail.com with ESMTPSA id h4-20020a170902b94400b001895f7c8a71sm61153pls.97.2022.12.08.17.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 17:07:52 -0800 (PST) Date: Fri, 9 Dec 2022 10:07:48 +0900 From: Sergey Senozhatsky To: ye.xingchen@zte.com.cn Cc: linkinjeon@kernel.org, sfrench@samba.org, senozhatsky@chromium.org, tom@talpey.com, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs Message-ID: References: <202212070929276734686@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202212070929276734686@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (22/12/07 09:29), 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 Reviewed-by: Sergey Senozhatsky