From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 1/2] mtd: docprobe: use kzalloc instead
Date: Thu, 29 Dec 2011 22:31:05 +0100 [thread overview]
Message-ID: <20111229223105.34c7163a@skate> (raw)
In-Reply-To: <1325173626-6739-1-git-send-email-dedekind1@gmail.com>
Le Thu, 29 Dec 2011 17:47:05 +0200,
Artem Bityutskiy <dedekind1@gmail.com> a écrit :
> + mtd = kzmalloc(sizeof(struct DiskOnChip) + sizeof(struct mtd_info), GFP_KERNEL);
I guess you mean kzalloc() and not kzmalloc().
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-12-29 21:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-29 15:47 [PATCH 1/2] mtd: docprobe: use kzalloc instead Artem Bityutskiy
2011-12-29 15:47 ` [PATCH 2/2] mtd: doc: do not initialize mtd_info fields to 0 or NULL Artem Bityutskiy
2011-12-29 21:31 ` Thomas Petazzoni [this message]
2011-12-29 21:38 ` [PATCH 1/2] mtd: docprobe: use kzalloc instead Artem Bityutskiy
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=20111229223105.34c7163a@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=linux-mtd@lists.infradead.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