Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1m3Yn2-0003nj-Gb for mharc-grub-devel@gnu.org; Wed, 14 Jul 2021 02:54:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3Yn0-0003nb-1L for grub-devel@gnu.org; Wed, 14 Jul 2021 02:54:38 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:54820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3Ymv-0003fs-8t for grub-devel@gnu.org; Wed, 14 Jul 2021 02:54:37 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4D53A2298F; Wed, 14 Jul 2021 06:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1626245671; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+bKwX9u/Wi6kQF6jTz4S+SV5oWMxU1ZU9xOVU6d6+zE=; b=2RVh+XKjOiInAaOIjsrB5MjDQpFKKKSCaBTM8gZIbBmkxCsyuNo4Cf7db1geoEWFPY7RAa 1l5LgIFFU9y/wvGSJXMqDgkzBfdpJTj46f6dQQCNx5pQGj9+XWK4AMhlfzeh2oci+4+kvs 7kwedot9seKvq8FxBBQ4rF4zCXf4o7I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1626245671; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+bKwX9u/Wi6kQF6jTz4S+SV5oWMxU1ZU9xOVU6d6+zE=; b=iSfAEpwmn5H0j9FcIKQ2xu0T4s8Jcp3UZi33yGRiVxIbu4BcdY94qrf/x7pBg+batAXXR5 AHQiCUBMJNhRnXDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 131B913BE6; Wed, 14 Jul 2021 06:54:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id whY+AyeK7mBgcgAAMHmgww (envelope-from ); Wed, 14 Jul 2021 06:54:31 +0000 Date: Wed, 14 Jul 2021 08:54:29 +0200 From: Petr Vorel To: Daniel Kiper , grub-devel@gnu.org, Michael Chang , Mike Gilbert , Jeff Mahoney Subject: Re: [PATCH 1/2] osdep: Introduce major.h and use it Message-ID: Reply-To: Petr Vorel References: <20210708155558.26466-1-pvorel@suse.cz> <20210708155558.26466-2-pvorel@suse.cz> <20210713173658.fc23yio5tqfwkozi@tomti.i.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=195.135.220.28; envelope-from=pvorel@suse.cz; helo=smtp-out1.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2021 06:54:38 -0000 Hi Daniel, > > On Thu, Jul 08, 2021 at 05:55:57PM +0200, Petr Vorel wrote: > > > Signed-off-by: Petr Vorel > > > --- > > > 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