From: Lars-Peter Clausen <lars@metafoo.de>
To: Miguel Robles <miguel.robles@farole.net>,
Alison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>,
linux-iio@vger.kernel.org, linux-iio-owner@vger.kernel.org
Subject: Re: PROBLEM: iio: dummy: Oops after mkdir
Date: Thu, 9 Mar 2017 19:15:54 +0100 [thread overview]
Message-ID: <eb9e7974-a20f-cbda-8a00-af6a05389ea5@metafoo.de> (raw)
In-Reply-To: <20170309180859.GA15190@miguel-Z170X-UD5-TH>
On 03/09/2017 07:08 PM, Miguel Robles wrote:
> On Thu, Mar 09, 2017 at 09:40:49AM -0800, Alison Schofield wrote:
>> On Thu, Mar 09, 2017 at 09:36:54AM -0800, Alison Schofield wrote:
>>> On Thu, Mar 09, 2017 at 04:59:39PM +0100, miguel.robles@farole.net wrote:
>>>> On 2017-03-09 16:41, Daniel Baluta wrote:
>>>>> On Thu, Mar 9, 2017 at 4:34 PM, Miguel Robles <miguel.robles@farole.net>
>>>>> wrote:
>>>>>> Hello all,
[...]
>>>>>> CONFIG_IIO_CONFIGFS=m
>>>>>
>>>>> Do you also have CONFIG_IIO_SW_DEVICE right?
>>>>
>>>> Yes, and the value is: CONFIG_IIO_SW_DEVICE=m.
>>>>
>>>> Thank you,
>>>> Miguel
>>>>>
>>>>> Will try to have a look at this asap.
>>>>>
>>>>>
>>>>> thanks,
>>>>> Daniel.
>>>
>>> Daniel,
>>> You probably saw, but just in case...
>>> I verified that the process, including the above mkdir, is working on
>>> 4.10-rc3. (So, I'm relieved the Outreachy applicants won't start
>>> hitting it.)
>>> alisons
>>
>> I see Lars' patch!
>> It worked for me because I used CONFIG_IIO_CONFIGFS built-in.
>> alisons
>>
> I applied Lar's patch and now the command is working fine!
> Even if I do not understand very well the patch. I mean, I always declared
> CONFIG_IIO_CONFIGFS, so the code should be normally always compiled.
What the kernel build system does is when the symbol is select as built-in
(=y) it does `#define CONFIG_CONFIGFS_FS`. When the symbol is selected as a
module (=m) it does `#define CONFIG_CONFIGFS_FS_MODULE`. The IS_ENABLED()
macro basically checks for both and evaluates to true if either of them is
defined.
next prev parent reply other threads:[~2017-03-09 18:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 14:34 PROBLEM: iio: dummy: Oops after mkdir Miguel Robles
2017-03-09 15:41 ` Daniel Baluta
2017-03-09 15:59 ` miguel.robles
2017-03-09 17:36 ` Alison Schofield
2017-03-09 17:40 ` Alison Schofield
2017-03-09 18:08 ` Miguel Robles
2017-03-09 18:15 ` Lars-Peter Clausen [this message]
2017-03-09 18:25 ` Miguel Robles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eb9e7974-a20f-cbda-8a00-af6a05389ea5@metafoo.de \
--to=lars@metafoo.de \
--cc=amsfield22@gmail.com \
--cc=daniel.baluta@gmail.com \
--cc=linux-iio-owner@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=miguel.robles@farole.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox