Re: [PATCH 4/4] [Patch-next] ACPI, APEI, HEST Fix the unsuitable usage of platform_data.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux