[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] osdep: Introduce major.h and use it
From: |
Daniel Kiper |
Subject: |
Re: [PATCH 1/2] osdep: Introduce major.h and use it |
Date: |
Wed, 14 Jul 2021 14:55:00 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Jul 14, 2021 at 08:54:29AM +0200, Petr Vorel wrote:
> Hi Daniel,
>
> > > On Thu, Jul 08, 2021 at 05:55:57PM +0200, Petr Vorel wrote:
> > > > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > > > ---
> > > > grub-core/osdep/devmapper/getroot.c | 7 +------
> > > > grub-core/osdep/devmapper/hostdisk.c | 7 +------
> > > > grub-core/osdep/linux/getroot.c | 7 +------
> > > > grub-core/osdep/unix/getroot.c | 7 +------
> > > > include/grub/osdep/major.h | 30 ++++++++++++++++++++++++++++
> > > > 5 files changed, 34 insertions(+), 24 deletions(-)
> > > > create mode 100644 include/grub/osdep/major.h
>
> > > May I ask you to explain in the commit message why this patch is needed?
> > It's just a small cleanup. If you're not against it, sure, I can mention it
> > in
> > the commit message.
I am OK with the cleanup.
> Ah, you probably mean to put the description from major.h also to the commit
> message.
To some extent. I think it should be phrased a bit better in the commit message.
> Kind regards,
> Petr
>
> +/*
> + * Fix for glibc 2.25 is deprecating the namespace pollution of sys/types.h
> + * injecting major(), minor(), and makedev() into the compilation
> environment.
> + * See configure.ac.
It seems to me "See configure.ac." is not relevant in the GRUB source.
So, probably it should be replaced with some text from glibc configure.ac.
Daniel
- Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup, (continued)
[PATCH 1/2] osdep: Introduce major.h and use it, Petr Vorel, 2021/07/08