lkml.org 
[lkml]   [2021]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] debugfs: Fix debugfs_read_file_str()
On Fri, Jun 04, 2021 at 10:39:43AM +0200, Peter Zijlstra wrote:
> On Thu, May 27, 2021 at 11:11:05AM +0200, Dietmar Eggemann wrote:
> > Read the entire size of the buffer, including the trailing new line
> > character.
> > Discovered while reading the sched domain names of CPU0:
> >
> > before:
> >
> > cat /sys/kernel/debug/sched/domains/cpu0/domain*/name
> > SMTMCDIE
> >
> > after:
> >
> > cat /sys/kernel/debug/sched/domains/cpu0/domain*/name
> > SMT
> > MC
> > DIE
> >
> > Fixes: 9af0440ec86eb ("debugfs: Implement debugfs_create_str()")
> > Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
>
> Urgh.. so much for last minute changes :/
>
> Greg, AFAICT that commit has since landed in Linus, will you take care
> of this?
>
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Yes, I'll pick it up now, thanks.

greg k-h

\
 
 \ /
  Last update: 2021-06-04 10:42    [W:1.191 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site