linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@tv-sign.ru>
To: Andrew Morton <akpm@osdl.org>
Cc: Cedric Le Goater <clg@fr.ibm.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] add-process_session-helper-routine-deprecate-old-field-tidy
Date: Tue, 24 Oct 2006 22:36:58 +0400	[thread overview]
Message-ID: <20061024183658.GA1905@oleg> (raw)

Cedric Le Goater wrote:
>
> -	.session	= 1,						\
> +	.tty_old_pgrp   = 0,						\
> +	{ .session      = 1},						\

Any reason to initialize .tty_old_pgrp explicitly? This gives a false
positive from grep...

--- rc2-mm2/include/linux/init_task.h~	2006-10-22 19:28:17.000000000 +0400
+++ rc2-mm2/include/linux/init_task.h	2006-10-24 22:24:04.000000000 +0400
@@ -66,8 +66,7 @@
 	.cpu_timers	= INIT_CPU_TIMERS(sig.cpu_timers),		\
 	.rlim		= INIT_RLIMITS,					\
 	.pgrp		= 1,						\
-	.tty_old_pgrp   = 0,						\
-	{ .__session      = 1},						\
+	{ .__session	= 1 },						\
 }
 
 extern struct nsproxy init_nsproxy;


             reply	other threads:[~2006-10-24 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 18:36 Oleg Nesterov [this message]
2006-11-07 16:12 ` [PATCH] add-process_session-helper-routine-deprecate-old-field-tidy Cedric Le Goater

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=20061024183658.GA1905@oleg \
    --to=oleg@tv-sign.ru \
    --cc=akpm@osdl.org \
    --cc=clg@fr.ibm.com \
    --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;
as well as URLs for NNTP newsgroup(s).