From: Davide Libenzi <davidel@xmailserver.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Subject: [patch] Hardly triggered tests in bootmem.c ...
Date: Wed, 2 Jul 2003 15:07:24 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.55.0307021503490.4840@bigblue.dev.mcafeelabs.com> (raw)
I was looking at the bootmem.c source and I found those hardly triggered
tests (unsigned long's).
(Andrew, sending the patch insted of the note)
- Davide
--- linux-2.5.73/mm/bootmem.c.orig 2003-07-02 14:55:47.000000000 -0700
+++ linux-2.5.73/mm/bootmem.c 2003-07-02 14:56:51.000000000 -0700
@@ -84,10 +84,6 @@
if (!size) BUG();
- if (sidx < 0)
- BUG();
- if (eidx < 0)
- BUG();
if (sidx >= eidx)
BUG();
if ((addr >> PAGE_SHIFT) >= bdata->node_low_pfn)
next reply other threads:[~2003-07-02 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-02 22:07 Davide Libenzi [this message]
2003-07-03 14:46 ` Michael Buesch
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=Pine.LNX.4.55.0307021503490.4840@bigblue.dev.mcafeelabs.com \
--to=davidel@xmailserver.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®