From: Jonathan Cameron <jic23@kernel.org>
To: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH 7/7] iio staging: quell asprintf() warning, missing #includes
Date: Mon, 25 Jun 2012 21:38:53 +0100 [thread overview]
Message-ID: <4FE8CC5D.5050106@kernel.org> (raw)
In-Reply-To: <1340651505-31081-7-git-send-email-pmeerw@pmeerw.net>
On 06/25/2012 08:11 PM, Peter Meerwald wrote:
> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net
Acked-by: Jonathan Cameron <jic23@kernel.org>
Thanks for this set Peter. Nice to get cleanups on the
bits that don't get hit by the autobuilders!
> ---
> drivers/staging/iio/Documentation/generic_buffer.c | 3 +++
> drivers/staging/iio/Documentation/iio_utils.h | 1 +
> 2 files changed, 4 insertions(+)
>
> diff --git a/drivers/staging/iio/Documentation/generic_buffer.c b/drivers/staging/iio/Documentation/generic_buffer.c
> index 1dd0681..aaf6146 100644
> --- a/drivers/staging/iio/Documentation/generic_buffer.c
> +++ b/drivers/staging/iio/Documentation/generic_buffer.c
> @@ -18,6 +18,8 @@
> *
> */
>
> +#define _GNU_SOURCE
> +
> #include <unistd.h>
> #include <dirent.h>
> #include <fcntl.h>
> @@ -29,6 +31,7 @@
> #include <string.h>
> #include <poll.h>
> #include <endian.h>
> +#include <getopt.h>
> #include <inttypes.h>
> #include "iio_utils.h"
>
> diff --git a/drivers/staging/iio/Documentation/iio_utils.h b/drivers/staging/iio/Documentation/iio_utils.h
> index 9c7a5aa..c0448b3 100644
> --- a/drivers/staging/iio/Documentation/iio_utils.h
> +++ b/drivers/staging/iio/Documentation/iio_utils.h
> @@ -13,6 +13,7 @@
> #include <stdio.h>
> #include <stdint.h>
> #include <dirent.h>
> +#include <errno.h>
>
> /* Made up value to limit allocation sizes */
> #define IIO_MAX_NAME_LENGTH 30
>
next prev parent reply other threads:[~2012-06-25 20:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 19:11 [PATCH 1/7] iio staging: fix generic_buffer print2byte() Peter Meerwald
2012-06-25 19:11 ` [PATCH 2/7] iio staging: remove unused variable Peter Meerwald
2012-06-25 20:28 ` Jonathan Cameron
2012-06-25 19:11 ` [PATCH 3/7] iio staging: move comment Peter Meerwald
2012-06-25 20:30 ` Jonathan Cameron
2012-06-25 19:11 ` [PATCH 4/7] iio staging: generic_buffer cleanup Peter Meerwald
2012-06-25 20:33 ` Jonathan Cameron
2012-06-25 19:11 ` [PATCH 5/7] iio staging: fix warning 'static but used in inline function' Peter Meerwald
2012-06-25 20:34 ` Jonathan Cameron
2012-06-25 19:11 ` [PATCH 6/7] iio staging: use PRId64 format specifier for int64_t Peter Meerwald
2012-06-25 20:37 ` Jonathan Cameron
2012-06-25 19:11 ` [PATCH 7/7] iio staging: quell asprintf() warning, missing #includes Peter Meerwald
2012-06-25 20:38 ` Jonathan Cameron [this message]
2012-06-25 20:23 ` [PATCH 1/7] iio staging: fix generic_buffer print2byte() Jonathan Cameron
-- strict thread matches above, loose matches on Subject: below --
2012-06-25 21:12 Peter Meerwald
2012-06-25 21:12 ` [PATCH 7/7] iio staging: quell asprintf() warning, missing #includes Peter Meerwald
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=4FE8CC5D.5050106@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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 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.