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 /init/do_mounts_md.c | |
parent | 0f69a612f950f7508e556bf1b09390087d112115 (diff) |
[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 'init/do_mounts_md.c')
0 files changed, 0 insertions, 0 deletions