[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111218205507.GA25931@sepie.suse.cz>
Date: Sun, 18 Dec 2011 21:55:07 +0100
From: Michal Marek <mmarek@...e.cz>
To: Peter Foley <pefoley2@...izon.net>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Kbuild Mailing List <linux-kbuild@...r.kernel.org>
Subject: Re: [PATCH] kbuild: use xfwrite wrapper function to silence warnings
On Sat, Oct 22, 2011 at 10:48:49AM -0400, Peter Foley wrote:
> Use the xfwrite wrapper function defined in lkc.h to check the return value of
> fwrite and silence these warnings.
>
> HOSTCC scripts/kconfig/zconf.tab.o
> scripts/kconfig/zconf.tab.c: In function 'header_print_comment':
> /usr/src/lto/scripts/kconfig/confdata.c:551:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
> scripts/kconfig/zconf.tab.c: In function 'kconfig_print_comment':
> /usr/src/lto/scripts/kconfig/confdata.c:467:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
>
> Signed-off-by: Peter Foley <pefoley2@...izon.net>
> ---
> scripts/kconfig/confdata.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Applied to kbuild.git#kconfig, thanks.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists