* iio: at91_adc.c build error
@ 2012-10-28 12:01 Axel Lin
2012-10-29 8:02 ` Lars-Peter Clausen
0 siblings, 1 reply; 3+ messages in thread
From: Axel Lin @ 2012-10-28 12:01 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: Maxime Ripard, Jonathan Cameron, linux-iio
hi Lars-Peter,
Seems there is no devm_kcalloc API available at this moment (in linux-next tree).
I got below build error:
drivers/iio/adc/at91_adc.c: In function 'at91_adc_channel_init':
drivers/iio/adc/at91_adc.c:126: error: implicit declaration of function 'devm_kcalloc'
drivers/iio/adc/at91_adc.c:127: warning: assignment makes pointer from integer without a cast
drivers/iio/adc/at91_adc.c: In function 'at91_adc_trigger_init':
drivers/iio/adc/at91_adc.c:272: warning: assignment makes pointer from integer without a cast
drivers/iio/adc/at91_adc.c: In function 'at91_adc_probe_dt':
drivers/iio/adc/at91_adc.c:455: warning: assignment makes pointer from integer without a cast
make[3]: *** [drivers/iio/adc/at91_adc.o] Error 1
make[2]: *** [drivers/iio/adc] Error 2
make[1]: *** [drivers/iio] Error 2
make: *** [drivers] Error 2
Regards,
Axel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iio: at91_adc.c build error
2012-10-28 12:01 iio: at91_adc.c build error Axel Lin
@ 2012-10-29 8:02 ` Lars-Peter Clausen
2012-10-29 8:09 ` Axel Lin
0 siblings, 1 reply; 3+ messages in thread
From: Lars-Peter Clausen @ 2012-10-29 8:02 UTC (permalink / raw)
To: Axel Lin; +Cc: Maxime Ripard, Jonathan Cameron, linux-iio
On 10/28/2012 01:01 PM, Axel Lin wrote:
> hi Lars-Peter,
>
> Seems there is no devm_kcalloc API available at this moment (in linux-next tree).
>
> I got below build error:
> drivers/iio/adc/at91_adc.c: In function 'at91_adc_channel_init':
> drivers/iio/adc/at91_adc.c:126: error: implicit declaration of function 'devm_kcalloc'
> drivers/iio/adc/at91_adc.c:127: warning: assignment makes pointer from integer without a cast
> drivers/iio/adc/at91_adc.c: In function 'at91_adc_trigger_init':
> drivers/iio/adc/at91_adc.c:272: warning: assignment makes pointer from integer without a cast
> drivers/iio/adc/at91_adc.c: In function 'at91_adc_probe_dt':
> drivers/iio/adc/at91_adc.c:455: warning: assignment makes pointer from integer without a cast
> make[3]: *** [drivers/iio/adc/at91_adc.o] Error 1
> make[2]: *** [drivers/iio/adc] Error 2
> make[1]: *** [drivers/iio] Error 2
> make: *** [drivers] Error 2
Ok, now I feel stupid...
Do you want to sent a revert or should I do it?
- Lars
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iio: at91_adc.c build error
2012-10-29 8:02 ` Lars-Peter Clausen
@ 2012-10-29 8:09 ` Axel Lin
0 siblings, 0 replies; 3+ messages in thread
From: Axel Lin @ 2012-10-29 8:09 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: Maxime Ripard, Jonathan Cameron, linux-iio
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
2012/10/29 Lars-Peter Clausen <lars@metafoo.de>
> On 10/28/2012 01:01 PM, Axel Lin wrote:
> > hi Lars-Peter,
> >
> > Seems there is no devm_kcalloc API available at this moment (in
> linux-next tree).
> >
> > I got below build error:
> > drivers/iio/adc/at91_adc.c: In function 'at91_adc_channel_init':
> > drivers/iio/adc/at91_adc.c:126: error: implicit declaration of function
> 'devm_kcalloc'
> > drivers/iio/adc/at91_adc.c:127: warning: assignment makes pointer from
> integer without a cast
> > drivers/iio/adc/at91_adc.c: In function 'at91_adc_trigger_init':
> > drivers/iio/adc/at91_adc.c:272: warning: assignment makes pointer from
> integer without a cast
> > drivers/iio/adc/at91_adc.c: In function 'at91_adc_probe_dt':
> > drivers/iio/adc/at91_adc.c:455: warning: assignment makes pointer from
> integer without a cast
> > make[3]: *** [drivers/iio/adc/at91_adc.o] Error 1
> > make[2]: *** [drivers/iio/adc] Error 2
> > make[1]: *** [drivers/iio] Error 2
> > make: *** [drivers] Error 2
>
> Ok, now I feel stupid...
>
> Do you want to sent a revert or should I do it?
>
Ok. I'll send a revert patch right away.
Axel
[-- Attachment #2: Type: text/html, Size: 1579 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-29 8:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 12:01 iio: at91_adc.c build error Axel Lin
2012-10-29 8:02 ` Lars-Peter Clausen
2012-10-29 8:09 ` Axel Lin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.