[PATCH] iio: Fix build error in industrialio-core.c
jic23 at cam.ac.uk
Thu Nov 24 09:11:48 UTC 2011
Sasha Levin <levinsasha928 at gmail.com> wrote:
>On Thu, 2011-11-24 at 08:49 +0000, Jonathan Cameron wrote:
>> Sasha Levin <levinsasha928 at gmail.com> 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
>> >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!
Sent from my Android phone
with K-9 Mail. Please excuse my brevity.
More information about the devel