From: Roland Dreier <rdreier@cisco.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: PATCH: Trivial kzalloc opportunity
Date: Wed, 16 Aug 2006 09:15:15 -0700 [thread overview]
Message-ID: <aday7toejxo.fsf@cisco.com> (raw)
In-Reply-To: <1155745728.24077.354.camel@localhost.localdomain> (Alan Cox's message of "Wed, 16 Aug 2006 17:28:48 +0100")
> + return (struct tty_struct *)kzalloc(sizeof(struct tty_struct), GFP_KERNEL);
Why the cast here? kzalloc() returns void *
- R.
next prev parent reply other threads:[~2006-08-16 16:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-16 16:28 PATCH: Trivial kzalloc opportunity Alan Cox
2006-08-16 16:15 ` Roland Dreier [this message]
2006-08-16 16:16 ` Arjan van de Ven
2006-08-16 16:41 ` Jeff Garzik
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=aday7toejxo.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--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