All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: lavrin@gmail.com
Subject: Re: Enabling DragonFly BSD disklabel64 read support
Date: Tue, 22 Jan 2013 10:38:55 +0400	[thread overview]
Message-ID: <20130122103855.5fd0a624@opensuse.site> (raw)
In-Reply-To: <CAG=dCO19L3UnJusxtyhrbHfxQsgwN4rQBk2aCyz4_PEExgzY_g@mail.gmail.com>

В Mon, 21 Jan 2013 22:17:16 +0100
> ----
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..e107348
> --- /dev/null
> +++ b/.gitignore

As much as would welcome it - grub is using bzr as VCS, so it probably
is not in place here. I suggest you add .gitignore to .gitignore :)


> diff --git a/grub-core/partmap/apple.c b/grub-core/partmap/apple.c
> index c08cae5..1c1d3bc 100644
> --- a/grub-core/partmap/apple.c
> +++ b/grub-core/partmap/apple.c
> @@ -118,7 +118,7 @@ apple_partition_map_iterate (grub_disk_t disk,
>    if (grub_be_to_cpu16 (aheader.magic) != GRUB_APPLE_HEADER_MAGIC)
>      {
>        grub_dprintf ("partition",
> -		    "bad magic (found 0x%x; wanted 0x%x\n",
> +		    "bad magic (found 0x%x; wanted 0x%x)\n",
>  		    grub_be_to_cpu16 (aheader.magic),
>  		    GRUB_APPLE_HEADER_MAGIC);
>        goto fail;
> @@ -138,7 +138,7 @@ apple_partition_map_iterate (grub_disk_t disk,
>        if (grub_be_to_cpu16 (apart.magic) != GRUB_APPLE_PART_MAGIC)
>  	{
>  	  grub_dprintf ("partition",
> -			"partition %d: bad magic (found 0x%x; wanted 0x%x\n",
> +			"partition %d: bad magic (found 0x%x; wanted 0x%x)\n",
>  			partno, grub_be_to_cpu16 (apart.magic),
>  			GRUB_APPLE_PART_MAGIC);
>  	  break;

I would say this should go in separate clean up patch; I wonder if
Vladimir accepts mixing several unrelated changes in one commit.

> diff --git a/grub-core/partmap/dfly.c b/grub-core/partmap/dfly.c
[...]
> +static grub_err_t
> +dfly_partition_map_iterate (grub_disk_t disk,
> +                            int (*hook) (grub_disk_t disk,
> +                                         const grub_partition_t partition))
[...]
> +
> +      if (hook (disk, &part))

You need to update it to new hook API (added third parameter).


  reply	other threads:[~2013-01-22  6:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 17:48 Enabling DragonFly BSD disklabel64 read support Radosław Szymczyszyn
2013-01-15 18:48 ` Andrey Borzenkov
2013-01-16 18:43   ` Radosław Szymczyszyn
2013-01-16  7:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-01-16 19:03   ` Radosław Szymczyszyn
2013-01-21 21:17 ` Radosław Szymczyszyn
2013-01-22  6:38   ` Andrey Borzenkov [this message]
2013-01-22  7:34   ` Vladimir 'φ-coder/phcoder' Serbinenko

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=20130122103855.5fd0a624@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=lavrin@gmail.com \
    /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.