Re: [PATCH] kbuild: use xfwrite wrapper function to silence warnings |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH] kbuild: use xfwrite wrapper function to silence warnings
- From: Michal Marek <mmarek@xxxxxxx>
- Date: Sun, 18 Dec 2011 21:55:07 +0100
- Cc: Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Linux Kbuild Mailing List <linux-kbuild@xxxxxxxxxxxxxxx>
- In-reply-to: <alpine.LNX.2.00.1110221045310.59156@linux>
- References: <alpine.LNX.2.00.1110221045310.59156@linux>
- User-agent: Mutt/1.5.21 (2010-09-15)
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@xxxxxxxxxxx>
> ---
> 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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]