[PATCH] iio: Fix build error in industrialio-core.c
levinsasha928 at gmail.com
Thu Nov 24 00:54:41 PST 2011
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 fixing
> >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.
More information about the devel