RE: [PATCH 2/2] iio: inkern: add error case in iio_channel_get()

From: Kim, Milo
Date: Mon Sep 17 2012 - 04:46:26 EST


> Fine, I'm convinced. Certainly less weird doing it your way ;)
> Please do fix up the get all case as well.

Please refer to chained patches.
[PATCH 1/2] iio: inkern: add error case in iio_channel_get()
[PATCH 2/2] iio: inkern: put the IIO device when mem alloc gets failed

I'd like to mention that these patches are dependent on another fix as below.
[PATCH RESEND] iio: inkern: allocate zeroed memory

Please let me know if any conflicts.

Thanks !

Best Regards,
Milo
--
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/