From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Jesper Juhl <jj@chaosbits.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Gerd Hoffmann <kraxel@suse.de>, Alan Cox <alan@linux.intel.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: tty, hvc, xen: leak? dead code? everything is fine?
Date: Fri, 13 Apr 2012 12:05:14 +0100 [thread overview]
Message-ID: <alpine.DEB.2.00.1204131200330.15151@kaball-desktop> (raw)
In-Reply-To: <20120412220048.GM4245@type.famille.thibault.fr>
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
On Thu, 12 Apr 2012, Samuel Thibault wrote:
> Jesper Juhl, le Thu 12 Apr 2012 23:33:20 +0200, a écrit :
> > Or *if* there's actually no way 'info->intfw' can actually be anything but
> > NULL in this case,
>
> There is no way that it's both non-NULL and the if was entered above: if
> the if was entered, the content of info is zeroes (kzalloc).
Yep. Thanks Samuel for the quick answer.
In more details: if the console has already been configured info->intf
is not NULL.
On the other hand if the console hasn't been configured yet info->intf
is NULL.
If the console has just been allocated by the kzalloc then obviously
it hasn't been configured and in fact info->intf is NULL.
prev parent reply other threads:[~2012-04-13 11:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 21:33 Jesper Juhl
2012-04-12 22:00 ` Samuel Thibault
2012-04-13 11:05 ` Stefano Stabellini [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=alpine.DEB.2.00.1204131200330.15151@kaball-desktop \
--to=stefano.stabellini@eu.citrix.com \
--cc=alan@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=jj@chaosbits.net \
--cc=konrad.wilk@oracle.com \
--cc=kraxel@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=samuel.thibault@ens-lyon.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®