Home
last modified time | relevance | path

Searched hist:"9 efabc84" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/ubi/
H A Ddebug.h9efabc84 Fri Aug 19 11:02:27 CDT 2011 Artem Bityutskiy <artem.bityutskiy@intel.com> UBI: do not link debug messages when debugging is disabled

Michal Marek spotted the same issue in UBIFS and this patch fixes UBI,
see "UBIFS: not build debug messages with CONFIG_UBIFS_FS_DEBUG disabled"

When UBI debugging is disabled, we have debugging messages defined as:

if (0)
pr_debug()

But pr_debug macro defines data structures with debugging data and makes
the linux binary larger, even though we have "if (0)".

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
9efabc84 Fri Aug 19 11:02:27 CDT 2011 Artem Bityutskiy <artem.bityutskiy@intel.com> UBI: do not link debug messages when debugging is disabled

Michal Marek spotted the same issue in UBIFS and this patch fixes UBI,
see "UBIFS: not build debug messages with CONFIG_UBIFS_FS_DEBUG disabled"

When UBI debugging is disabled, we have debugging messages defined as:

if (0)
pr_debug()

But pr_debug macro defines data structures with debugging data and makes
the linux binary larger, even though we have "if (0)".

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>