Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp934410pxj; Fri, 4 Jun 2021 01:43:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVtbHpMxD21lI/MNPS7TRJkQhIqCiU3GB5ypxGI6an4JWEpK6mJ4T7aQJ1iOMbO1/TLoTx X-Received: by 2002:a05:6402:4c5:: with SMTP id n5mr3507607edw.322.1622796195003; Fri, 04 Jun 2021 01:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622796194; cv=none; d=google.com; s=arc-20160816; b=iMCKDSQmwE5wmzZGQkUOl8lygEUqqf0qNDkmrXIl/RqiqMc23dedpVUYdvoh+IWOtb eyNBdksm5VdX9zwEGpDyFvW0BygZRKk/bg9Z9dzNTbByly2zOa+n04PKOQwQKqwWb4iI tk6YxI4m7kiIeJw0Je15a0GLGwk6PuwyqBE7ueF5N67/iIkKSQdAKcOoEhzOpdVLvay8 xC4P8XK8S4VUbHqUB3fE40fGFlXQ6e1ovRS5eTH8O7gLdI2yvX7UWlkrDP+6ylXEV/Ie pqEi30o04L1FtUguCFgjD6RjphEzTIojxk3ftC/EcG5hAnNzCFJ6zSObl25lqUH6JvLM 2Ssg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GXkW24qeTtx/EWXw96rkYU2yaxxXubWSQbRwdxsk8PA=; b=HZYker8ccIDPrWME+lurzKzIagsahNwq5puCTbuQbmSICIL7mF1q0Os0MEFd85Ix5A 5pZRFN9LNPGCaRgUZaAUDV1e5KBtC4CIUVCdVqryYdwjVW74giNZH+Gk12Vg6/mGq8Os baTYnRxh13++EyEiMjU1ZadM94W5HO5NJZIb0xiTGSGugdBq1lYhTOWgPvpdTQWhjfjd +NW92LCE9AMqiUSFImvfSGMj5HPh+ydDa6vIHKjTBONSi4kteGSId/rYwUoXgbrzJv+e 7IyhkFY7E3m8X8G3ftHv+qDgF3SFUwJSagw/kzH9+/c2c5jtXQXpGF40JMKHc8TIoi0T So8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b25rXbtQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq27si4054345ejc.34.2021.06.04.01.42.50; Fri, 04 Jun 2021 01:43:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b25rXbtQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229982AbhFDInc (ORCPT + 99 others); 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