[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANFwon0z7XBqhqmB0XT5fJPfYexmBXw0rYUtem5AEmR+xBkh1Q@mail.gmail.com>
Date: Sun, 27 Nov 2011 15:01:26 +0800
From: Hui Zhu <teawater@...il.com>
To: Jonathan Cameron <jic23@....ac.uk>
Cc: Greg Kroah-Hartman <gregkh@...e.de>,
Michael Hennerich <michael.hennerich@...log.com>,
linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Amerigo Wang <xiyou.wangcong@...il.com>
Subject: Re: [PATCH] fix build error of function iio_event_getfd
On Sat, Nov 26, 2011 at 17:19, Jonathan Cameron <jic23@....ac.uk> wrote:
> Thanks but this is 7th fix I have seen.
Cool! I am in the top 10. :)
Sorry for disturb you.
Thanks,
Hui
>
> Hui Zhu <teawater@...il.com> wrote:
>
>>Got a build error:
>> CC [M] drivers/staging/iio/industrialio-core.o
>>/home/teawater/kernel2/linux/drivers/staging/iio/industrialio-core.c:
>>In function ‘iio_event_getfd’:
>>/home/teawater/kernel2/linux/drivers/staging/iio/industrialio-core.c:262:32:
>>error: ‘ev_int’ undeclared (first use in this function)
>>/home/teawater/kernel2/linux/drivers/staging/iio/industrialio-core.c:262:32:
>>note: each undeclared identifier is reported only once for each
>>function it appears in
>>Not sure it is fixed or not.
>>Post a patch for it.
>>
>>Signed-off-by: Hui Zhu <teawater@...il.com>
>>---
>> drivers/staging/iio/industrialio-core.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>>--- a/drivers/staging/iio/industrialio-core.c
>>+++ b/drivers/staging/iio/industrialio-core.c
>>@@ -243,6 +243,7 @@ static const struct file_operations iio_
>> static int iio_event_getfd(struct iio_dev *indio_dev)
>> {
>> int fd;
>>+ struct iio_event_interface *ev_int = indio_dev->event_interface;
>>
>> if (indio_dev->event_interface == NULL)
>> return -ENODEV;
>
> --
> Sent from my Android phone
> with K-9 Mail. Please excuse my brevity.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists