All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Jan Derk Gerlings <jan.derk.gerlings@newtec.eu>
Subject: Re: grub 1.96 svn 20080813 and circular lvm2 metadata
Date: Fri, 29 Aug 2008 11:31:54 +0200	[thread overview]
Message-ID: <1220002314.7292.53.camel@fz.local> (raw)
In-Reply-To: <20080829090019.GA6721@gagh.ehv.newtec.eu>

Am Freitag, den 29.08.2008, 11:00 +0200 schrieb Hans Lambermont:


> Please find the patch attached, this was tested with circular metadata
> and the segfault in grub-setup is gone and the system boots fine.

I just forwarded it now to the reporters of these 2 Debian bugs I
mentioned. I hope they try it out soon and reply if it helps for them.

Thanks again to your colleague and you.

> > Because GRUB is a GNU project, you have to obey the GNU Coding Standards [1]
> 
> Ok, I hope I got it right. If not please let me know.

Oh it seems I forgot you to tell you 2 things ;)
The Changelog entry should be seperate, i.e. not a diff against the
actual ChangeLog file but you can have it above inside your patch
For example here my last small patch send to the list

http://lists.gnu.org/archive/html/grub-devel/2008-08/txtUBorY42rw2.txt

Second please use `svn diff --diff-cmd diff -x -up' so the C function
name is printed inside the diff.

2008-08-28 Hans Lambermont <hans.lambermont@newtec.eu> (tiny change)

Yep, GCS mentions this `tiny change' but it's never used in GRUB's
ChangeLog.

+  metadatabuf = grub_malloc (2*mda_size);

should be (2 * mda_size)

+      grub_memcpy(metadatabuf + mda_size, metadatabuf + mdah->start,

again another space missing 

Except of this it looks fine for me, but I just started to contribute to
GRUB and in fact my C experience isn't that great either.
And I only started to use LVM for bugs in GRUB.

No need to send another patch just for these little changes, better just
wait a few days for comments from the others and if nobody replies then
feel free to bring it up again with a 2nd patch :)


-- 
Felix Zielcke




  reply	other threads:[~2008-08-29  9:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-28 11:14 grub 1.96 svn 20080813 and circular lvm2 metadata Hans Lambermont
2008-08-28 11:25 ` Felix Zielcke
2008-08-29  9:00   ` Hans Lambermont
2008-08-29  9:31     ` Felix Zielcke [this message]
2008-08-29 15:00       ` Vesa Jääskeläinen
2008-08-29 15:22         ` Felix Zielcke
2008-08-29 15:37         ` Marco Gerards
2008-08-29 16:08     ` Marco Gerards
2008-09-03  6:49       ` Felix Zielcke
2008-09-03 21:15       ` Felix Zielcke
2008-09-08 10:28         ` Hans Lambermont
2008-09-09 13:03         ` Hans Lambermont
2008-09-23  8:29           ` Hans Lambermont
2008-09-23  8:58             ` Felix Zielcke
2008-09-24  9:45               ` Robert Millan
2008-09-30 12:34                 ` Hans Lambermont
2008-10-05 10:50                   ` 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=1220002314.7292.53.camel@fz.local \
    --to=fzielcke@z-51.de \
    --cc=grub-devel@gnu.org \
    --cc=jan.derk.gerlings@newtec.eu \
    /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.