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

From: Sasha Levin
Date: Thu Nov 24 2011 - 03:54:47 EST


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.

--

Sasha.

--
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/