Received: from [140.186.70.92] (port=39490 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYTtT-00034M-H2 for qemu-devel@nongnu.org; Mon, 12 Jul 2010 21:02:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYTtS-0004jC-LY for qemu-devel@nongnu.org; Mon, 12 Jul 2010 21:02:43 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:49756) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYTtS-0004j8-Hy for qemu-devel@nongnu.org; Mon, 12 Jul 2010 21:02:42 -0400 Received: by vws13 with SMTP id 13so1726826vws.4 for ; Mon, 12 Jul 2010 18:02:42 -0700 (PDT) Date: Mon, 12 Jul 2010 21:02:39 -0400 From: Kevin O'Connor Message-ID: <20100713010239.GC13722@morn.localdomain> References: <1cc6f855e29f3bffdc119f1e07b7da7dbf43f024.1278935094.git.yamahata@valinux.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cc6f855e29f3bffdc119f1e07b7da7dbf43f024.1278935094.git.yamahata@valinux.co.jp> Subject: [Qemu-devel] Re: [SeaBIOS] [PATCH 6/7] seabios: acpi: split out piix4 pm logic. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: seabios@seabios.org, qemu-devel@nongnu.org On Mon, Jul 12, 2010 at 08:47:51PM +0900, Isaku Yamahata wrote: > split out piix4 pm logic. [...] > @@ -202,11 +203,6 @@ static inline u16 cpu_to_le16(u16 x) > return x; > } > > -static inline u32 cpu_to_le32(u32 x) > -{ > - return x; > -} This is a nitpick, but if cpu_to_le32() is moved to a header then cpu_to_le16() needs to be moved to. It should also be moved to where ntohl() is defined (util.h). -Kevin