Re: [PATCH] iio: Fix build error in industrialio-core.c

From: Jonathan Cameron
Date: Thu Nov 24 2011 - 04:13:00 EST




Sasha Levin <levinsasha928@xxxxxxxxx> wrote:

>On Thu, 2011-11-24 at 08:49 +0000, Jonathan Cameron wrote:
>>
>> Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
>>
>> >The error was introduced in commit b4641336 ("iio: fix a leak due to
>> >improper use of anon_inode_getfd()").
>> >
>> >Looks like the code wasn't even compile tested. Instead of just
>fixing
>> >the
>> >error I changed the function a bit to make it nicer.
>> Minimal change would have been slightly nicer but clean up is obvious
>so fine. Thanks for doing this. Andrew m has a dirty build fix in NM
>but he will drop that when this hits.
>
>If you'd like I can split it into two patches, the fix and the cleanup.

Unless Greg wants that don't bother. I just want the fix in place!
>--
>
>Sasha.

--
Sent from my Android phone
with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/