From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: sysfs output without newlines Date: Sun, 30 Aug 2020 11:11:42 +0200 Message-ID: <20200830091142.GC112265@kroah.com> References: <0f837bfb394ac632241eaac3e349b2ba806bce09.camel@perches.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <0f837bfb394ac632241eaac3e349b2ba806bce09.camel@perches.com> Sender: linux-mmc-owner@vger.kernel.org To: Joe Perches Cc: LKML , Denis Efremov , "Rafael J. Wysocki" , Kees Cook , "Gustavo A . R . Silva" , Julia Lawall , Alex Dewar , York Sun , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , Michal Simek , Boris Brezillon , Maxim Levitsky , Alex Dubov , Ulf Hansson , Tomas Winkler , Arnd Bergmann Ma List-Id: platform-driver-x86.vger.kernel.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