linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
	Michael Hennerich <michael.hennerich@analog.com>,
	linux-iio@vger.kernel.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	Amerigo Wang <xiyou.wangcong@gmail.com>
Subject: Re: [PATCH] fix build error of function iio_event_getfd
Date: Sun, 27 Nov 2011 15:01:26 +0800	[thread overview]
Message-ID: <CANFwon0z7XBqhqmB0XT5fJPfYexmBXw0rYUtem5AEmR+xBkh1Q@mail.gmail.com> (raw)
In-Reply-To: <a3c3695e-8a13-4e44-9660-0df049d86003@email.android.com>

On Sat, Nov 26, 2011 at 17:19, Jonathan Cameron <jic23@cam.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@gmail.com> wrote:
>
>>Got a build error:
>> =A0CC [M] =A0drivers/staging/iio/industrialio-core.o
>>/home/teawater/kernel2/linux/drivers/staging/iio/industrialio-core.c:
>>In function =91iio_event_getfd=92:
>>/home/teawater/kernel2/linux/drivers/staging/iio/industrialio-core.c:262:=
32:
>>error: =91ev_int=92 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@gmail.com>
>>---
>> drivers/staging/iio/industrialio-core.c | =A0 =A01 +
>> 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)
>> {
>> =A0 =A0 =A0 int fd;
>>+ =A0 =A0 =A0struct iio_event_interface *ev_int =3D indio_dev->event_inte=
rface;
>>
>> =A0 =A0 =A0 if (indio_dev->event_interface =3D=3D NULL)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 return -ENODEV;
>
> --
> Sent from my Android phone
> with K-9 Mail. Please excuse my brevity.
>

      parent reply	other threads:[~2011-11-27  7:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-26  8:07 [PATCH] fix build error of function iio_event_getfd Hui Zhu
2011-11-26  8:52 ` Cong Wang
2011-11-26  9:19 ` Jonathan Cameron
2011-11-27  0:54   ` Greg KH
2011-11-27  7:01   ` Hui Zhu [this message]

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=CANFwon0z7XBqhqmB0XT5fJPfYexmBXw0rYUtem5AEmR+xBkh1Q@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.hennerich@analog.com \
    --cc=xiyou.wangcong@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).