Messages in this thread | | | Subject | Re: [PATCH] iio: Fix build error in industrialio-core.c | From | Sasha Levin <> | Date | Thu, 24 Nov 2011 10:54:41 +0200 |
| |
On Thu, 2011-11-24 at 08:49 +0000, Jonathan Cameron wrote: > > Sasha Levin <levinsasha928@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 > >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.
--
Sasha.
| |