Re: [PATCH] iio: sw-device: Fix config group initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
--
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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux