From: Greg KH <gregkh@linuxfoundation.org>
To: Wang YanQing <udknight@gmail.com>,
jslaby@suse.cz, airlied@redhat.com, akpm@linux-foundation.org,
kilobyte@angband.pl, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vt: initialize con_driver->node in con_init
Date: Wed, 8 Jan 2014 20:33:13 -0800 [thread overview]
Message-ID: <20140109043313.GA28887@kroah.com> (raw)
In-Reply-To: <20131230031102.GA4424@udknight>
On Mon, Dec 30, 2013 at 11:11:02AM +0800, Wang YanQing wrote:
> Commit 6db4063c5b72b46e9793b0f141a7a3984ac6facf
> ("[PATCH] VT binding: Add sysfs control to the VT layer")
> add node item into struct con_driver.
That patch was from 2006. Why is this change needed now, what problems
happen without your fix below?
thanks,
greg k-h
>
> This patch initialize con_driver->node in con_init.
>
> Signed-off-by: Wang YanQing <udknight@gmail.com>
> ---
> drivers/tty/vt/vt.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index edcd6b8..9adb4e0 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -2879,6 +2879,7 @@ static int __init con_init(void)
> if (con_driver->con == NULL) {
> con_driver->con = conswitchp;
> con_driver->desc = display_desc;
> + con_driver->node = i;
> con_driver->flag = CON_DRIVER_FLAG_INIT;
> con_driver->first = 0;
> con_driver->last = MAX_NR_CONSOLES - 1;
> --
> 1.8.3.4.8.g69490f3.dirty
next prev parent reply other threads:[~2014-01-09 4:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-30 3:11 [PATCH] vt: initialize con_driver->node in con_init Wang YanQing
2014-01-09 4:33 ` Greg KH [this message]
2014-02-07 16:45 ` Greg KH
2014-02-11 0:49 ` Wang YanQing
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=20140109043313.GA28887@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=airlied@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=jslaby@suse.cz \
--cc=kilobyte@angband.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=udknight@gmail.com \
/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.