From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:36202 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965Ab1LRUzJ (ORCPT ); Sun, 18 Dec 2011 15:55:09 -0500 Date: Sun, 18 Dec 2011 21:55:07 +0100 From: Michal Marek Subject: Re: [PATCH] kbuild: use xfwrite wrapper function to silence warnings Message-ID: <20111218205507.GA25931@sepie.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Peter Foley Cc: Linux Kernel Mailing List , Linux Kbuild Mailing List 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 > --- > scripts/kconfig/confdata.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied to kbuild.git#kconfig, thanks. Michal