From: Aaron Sierra <asierra@xes-inc.com>
To: Samuel Ortiz <sameo@linux.intel.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Anatol Pomozov <anatol.pomozov@gmail.com>
Subject: Re: [PATCH] lpc_ich: use devres API to allocate private data
Date: Fri, 15 Feb 2013 08:56:10 -0600 (CST) [thread overview]
Message-ID: <46a1992b-31c7-4b60-a725-a1f4c50747d4@zimbra> (raw)
In-Reply-To: <9be5e8ee-d1b9-4509-b147-879281e10efc@zimbra>
----- Original Message -----
> From: "Aaron Sierra" <asierra@xes-inc.com>
> To: "Samuel Ortiz" <sameo@linux.intel.com>
> Cc: "LKML" <linux-kernel@vger.kernel.org>
> Sent: Thursday, February 14, 2013 11:35:04 AM
> Subject: [PATCH] lpc_ich: use devres API to allocate private data
>
>
> Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
> ---
[trim]
> - priv = kmalloc(GFP_KERNEL, sizeof(struct lpc_ich_priv));
> + priv = devm_kzalloc(&dev->dev,
> + sizeof(struct lpc_ich_priv), GFP_KERNEL);
Samuel,
Perhaps this should now include a comment about this patch also resolving the issue that Anatol reported yesterday?
-Aaron
next prev parent reply other threads:[~2013-02-15 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <774339a2-e7cc-4204-a935-0a1b59e2ece8@zimbra>
2013-02-14 17:35 ` Aaron Sierra
2013-02-15 14:56 ` Aaron Sierra [this message]
2013-02-15 17:45 ` Samuel Ortiz
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=46a1992b-31c7-4b60-a725-a1f4c50747d4@zimbra \
--to=asierra@xes-inc.com \
--cc=anatol.pomozov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.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 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®