lkml.org 
[lkml]   [2011]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@verizon.net>
> ---
> scripts/kconfig/confdata.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

Applied to kbuild.git#kconfig, thanks.

Michal


\
 
 \ /
  Last update: 2011-12-18 21:57    [W:0.113 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site