RE: sysfs output without newlines

2020-09-01 Thread David Laight
From: Joe Perches > Sent: 29 August 2020 21:34 ... > > On 8/29/20 9:23 PM, 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 newlin

Re: sysfs output without newlines

2020-08-30 Thread Greg Kroah-Hartman
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

Re: sysfs output without newlines

2020-08-29 Thread Joe Perches
On Sat, 2020-08-29 at 23:23 +0300, Denis Efremov wrote: > Hi, > > On 8/29/20 9:23 PM, 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

Re: sysfs output without newlines

2020-08-29 Thread Denis Efremov
Hi, On 8/29/20 9:23 PM, 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 term

sysfs output without newlines

2020-08-29 Thread Joe Perches
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 sin