linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: James Chapman <jchapman@katalix.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: [PATCH 2.6.11] ppc32: update Radstone ppc7d platform
Date: Wed, 16 Mar 2005 09:46:29 +0000	[thread overview]
Message-ID: <42380075.1070206@katalix.com> (raw)
In-Reply-To: <20050315225050.4a236b3e.akpm@osdl.org>

Andrew Morton wrote:

> "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.

Wow, I'm surprised it ever worked! Thanks!

      reply	other threads:[~2005-03-16  9:46 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
2005-03-16  9:46   ` James Chapman [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=42380075.1070206@katalix.com \
    --to=jchapman@katalix.com \
    --cc=akpm@osdl.org \
    --cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).