* linux-next: build error from iio_simple_dummy_buffer.c
@ 2011-10-28 11:29 Dan Carpenter
2011-10-31 11:24 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2011-10-28 11:29 UTC (permalink / raw)
To: jic23; +Cc: linux-iio
I get a compile error in linux-next:
CC [M] drivers/staging/iio/iio_simple_dummy_buffer.o
drivers/staging/iio/iio_simple_dummy_buffer.c: In function =E2=80=98iio=
_simple_dummy_configure_buffer=E2=80=99:
drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: error: =E2=80=98T=
HIS_MODULE=E2=80=99 undeclared (first use in this function)
drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: note: each undecl=
ared identifier is reported only once for each function it appears in
make[1]: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 1
make: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 2
We could just include <linux/module.h> I guess?
regards,
dan carpenter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: build error from iio_simple_dummy_buffer.c
2011-10-28 11:29 linux-next: build error from iio_simple_dummy_buffer.c Dan Carpenter
@ 2011-10-31 11:24 ` Jonathan Cameron
2011-10-31 11:38 ` Dan Carpenter
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2011-10-31 11:24 UTC (permalink / raw)
To: Dan Carpenter; +Cc: linux-iio
On 10/28/11 12:29, Dan Carpenter wrote:
> I get a compile error in linux-next:
>=20
> CC [M] drivers/staging/iio/iio_simple_dummy_buffer.o
> drivers/staging/iio/iio_simple_dummy_buffer.c: In function =E2=80=98=
iio_simple_dummy_configure_buffer=E2=80=99:
> drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: error: =E2=80=
=98THIS_MODULE=E2=80=99 undeclared (first use in this function)
> drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: note: each un=
declared identifier is reported only once for each function it appears =
in
> make[1]: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error =
1
> make: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 2
>=20
> We could just include <linux/module.h> I guess?
Yup, my bad. Do you want to do the patch, or shall I do it and
credit it to you?
>=20
> regards,
> dan carpenter
>=20
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: build error from iio_simple_dummy_buffer.c
2011-10-31 11:24 ` Jonathan Cameron
@ 2011-10-31 11:38 ` Dan Carpenter
2011-11-07 15:10 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2011-10-31 11:38 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio
[-- Attachment #1: Type: text/plain, Size: 990 bytes --]
On Mon, Oct 31, 2011 at 11:24:36AM +0000, Jonathan Cameron wrote:
> On 10/28/11 12:29, Dan Carpenter wrote:
> > I get a compile error in linux-next:
> >
> > CC [M] drivers/staging/iio/iio_simple_dummy_buffer.o
> > drivers/staging/iio/iio_simple_dummy_buffer.c: In function ‘iio_simple_dummy_configure_buffer’:
> > drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: error: ‘THIS_MODULE’ undeclared (first use in this function)
> > drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: note: each undeclared identifier is reported only once for each function it appears in
> > make[1]: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 1
> > make: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 2
> >
> > We could just include <linux/module.h> I guess?
> Yup, my bad. Do you want to do the patch, or shall I do it and
> credit it to you?
Do no work and collect a Reported-by is always prefered. :)
thanks,
dan carpenter
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: build error from iio_simple_dummy_buffer.c
2011-10-31 11:38 ` Dan Carpenter
@ 2011-11-07 15:10 ` Jonathan Cameron
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2011-11-07 15:10 UTC (permalink / raw)
To: Dan Carpenter; +Cc: Jonathan Cameron, linux-iio
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/31/2011 11:38 AM, Dan Carpenter wrote:
> On Mon, Oct 31, 2011 at 11:24:36AM +0000, Jonathan Cameron wrote:
>> On 10/28/11 12:29, Dan Carpenter wrote:
>>> I get a compile error in linux-next:
>>>
>>> CC [M] drivers/staging/iio/iio_simple_dummy_buffer.o
>>> drivers/staging/iio/iio_simple_dummy_buffer.c: In function
>>> ‘iio_simple_dummy_configure_buffer’:
>>> drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: error:
>>> ‘THIS_MODULE’ undeclared (first use in this function)
>>> drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: note:
>>> each undeclared identifier is reported only once for each
>>> function it appears in make[1]: ***
>>> [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 1 make:
>>> *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 2
>>>
>>> We could just include <linux/module.h> I guess?
>> Yup, my bad. Do you want to do the patch, or shall I do it and
>> credit it to you?
>
> Do no work and collect a Reported-by is always prefered. :)
Got fixed by
8e336a722bb234f9d7805647e0290f2a397ca04d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOt/TxAAoJEFSFNJnE9BaIdlwP/0oEbaKms5Ly/Xnhk6Gvd8dG
EJINGtoeMMIRzbTDMX3t+72TX/epKOq/rMy7HOdNrUb+vGzraGyAHIigadqH8k7u
/t8h1GEpUG4EZ932ki5Xa/ZaEIoHkbHLkSNMO48CzbwKrGix3T90TDpXkFP3CaMp
+2p74KZIpE++aeeGuZ81dcCsOZ2RAjgaE4LVzEGecO9vaThLLbEr644Hx/gYGqEZ
OY5l6/AmRppk7bzaU33i6FdcfXaLbhfElG8A5CpDp0362NPp7pb8YesbOMAo97Fd
RjP87LYyD790OLs0Ek6o//qppjXgQopt5bp+u/5hrtVRuojMi/DeyTmg+ADs4Sr6
UbGsC105gAxdsoQN86SA7AIqVU1SYJ4k4ZuiopB4DaheX2G7AIrg4ODcbCZWW8VZ
G0ubHLKmW00kZKFS3DQJwsegmK/oQ4Det766EdmNvOQL/eLqrbr4SAsk3V5d+jHR
NuIC7IoVFUVzzyQK4XmlclVWYO8+EfPaZHmwjJbrtJvCimGW9b4lVaM2jaEdrLg4
n4Gt9GLQwujbWllse0EITCuTpAopqPs1akpDIb04v08t/3r7AbIvEFinqIm5aihR
SloWRrpw4sjy0HOozO8f5CyfltvXnkMKJhrliQRQpO1Ma+mYfLfA8aPRxZzydFwm
JPDVtEuAv3qw0JO4Gnkw
=B527
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-07 15:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28 11:29 linux-next: build error from iio_simple_dummy_buffer.c Dan Carpenter
2011-10-31 11:24 ` Jonathan Cameron
2011-10-31 11:38 ` Dan Carpenter
2011-11-07 15:10 ` Jonathan Cameron
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).