[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C6A2FC2.9050908@suse.cz>
Date: Tue, 17 Aug 2010 08:44:18 +0200
From: Michal Marek <mmarek@...e.cz>
To: Américo Wang <xiyou.wangcong@...il.com>
Cc: Mike Frysinger <vapier@...too.org>, linux-kbuild@...r.kernel.org,
Roman Zippel <zippel@...ux-m68k.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kconfig: fix warnings in fgets/fwrite usage
On 17.8.2010 07:46, Américo Wang wrote:
> On Thu, Aug 12, 2010 at 01:56:19AM -0400, Mike Frysinger wrote:
>> Add some helper functions that abort on failure, and change the fwrite
>> and fget calls to use those. This should kill off all the ugly gcc
>> warnings that some distros emit about ignoring return values due to
>> usage of warn_unused_result attributes.
>>
>> Signed-off-by: Mike Frysinger <vapier@...too.org>
>
> Looks good to me,
>
> Acked-by: WANG Cong <xiyou.wangcong@...il.com>
I already merged similar patches by Jean Sacren, see commits bf5e327 and
4418a2b in kbuild-2.6.git.
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