Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:48056 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753554AbdCMUoB (ORCPT ); Mon, 13 Mar 2017 16:44:01 -0400 Subject: Re: [PATCH] iio: sw-device: Fix config group initialization To: Daniel Baluta , Lars-Peter Clausen References: <1489076404-11490-1-git-send-email-lars@metafoo.de> Cc: Hartmut Knaack , Peter Meerwald-Stadler , Miguel Robles , "linux-iio@vger.kernel.org" From: Jonathan Cameron Message-ID: Date: Mon, 13 Mar 2017 20:43:58 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 10/03/17 07:54, Daniel Baluta wrote: > On Thu, Mar 9, 2017 at 6:20 PM, Lars-Peter Clausen 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 >> Signed-off-by: Lars-Peter Clausen > > Acked-by: Daniel Baluta 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >