Re: [PATCH] kconfig: fix warnings in fgets/fwrite usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 17, 2010 at 02:44, Michal Marek wrote:
> 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@xxxxxxxxxx>
>>
>> Looks good to me,
>>
>> Acked-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
>
> I already merged similar patches by Jean Sacren, see commits bf5e327 and
> 4418a2b in kbuild-2.6.git.

guess i should have posted the patches when i wrote them (March).  oh
well, as long as it's fixed ;).
-mike
--
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


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux