diff options
author | Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp> | 2005-09-25 17:01:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 14:02:07 -0700 |
commit | 5c50d1885981537ff3b8df6433951de6c9cb72cb (patch) | |
tree | 1440c92b1716fb27a93c96fc9494aa7980421d95 /.gitignore | |
parent | 0f69a612f950f7508e556bf1b09390087d112115 (diff) | |
download | lwn-5c50d1885981537ff3b8df6433951de6c9cb72cb.tar.gz lwn-5c50d1885981537ff3b8df6433951de6c9cb72cb.zip |
[PATCH] i2c: Several PEC-related fixes in software SMBus emulation
Fix several errors in I2C SMBus emulation when PEC is used:
* Weird logic error in SMBus Write Word transactions.
* Wrong buffer size, affecting SMBus Block Write transactions.
* Potential buffer overrun in SMBus Block Write transactions.
From: Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/i2c-core.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions