All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] generic ELF version of grub-mkimage
Date: Fri, 12 Oct 2007 17:55:03 +0200	[thread overview]
Message-ID: <20071012155503.GA25660@thorin> (raw)
In-Reply-To: <87r6k0vc3p.fsf@xs4all.nl>

On Fri, Oct 12, 2007 at 12:52:42PM +0200, Marco Gerards wrote:
> > 2007-10-12  Robert Millan  <rmh@aybabtu.com>
> >
> > 	* conf/powerpc-ieee1275.rmk (grub_mkimage_SOURCES): Replace reference
> > 	to util/powerpc/ieee1275/grub-mkimage.c with util/elf/grub-mkimage.c.
> >
> > 	* include/grub/types.h (#ifdef GRUB_CPU_WORDS_BIGENDIAN): Define
> > 	grub_host_to_target16, grub_host_to_target32, grub_host_to_target64,
> > 	grub_target_to_host16, grub_target_to_host32 and grub_target_to_host64.
> > 	(#else): Likewise.
> 
> This syntax is wrong.  It should have been something like:
> 
> > 	* include/grub/types.h (#ifdef GRUB_CPU_WORDS_BIGENDIAN): Define
> > 	grub_host_to_target16, grub_host_to_target32, grub_host_to_target64,
> > 	grub_target_to_host16, grub_target_to_host32 and grub_target_to_host64.
> > 	(#else): Likewise.
> 
>  	* include/grub/types.h (grub_host_to_target16): New macro.
>         (grub_host_to_target32): Likewise.
> 
> etc...

Ok.

> If you are not sure, better wait a few days before committing a
> patch.  Or ask me to double check it.

I *was* sure.  I just happen to be not very good at learning a particular
ChangeLog style.

> > 	* include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MOD_ALIGN):
> > 	Renamed from to ...
> > 	(GRUB_MOD_ALIGN): ...this.  Update all users.
> >
> > 	* util/elf/grub-mkimage.c: Replace grub_cpu_to_be16, grub_cpu_to_be32,
> > 	grub_be_to_cpu16 and grub_be_to_cpu32 macros with grub_host_to_target16,
> > 	grub_host_to_target32, grub_target_to_host16 and grub_target_to_host32,
> > 	respectively.
> 
> You know quite well that this is wrong.  You have to mention which
> function you changed.  

Ok.  But no, I didn't really notice.  I'll fix this entry and keep trying to
get it right next time.

> If you use diff -up this is easy to see from the patch.

Sounds very useful, thanks.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



  reply	other threads:[~2007-10-12 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 10:03 [PATCH] generic ELF version of grub-mkimage Patrick Georgi
2007-10-01 14:53 ` Robert Millan
2007-10-11 22:58   ` Robert Millan
2007-10-12 10:52     ` Marco Gerards
2007-10-12 15:55       ` Robert Millan [this message]
2007-10-12 16:07         ` Robert Millan
2007-11-10 17:29           ` Marco Gerards
2007-11-10 20:12             ` Robert Millan
2007-11-18 11:39           ` Marco Gerards
2007-11-18 11:54             ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071012155503.GA25660@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.