[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C6A53E7.3090301@np.css.fujitsu.com>
Date: Tue, 17 Aug 2010 18:18:31 +0900
From: Jin Dongming <jin.dongming@...css.fujitsu.com>
To: Huang Ying <ying.huang@...el.com>
CC: Randy Dunlap <randy.dunlap@...cle.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Andi Kleen <andi@...stfloor.org>,
Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>,
ACPI <linux-acpi@...r.kernel.org>,
LKLM <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] [Patch-next] ACPI, APEI, HEST Fix the unsuitable
usage of platform_data.
(2010/08/17 13:18), Huang Ying wrote:
> On Tue, 2010-08-17 at 11:00 +0800, Jin Dongming wrote:
>>> Why not use platform_device_add_data?
>> Here what should be done is to transport the pointer of hest_hdr to platform_data,
>> so I think that it could be done successfully by allocating 8byte of memory.
>> If the platform_device_add_data() is used, the more memory will be allocated.
>>
>> So I think this method is better than using platform_device_add_data().
>
> You can specify allocation size for platform_device_add_data(), so no
> more memory will be allocated.
>
> Best Regards,
> Huang Ying
I am sorry for replying late.
I will modify my patch and resend it again.
Best Regards,
Jin Dongming
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists