From: Andrew Morton <akpm@osdl.org>
To: "Mark A. Greer" <mgreer@mvista.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: [PATCH 2.6.11] ppc32: update Radstone ppc7d platform
Date: Tue, 15 Mar 2005 22:50:50 -0800 [thread overview]
Message-ID: <20050315225050.4a236b3e.akpm@osdl.org> (raw)
In-Reply-To: <42376A46.2090605@mvista.com>
"Mark A. Greer" <mgreer@mvista.com> wrote:
>
> +ppc7d_fixup_i2c_pdata(struct platform_device *pdev)
> +{
> + struct mv64xxx_i2c_pdata *pdata;
> + int i;
> +
> + pdata = pdev->dev.platform_data;
> + if (pdata == NULL) {
> + pdata = kmalloc(GFP_KERNEL, sizeof(*pdata));
I'll switch those kmalloc args around for you.
next prev parent reply other threads:[~2005-03-16 6:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-15 23:05 [PATCH 2.6.11] ppc32: update Radstone ppc7d platform Mark A. Greer
2005-03-16 6:50 ` Andrew Morton [this message]
2005-03-16 9:46 ` James Chapman
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=20050315225050.4a236b3e.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linuxppc-embedded@ozlabs.org \
--cc=mgreer@mvista.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;
as well as URLs for NNTP newsgroup(s).