Date: Fri, 30 Dec 2011 04:00:32 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228984 - head/sys/dev/fdt Message-ID: <201112300400.pBU40Wx5094629@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Fri Dec 30 04:00:31 2011 New Revision: 228984 URL: http://svn.freebsd.org/changeset/base/228984 Log: DEBUG is a kernel option. Don't define it here, as it breaks LINT. Since DEBUG was subsequently undefined, this is just debugging left- over. Modified: head/sys/dev/fdt/fdt_pci.c head/sys/dev/fdt/fdtbus.c head/sys/dev/fdt/simplebus.c Modified: head/sys/dev/fdt/fdt_pci.c ============================================================================== --- head/sys/dev/fdt/fdt_pci.c Fri Dec 30 03:57:17 2011 (r228983) +++ head/sys/dev/fdt/fdt_pci.c Fri Dec 30 04:00:31 2011 (r228984) @@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$"); #include "ofw_bus_if.h" #include "pcib_if.h" -#define DEBUG -#undef DEBUG - #ifdef DEBUG #define debugf(fmt, args...) do { printf("%s(): ", __func__); \ printf(fmt,##args); } while (0) Modified: head/sys/dev/fdt/fdtbus.c ============================================================================== --- head/sys/dev/fdt/fdtbus.c Fri Dec 30 03:57:17 2011 (r228983) +++ head/sys/dev/fdt/fdtbus.c Fri Dec 30 04:00:31 2011 (r228984) @@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$"); #include "fdt_common.h" #include "ofw_bus_if.h" -#define DEBUG -#undef DEBUG - #ifdef DEBUG #define debugf(fmt, args...) do { printf("%s(): ", __func__); \ printf(fmt,##args); } while (0) Modified: head/sys/dev/fdt/simplebus.c ============================================================================== --- head/sys/dev/fdt/simplebus.c Fri Dec 30 03:57:17 2011 (r228983) +++ head/sys/dev/fdt/simplebus.c Fri Dec 30 04:00:31 2011 (r228984) @@ -49,9 +49,6 @@ __FBSDID("$FreeBSD$"); #include "fdt_common.h" #include "ofw_bus_if.h" -#define DEBUG -#undef DEBUG - #ifdef DEBUG #define debugf(fmt, args...) do { printf("%s(): ", __func__); \ printf(fmt,##args); } while (0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112300400.pBU40Wx5094629>