WenZhan Song @ Tue, 12 Feb 2008 19:19:13 -0800
>
> Thanks. In terms of expect, user normally expects it can read any variable
> in a struct as normal. For instance, after user set testMsgPtr->k = 10, it
> should be still 10 when we read it out. However, our test shows it does not
> work like that.

Please, stop this bull. If you need info, here it is:

http://en.wikipedia.org/wiki/Data_structure_alignment

Daniel Drake is author of the driver for _wireless_ chip[1]. After
recognizing his ignorance, he wrote this[0]:

[0] http://lwn.net/Articles/260456/
[1] http://lxr.linux.no/linux/drivers/net/wireless/zd1211rw/

Good luck.
________
-o--=O`C
 #oo'L O
<___=E M


Reply via email to