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

Stephen Rothwell sfr at canb.auug.org.au
Thu Nov 24 23:47:50 UTC 2011


On Wed, 23 Nov 2011 12:13:59 +0200 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 the
> error I changed the function a bit to make it nicer.
> 
> Cc: Jonathan Cameron <jic23 at cam.ac.uk>
> Cc: Greg Kroah-Hartman <gregkh at suse.de>
> Cc: linux-iio at vger.kernel.org
> Cc: devel at driverdev.osuosl.org
> Signed-off-by: Sasha Levin <levinsasha928 at gmail.com>

I will add this to my fixes tree today (so linux-next will build).

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20111125/22e5fd39/attachment.asc>


More information about the devel mailing list