[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] osdep: Introduce major.h and use it
From: |
Petr Vorel |
Subject: |
Re: [PATCH 1/2] osdep: Introduce major.h and use it |
Date: |
Wed, 14 Jul 2021 08:54:29 +0200 |
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.
Ah, you probably mean to put the description from major.h also to 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.
+*/
> Kind regards,
> Petr
> > Daniel
Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup, Daniel Kiper, 2021/07/13
[PATCH 1/2] osdep: Introduce major.h and use it, Petr Vorel, 2021/07/08