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=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 692A0C07E94 for ; Fri, 4 Jun 2021 08:41:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E307613FE for ; Fri, 4 Jun 2021 08:41:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbhFDInc (ORCPT ); Fri, 4 Jun 2021 04:43:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:38756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbhFDInc (ORCPT ); Fri, 4 Jun 2021 04:43:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0764761358; Fri, 4 Jun 2021 08:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622796106; bh=/78HkMXdp/BYRaD+gNhxW4gej7SZMxkqGiWkOR0DKWU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b25rXbtQyega7nd7MsUImqLG7K8/+B3QuRUPbx8FjnvtMKrXwlCR9hgkI5WyJZQ6m crwMaD33/seD/j/Wt6W8e/RDhFflqxGqN+R6Ef65pE6EXguhHUN/8Wz5GHCYUgLu9I kOreHU0ZZFYUM6PQiWh5EBozCmXnuqO9qeFFTM6c= Date: Fri, 4 Jun 2021 10:41:44 +0200 From: Greg Kroah-Hartman To: Peter Zijlstra Cc: Dietmar Eggemann , Ingo Molnar , Juri Lelli , Vincent Guittot , Steven Rostedt , Valentin Schneider , linux-kernel@vger.kernel.org Subject: Re: [PATCH] debugfs: Fix debugfs_read_file_str() Message-ID: References: <20210527091105.258457-1-dietmar.eggemann@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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) Yes, I'll pick it up now, thanks. greg k-h