> 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-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html