Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5137800rdb; Tue, 12 Dec 2023 22:58:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQSny3IM8jZBt2AE4OVuZotDTewb0eZ86AEdNk2F2ibKFqVUpYF1362mwp9vJ9gfs3wFD/ X-Received: by 2002:a81:84c1:0:b0:5d7:1941:357c with SMTP id u184-20020a8184c1000000b005d71941357cmr5200172ywf.99.1702450703449; Tue, 12 Dec 2023 22:58:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702450703; cv=none; d=google.com; s=arc-20160816; b=EQzNgc3MsOw9Jwcmxi0BqDB3xMIZgmhy0rumfh81WiKkcBS0d0exfUgD4wlX/g8VjL JC9fT3sk2opsU0Y9EPr6QcxwCk5+DbocG2APdRLVlqOujmhs0IK3a+rItCoGY73mXqzF A/XxgoaXaW/T/oXffk+LKrIBODrPRMb+xxq3dUxrr/sv5o+sAkYa2ivzqpUNa0xvN4kG iI/bfoZaY7fCt8LxXNF0/1EQC+FZyrcWnYF8cZ7fyNrmjEMUKEysWd82pCBJyJ63qvFx 4LtJkcEhlW5q7obIPXsxBLNLbZEK4krR+jADXowEiY5iIh+YzfLH4HuwD5EQFMGoHk06 A0Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0DAn5xLi9rQnaABRWF75LVLMVJOq3CUle8klA98StY8=; fh=TlO+4NeUsHZNIkd9GlmGmPEBfmM4GuFsOKLjScuM9Jc=; b=o4emWI5zVj1JbmGZDPpWi5PhLdoRatjX6BD5gVliaZ6eADRxXztqgJ8J1PM0c8o4sI cEF5pWTrt+Az3x45ucChBPPYk3ZGUvfGML5h+hsNyvIcgISKyJNoDbtKvEiCVww8oNvh zpeBvCzT8xygk18wKxiLuxO7stzmADio8mg8QllPn5dsofQEsxtKhAiAxf3In2zr3twh 9SGX9KCGGOkDkMoBk7L+JDZJoYKBI/Gu4rG5IgWwTTSselb7rkyCxZ03BXMnaDs54tOd MgaELaEVsh69bCtIseAJsUE3M6OzD8T9/T/8lJeTW8LduEMTGljgADr9UUmPaJi9SWgh SgpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l5grFS/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t12-20020a170902e84c00b001d339edebf1si2240815plg.639.2023.12.12.22.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 22:58:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l5grFS/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 42B8280436A8; Tue, 12 Dec 2023 22:58:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378660AbjLMG6J (ORCPT + 99 others); Wed, 13 Dec 2023 01:58:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378654AbjLMG6I (ORCPT ); Wed, 13 Dec 2023 01:58:08 -0500 Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78A8CAC; Tue, 12 Dec 2023 22:58:14 -0800 (PST) Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1fab887fab8so4939142fac.0; Tue, 12 Dec 2023 22:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702450694; x=1703055494; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=0DAn5xLi9rQnaABRWF75LVLMVJOq3CUle8klA98StY8=; b=l5grFS/cCA+bTXfPvDq9MUiOZwfLFvtOPLzmUG4BT8tpEz3dduWugXLiEbTIweYp5K rzZFXZ4gmLcPw3oNxY5ji3ofqyuPhx0t7cVOkDvF53hJXD4jxfH6GLht/Z/NP4QEK/t0 A5hKjyIqnG2nE274u70M9+AA6wvCHtBRDCHLwyiQvr6qpH5HdifKvFkEl4SCHDIuL319 BOHz9f25lsx4XmMlVK7DrMCeV+IvKQKSi7N2P2gp6unbVsaHBuFIN5bgleMYEKCfwnJb tKuSqIyVmfTPmz80EOaSCJECQtSR8pFh8lfAxRK3xtac6KXZ8gxpIA5jbyiPyOmUrxbB ZNOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702450694; x=1703055494; h=in-reply-to:content-transfer-encoding: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=0DAn5xLi9rQnaABRWF75LVLMVJOq3CUle8klA98StY8=; b=vQKj5+gAy31b8yquRyCY0VV2uLYGi/kHkFU97qKXTE6IGfXrx3hEMiodX9/qsL09+j jWgzrpZkW7HhoqtAfAvfxRemI8LVaInIAVc1wqR82Dcem6qw3kFj5rftxLLc/0QL4OXc /KldfxrCN1FfQPchYuPj3SxtLGoWCvHi6qOUwb+sW61LA2sm+h0IPLL4orTCXoOYulD1 QtygA1nOdf7jYt/p3Uu7j6A7VGXkitYzCu4G2C/Dfdahreqz2/OUeDXNVXK3ofgSVh8U nRtYjgw+UZsPdutPdYufN/EcpHUTmySrdB0ppEaNZOEMiy/kJ7KLTBoGiNo2V1V25Hop qADg== X-Gm-Message-State: AOJu0YzgSa/XoF5+8/Gi4nqnkjJUBRiD2+oOfNkgVLDq9Gx6wspNdTCW cKBkbXrvIk0d5sYiGxpCNpU= X-Received: by 2002:a05:6358:3393:b0:172:8991:8120 with SMTP id i19-20020a056358339300b0017289918120mr600911rwd.60.1702450693543; Tue, 12 Dec 2023 22:58:13 -0800 (PST) Received: from google.com ([2620:15c:9d:2:96c1:256f:67e0:c0db]) by smtp.gmail.com with ESMTPSA id mt17-20020a17090b231100b0028ae58d4435sm590399pjb.28.2023.12.12.22.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 22:58:13 -0800 (PST) Date: Tue, 12 Dec 2023 22:58:10 -0800 From: Dmitry Torokhov To: ye.xingchen@zte.com.cn Cc: oliver.graute@kococonnector.com, u.kleine-koenig@pengutronix.de, jeff@labundy.com, nick@shmanahar.org, giulio.benetti@benettiengineering.com, michael@amarulasolutions.com, dario.binacchi@amarulasolutions.com, wsa+renesas@sang-engineering.com, johan@kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] Input: =?iso-8859-1?Q?touch?= =?iso-8859-1?Q?screen=3A_use_sysfs=5Femit=28=29_to_instead_of=A0scnprintf?= =?iso-8859-1?B?KCk=?= Message-ID: References: <202212061148163560976@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202212061148163560976@zte.com.cn> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Dec 2023 22:58:21 -0800 (PST) On Tue, Dec 06, 2022 at 11:48:16AM +0800, 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 > Acked-by: Uwe Kleine-K?nig > Acked-by: Oliver Graute Applied, thank you. -- Dmitry