All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: iterate return values
Date: Fri, 04 Feb 2005 20:04:40 +0000	[thread overview]
Message-ID: <87oef03xd3.fsf@marco.marco-g.com> (raw)
In-Reply-To: <20050204061115.GA20463@miracle> (Hollis Blanchard's message of "Fri, 4 Feb 2005 00:11:15 -0600")

Hollis Blanchard <hollis@penguinppc.org> writes:

> This one took waaay too long to track down. :( It is very difficult to
> debug when the problem is that grub_errno has a stale value.
>
> This fixes my partition map problems, and has been tested both with
> Apple and DOS partition maps.

That's nice!  There are a few comments.  If you fixed those minor
issues, feel free to commit the patch.

>
> -Hollis
>
> Index: ChangeLog
> ===================================================================
> RCS file: /cvsroot/grub/grub2/ChangeLog,v
> retrieving revision 1.90
> diff -u -p -r1.90 ChangeLog
> --- ChangeLog	1 Feb 2005 21:53:34 -0000	1.90
> +++ ChangeLog	4 Feb 2005 06:34:08 -0000
> @@ -1,3 +1,13 @@
> +2005-02-03  Hollis Blanchard  <hollis@penguinppc.org>

The changelog is fine for me, but please don't send it in as a patch.

> -  
> +
>    auto int part_map_probe (const grub_partition_map_t partmap);
> -  
> +

Please watch out for changes like these.

> +      if (err == GRUB_ERR_BAD_PART_TABLE)
> +	{
> +	  /* Continue to next partition map type.  */
> +	  grub_errno = GRUB_ERR_NONE;
> +	  return 0;
> +	}

This looks like a tab, please don't use tabs.  I hope you can fix it
if that is the case and the same for the rest of the patch, if the
same happened there.

Thanks,
Marco




  parent reply	other threads:[~2005-02-04 20:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04  6:11 iterate return values Hollis Blanchard
2005-02-04  8:55 ` Yoshinori K. Okuji
2005-02-04 20:04 ` Marco Gerards [this message]
2005-02-04 20:43   ` Yoshinori K. Okuji
2005-02-04 21:21     ` Marco Gerards
2005-02-04 22:24       ` Yoshinori K. Okuji
  -- strict thread matches above, loose matches on Subject: below --
2005-01-23 18:23 Hollis Blanchard
2005-01-23 19:19 ` Yoshinori K. Okuji
2005-01-23 19:53   ` Hollis Blanchard
2005-01-23 20:18     ` Marco Gerards
2005-01-23 20:26     ` Yoshinori K. Okuji
2005-01-22  6:57 Hollis Blanchard
2005-01-22 11:26 ` Yoshinori K. Okuji
2005-01-22 13:01 ` Marco Gerards

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=87oef03xd3.fsf@marco.marco-g.com \
    --to=metgerards@student.han.nl \
    --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.