From: Daniel Dickman <didickman@yahoo.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [patch 1/1] fix lib/sort regression test
Date: Wed, 30 Mar 2005 04:59:25 +0000 [thread overview]
Message-ID: <424A322D.3050507@yahoo.com> (raw)
The regression test in lib/sort.c is currently worthless because the array that is generated for sorting will be all zeros. This patch fixes things so
that the array that is generated will contain unsorted integers (that are not all identical) as was probably intended.
Signed-off-by Daniel Dickman <didickman@yahoo.com>
--- linux-2.6.11-rc1/lib/sort.c 2005-03-29 23:44:19.921875000 -0500
+++ linux/lib/sort.c 2005-03-29 23:56:40.421875000 -0500
@@ -90,7 +90,7 @@
static int sort_test(void)
{
- int *a, i, r = 0;
+ int *a, i, r = 1;
a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
BUG_ON(!a);
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
reply other threads:[~2005-03-30 4:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=424A322D.3050507@yahoo.com \
--to=didickman@yahoo.com \
--cc=kernel-janitors@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 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.