mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marco Roeland <marco.roeland@xs4all.nl>
To: Pete Clements <clem@clem.clem-digital.net>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Re: 2.6.14-rc2-git2 fails compile -- fs/proc/base.c
Date: Fri, 23 Sep 2005 10:43:38 +0200	[thread overview]
Message-ID: <20050923084338.GA28198@fiberbit.xs4all.nl> (raw)
In-Reply-To: <200509230022.j8N0MPG4013164@clem.clem-digital.net>

Fix gcc 2.95.x compilation for fs/proc/base.c

Signed-off-by: Marco Roeland <marco.roeland@xs4all.nl>

---
 base.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da
diff --git a/fs/proc/base.c b/fs/proc/base.c
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -356,8 +356,9 @@ static int proc_task_root_link(struct in
 		task_unlock(leader);
 	} else {
 		/* Try to get fs from other threads */
+		struct task_struct *task;
 		task_unlock(leader);
-		struct task_struct *task = leader;
+		task = leader;
 		read_lock(&tasklist_lock);
 		if (pid_alive(task)) {
 			while ((task = next_thread(task)) != leader) {

      reply	other threads:[~2005-09-23  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-23  0:22 Pete Clements
2005-09-23  8:43 ` Marco Roeland [this message]

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=20050923084338.GA28198@fiberbit.xs4all.nl \
    --to=marco.roeland@xs4all.nl \
    --cc=clem@clem.clem-digital.net \
    --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®