[PATCH 1/1] fix i2c_msg.len not aligning with i2c_master_send

zhangfei gao zhangfei.gao at gmail.com
Thu Feb 4 01:04:03 EST 2010


Hi, Jean


We found type of i2c_msg.len is __u16, while parameter count in
i2c_master_send is int.
The mismatch will truncate count from int to u16.
For example we downloading firmware which is more than 64K (64K+8) via i2c,
i2c would transfer u16 (8 bytes) in fact.



More information about the linux-arm-kernel mailing list