Re: [PATCH] iio: Fix build error in industrialio-core.c
From: Stephen Rothwell
Date: Thu Nov 24 2011 - 18:48:03 EST
On Wed, 23 Nov 2011 12:13:59 +0200 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.
>
> Cc: Jonathan Cameron <jic23@xxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Cc: linux-iio@xxxxxxxxxxxxxxx
> Cc: devel@xxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>
I will add this to my fixes tree today (so linux-next will build).
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature