From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58960 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOBEB-00052s-0a for qemu-devel@nongnu.org; Mon, 14 Jun 2010 11:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOBE9-0003XQ-N3 for qemu-devel@nongnu.org; Mon, 14 Jun 2010 11:05:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53898) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOBE9-0003XB-9E for qemu-devel@nongnu.org; Mon, 14 Jun 2010 11:05:29 -0400 From: Jes.Sorensen@redhat.com Date: Mon, 14 Jun 2010 17:05:15 +0200 Message-Id: <1276527917-24703-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] Remove naked #define DEBUG to allow -DDEBUG builds List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: dprotti@flowgate.net, Jes Sorensen , Jes Sorensen , qemu-devel@nongnu.org, mst@redhat.com From: Jes Sorensen Hi, To address https://sourceforge.net/tracker/?func=detail&aid=1945129&group_id=180599&atid=893831 this patch removes two cases where drivers would define 'DEBUG' naked instead of using E1000_DEBUG or similar. Such usage of DEBUG conflicts with the possibility to build QEMU with --extra-cflags=-DDEBUG Signed-off-by: Jes Sorensen Jes Sorensen (2): Remove unused DEBUG defines from hw/msix.c Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c hw/e1000.c | 4 ++-- hw/msix.c | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-)