Re: [Qemu-devel] [PATCH v3 12/16] i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c

2018-11-26 Thread Philippe Mathieu-Daudé
On 26/11/18 21:04, miny...@acm.org wrote: > From: Corey Minyard > > Create a type name and a cast macro and use those through the > code. > > Signed-off-by: Corey Minyard > Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé > --- > hw/i2c/smbus_eeprom.c | 15 ++- >

[Qemu-devel] [PATCH v3 12/16] i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c

2018-11-26 Thread minyard
From: Corey Minyard Create a type name and a cast macro and use those through the code. Signed-off-by: Corey Minyard Reviewed-by: Peter Maydell --- hw/i2c/smbus_eeprom.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/hw/i2c/smbus_eeprom.c