All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: akpm@zip.com.au
Cc: lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [TRIVIAL] fix counter in build_zonelists()
Date: Thu, 20 May 2004 17:07:32 +1000	[thread overview]
Message-ID: <1085034171.24931.98.camel@bach> (raw)

 From:  Stephen Leonard <stephen@phynp6.phy-astr.gsu.edu>

---
  Hi Rusty
  
  This trivial patch fixes a counter that is unnecessarily incremented
  in build_zonelists().  It applies against 2.6.5.
  
  stephen
  
  

--- trivial-2.6.6-bk6/mm/page_alloc.c.orig	2004-05-20 15:59:22.000000000 +1000
+++ trivial-2.6.6-bk6/mm/page_alloc.c	2004-05-20 15:59:22.000000000 +1000
@@ -1284,7 +1284,7 @@
  		for (node = 0; node < local_node; node++)
  			j = build_zonelists_node(NODE_DATA(node), zonelist, j, k);
  
-		zonelist->zones[j++] = NULL;
+		zonelist->zones[j] = NULL;
 	}
 }
 
-- 
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Stephen Leonard <stephen@phynp6.phy-astr.gsu.edu>: [PATCH] fix counter in build_zonelists()


                 reply	other threads:[~2004-05-20  7:08 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=1085034171.24931.98.camel@bach \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@zip.com.au \
    --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 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.