On 10/03/17 07:54, Daniel Baluta wrote: > On Thu, Mar 9, 2017 at 6:20 PM, Lars-Peter Clausen <lars@xxxxxxxxxx> wrote: >> Use the IS_ENABLED() helper macro to ensure that the configfs group is >> initialized either when configfs is built-in or when configfs is built as a >> module. Otherwise software device creation will result in undefined >> behaviour when configfs is built as a mdoule since the configfs group for >> the device not properly initialized. >> >> Similar to commit b2f0c09664b7 ("iio: sw-trigger: Fix config group >> initialization"). >> >> Fixes: 0f3a8c3f34f7 ("iio: Add support for creating IIO devices via configfs") >> Reported-by: Miguel Robles <miguel.robles@xxxxxxxxxx> >> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx> > > Acked-by: Daniel Baluta <daniel.baluta@xxxxxxxxx> Applied to the fixes-togreg branch of iio.git with description typo fixed and marked for stable. Thanks, Jonathan > -- > 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 > -- 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