Re: [PATCH v2 1/1] drivers/base/cpu: Print kernel arch

From: Petr Vorel
Date: Thu Sep 01 2022 - 11:47:17 EST


Hi Greg,

[ Cc Eric Biederman as the author of kernel/utsname_sysctl.c ]

> On Fri, Jul 29, 2022 at 02:51:41PM +0200, Petr Vorel wrote:
> > Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch.

> > This helps people who debug kernel with initramfs with minimal
> > environment (i.e. without coreutils or even busybox) or allow to open
> > sysfs file instead of run 'uname -m' in high level languages.

> > Signed-off-by: Petr Vorel <pvorel@xxxxxxx>
> > ---
> > Documentation/admin-guide/sysctl/kernel.rst | 5 +++++
> > kernel/utsname_sysctl.c | 7 +++++++
> > 2 files changed, 12 insertions(+)

> Wait, why does the subject line say "drivers/base/cpu"? That's not a
> file being touched in this commit at all, so this isn't for me to take
> :(

Thanks for info. My bad, I forget to update the subject.
I can send v3 with corrected subject, but who is going to take this?

$ ./scripts/get_maintainer.pl kernel/utsname_sysctl.c
linux-kernel@xxxxxxxxxxxxxxx (open list)

There is listed Author: Eric Biederman, so is it him to Cc ?

Kind regards,
Petr

> thanks,

> greg k-h