From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Richard Laager <rlaager@wiktel.com>
Subject: Re: [PATCH] diskfilter: Treat an unrecognized RAID level as an error
Date: Sat, 04 Feb 2012 23:30:15 +0100 [thread overview]
Message-ID: <4F2DB177.8080303@gmail.com> (raw)
In-Reply-To: <1328392877.5007.38.camel@watermelon.coderich.net>
On 04.02.2012 23:01, Richard Laager wrote:
> disk/diskfilter.c: In function 'grub_diskfilter_make_raid':
> disk/diskfilter.c:847:21: error: 'totsize' may be used uninitialized in
> this function [-Werror=uninitialized]
>
> Perhaps my patch should use assert() instead of return NULL?
We don't use assert since assert failures are usually not fatal. And
failing to boot just because some otherwise unused disk has a RAID-9
isn't reasonable.
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
next prev parent reply other threads:[~2012-02-04 22:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-04 22:01 [PATCH] diskfilter: Treat an unrecognized RAID level as an error Richard Laager
2012-02-04 22:30 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-02-04 23:00 ` Richard Laager
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=4F2DB177.8080303@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
--cc=rlaager@wiktel.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.