[PATCHv2] kexec-tools: Fix unused return value warnings

Simon Horman horms at verge.net.au
Sun Mar 14 18:41:04 EDT 2010


On Sat, Mar 13, 2010 at 02:39:10PM +0200, Ameya Palande wrote:
> From: Ameya Palande <ameya.palande at nokia.com>
> 
> This patch fixes following warning:
> 
> kexec/firmware_memmap.c: In function ‘parse_numeric_sysfs’:
> kexec/firmware_memmap.c:70: error: ignoring return value of ‘fgets’, declared
> with attribute warn_unused_result
> kexec/firmware_memmap.c: In function ‘parse_string_sysfs’:
> kexec/firmware_memmap.c:103: error: ignoring return value of ‘fgets’, declared
> with attribute warn_unused_result
> 
> Difference between v1 and v2: Less indentation.

Thanks, applied.



More information about the kexec mailing list