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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EEFBC433E2 for ; Sun, 30 Aug 2020 09:13:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 52E30207BB for ; Sun, 30 Aug 2020 09:13:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b/y5cnN+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ai0UuHTn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 52E30207BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Z67DOeaQMgtMkV+fPZqSDYKuRyyZu1Do9PtL/Yt0oIw=; b=b/y5cnN+5W32cEDD1GGmYaVM+ dlO3/PpwvAG4Cmrj4kjvzxEywkewMqPZYphbQVswdu/GAzc6CHhe+Da4OhVFl51phMivECn/40DGj 8QqARFzQZI24yZbAhiEVgeZWvNo5Kej/+FSBbxUMs3HBZlCLSQ9Om4FxEih7Su7Uz055yO3y4cZCL owsYDyji/2bXEX91hDFkRKF5CbkMCute9jlt1DrgQUXazU7fyG7DSre5qBfH5ptzO/AMy0S/PiKUu /0kHjA9GchnNAlMTTwlyDQnQ7spBMtlKExHKfYxWxFHKZijxVXbuXKniJUmejTGhXF4cSGRcndtnT UATwaH/mQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCJNP-0001X9-AP; Sun, 30 Aug 2020 09:11:51 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCJNL-0001Vv-GO; Sun, 30 Aug 2020 09:11:48 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E151207BB; Sun, 30 Aug 2020 09:11:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598778705; bh=BWklOV6bppJJ3A+SKZXddiVUDib6q31F3dsVGTSMtbw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ai0UuHTnZlo4wf/I5Ov08/TrKTmcZtSZYe3sSmtFPMekal3JdcbUjzjqFbnUO+Xal 3yu7jLxoRUMmC3+CDPYPEQ3UI5NZnEfFVp9S1Y2s6awOmfdpwE/crUJIFWSu1iADuB /HLt1Sk8k3z7Ye5JS2yTFeHHb/XaDjL5nXdJ7wQA= Date: Sun, 30 Aug 2020 11:11:42 +0200 From: Greg Kroah-Hartman To: Joe Perches Subject: Re: sysfs output without newlines Message-ID: <20200830091142.GC112265@kroah.com> References: <0f837bfb394ac632241eaac3e349b2ba806bce09.camel@perches.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0f837bfb394ac632241eaac3e349b2ba806bce09.camel@perches.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200830_051147_696778_EE71217B X-CRM114-Status: GOOD ( 14.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Ulf Hansson , linux-usb@vger.kernel.org, "Rafael J. Wysocki" , linux-mmc@vger.kernel.org, Kai =?iso-8859-1?Q?M=E4kisara?= , LKML , Pete Zaitcev , linux-i3c@lists.infradead.org, Arnd Bergmann , linux-scsi@vger.kernel.org, Madalin Bucur , Michal Simek , Alex Dewar , linux-arm-kernel@lists.infradead.org, Jakub Kicinski , Tomas Winkler , linux-edac@vger.kernel.org, Stanislav Yakovlev , platform-driver-x86@vger.kernel.org, Robert Richter , Kees Cook , Alex Dubov , "James E.J. Bottomley" , Denis Efremov , Mark Brown , Borislav Petkov , Darren Hart , Mauro Carvalho Chehab , York Sun , Kalle Valo , Maxim Levitsky , Tony Luck , "Martin K. Petersen" , Boris Brezillon , netdev@vger.kernel.org, Oliver Neukum , Douglas Miller , "Gustavo A . R . Silva" , linux-spi@vger.kernel.org, Julia Lawall , James Morse , "David S. Miller" , Andy Shevchenko Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Aug 29, 2020 at 11:23:43AM -0700, Joe Perches wrote: > While doing an investigation for a possible treewide conversion of > sysfs output using sprintf/snprintf/scnprintf, I discovered > several instances of sysfs output without terminating newlines. > > It seems likely all of these should have newline terminations > or have the \n\r termination changed to a single newline. > > Anyone have any objection to patches adding newlines to these > in their original forms using sprintf/snprintf/scnprintf? No objection for me, patches for my subsystems will be gladly taken. thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel