From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP83J-0000MU-Bh for qemu-devel@nongnu.org; Tue, 20 Nov 2018 10:35:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP83I-00030e-Hp for qemu-devel@nongnu.org; Tue, 20 Nov 2018 10:35:01 -0500 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]:45649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP83I-00030B-DI for qemu-devel@nongnu.org; Tue, 20 Nov 2018 10:35:00 -0500 Received: by mail-oi1-x242.google.com with SMTP id b141so1794562oii.12 for ; Tue, 20 Nov 2018 07:35:00 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20181115192446.17187-10-minyard@acm.org> References: <20181115192446.17187-1-minyard@acm.org> <20181115192446.17187-10-minyard@acm.org> From: Peter Maydell Date: Tue, 20 Nov 2018 15:34:39 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v2 09/12] i2c: Add normal type name and cast to smbus_eeprom.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Minyard Cc: QEMU Developers , Paolo Bonzini , Corey Minyard , "Dr . David Alan Gilbert" , "Michael S . Tsirkin" On 15 November 2018 at 19:24, wrote: > From: Corey Minyard > > Create a type name and a cast macro and use those through the > code. > > Signed-off-by: Corey Minyard > --- > hw/i2c/smbus_eeprom.c | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) Reviewed-by: Peter Maydell thanks -- PMM