[PATCH v2] Fix gcc-4.5.2 "statement with no effect" warnings in UBIFS
Mike Frysinger
vapier.adi at gmail.com
Tue Apr 12 18:42:48 EDT 2011
On Tue, Apr 12, 2011 at 18:14, <maksim.rayskiy at gmail.com> wrote:
> From: Maksim Rayskiy <maksim.rayskiy at gmail.com>
>
> When compiling UBIFS with CONFIG_UBIFS_FS_DEBUG not set,
> gcc-4.5.2 generates a slew of "warning: statement with no effect"
> on references to non-void functions defined as 0.
> To avoid these warnings, replace #defines with dummy inline functions.
thanks for doing this !
Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike
More information about the linux-mtd
mailing list