From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkTLy-0002s3-E2 for qemu-devel@nongnu.org; Fri, 09 Oct 2015 04:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkTLv-0004V4-7n for qemu-devel@nongnu.org; Fri, 09 Oct 2015 04:48:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkTLv-0004Uy-35 for qemu-devel@nongnu.org; Fri, 09 Oct 2015 04:48:35 -0400 Message-ID: <1444380511.12917.3.camel@redhat.com> From: Gerd Hoffmann Date: Fri, 09 Oct 2015 10:48:31 +0200 In-Reply-To: <1444320700-26260-2-git-send-email-armbru@redhat.com> References: <1444320700-26260-1-git-send-email-armbru@redhat.com> <1444320700-26260-2-git-send-email-armbru@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/2] update-linux-headers: Rename SW_MAX to SW_MAX_ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: peter.maydell@linaro.org, mst@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com On Do, 2015-10-08 at 18:11 +0200, Markus Armbruster wrote: > The next commit will compile hw/input/virtio-input.c and > hw/input/virtio-input-hid.c even when CONFIG_LINUX is off. These > files include both "include/standard-headers/linux/input.h" and > then. Doesn't work, because both define SW_MAX. We don't > actually use it. Patch input.h to define SW_MAX_ instead. > > Signed-off-by: Markus Armbruster Reviewed-by: Gerd Hoffmann