|
From: Jean D. <jde...@su...> - 2015-09-09 08:58:09
|
VKI_I2C_SMBUS post-processing is only needed for read transactions, so
the reference to i2c_smbus_write_byte was irrelevant.
---
coregrind/m_syswrap/syswrap-linux.c | 2 --
1 file changed, 2 deletions(-)
--- valgrind.orig/coregrind/m_syswrap/syswrap-linux.c 2015-09-09 08:50:20.024849278 +0200
+++ valgrind/coregrind/m_syswrap/syswrap-linux.c 2015-09-09 08:51:43.251538910 +0200
@@ -9388,8 +9388,6 @@ POST(sys_ioctl)
= (struct vki_i2c_smbus_ioctl_data *) ARG3;
/* i2c_smbus_write_quick hides its value in read_write, so
this variable can have a different meaning */
- /* to make matters worse i2c_smbus_write_byte stores its
- value in command */
if ((vkis->read_write == VKI_I2C_SMBUS_READ)
|| (vkis->size == VKI_I2C_SMBUS_PROC_CALL)
|| (vkis->size == VKI_I2C_SMBUS_BLOCK_PROC_CALL)) {
--
Jean Delvare
SUSE L3 Support
|