Linux IIO development
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Axel Lin <axel.lin@ingics.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>,
	Jonathan Cameron <jic23@kernel.org>,
	linux-iio@vger.kernel.org
Subject: Re: iio: at91_adc.c build error
Date: Mon, 29 Oct 2012 09:02:59 +0100	[thread overview]
Message-ID: <508E3833.50003@metafoo.de> (raw)
In-Reply-To: <1351425686.12461.1.camel@phoenix>

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

  reply	other threads:[~2012-10-29  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 12:01 iio: at91_adc.c build error Axel Lin
2012-10-29  8:02 ` Lars-Peter Clausen [this message]
2012-10-29  8:09   ` Axel Lin

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=508E3833.50003@metafoo.de \
    --to=lars@metafoo.de \
    --cc=axel.lin@ingics.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.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