Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1637095

Re: [PATCH v2 3/3] iio: tools: generic_buffer: increase trigger length

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/3] iio: tools: generic_buffer: increase trigger length
Date 2017-05-08 00:20 +0200
Message-ID <tECGZ-3sL-3@gated-at.bofh.it> (permalink)
References <tDnTI-3io-15@gated-at.bofh.it> <tDnTI-3io-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/05/17 13:13, Eugen Hristev wrote:
> Increased trigger length to 64 in order to cope with trigger names
> like fc030000.adc-dev0-external-rising
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Might as well change this now.

Applied to the togreg branch of iio.git.

Thanks,

Jonathan
> ---
>  Changes in v2:
>  - Modified trigger name length to 64
> 
>  tools/iio/iio_utils.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/iio/iio_utils.h b/tools/iio/iio_utils.h
> index 780f201..8b379da 100644
> --- a/tools/iio/iio_utils.h
> +++ b/tools/iio/iio_utils.h
> @@ -13,7 +13,7 @@
>  #include <stdint.h>
>  
>  /* Made up value to limit allocation sizes */
> -#define IIO_MAX_NAME_LENGTH 30
> +#define IIO_MAX_NAME_LENGTH 64
>  
>  #define FORMAT_SCAN_ELEMENTS_DIR "%s/scan_elements"
>  #define FORMAT_TYPE_FILE "%s_type"
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 3/3] iio: tools: generic_buffer: increase trigger length Eugen Hristev <eugen.hristev@microchip.com> - 2017-05-04 14:20 +0200
  Re: [PATCH v2 3/3] iio: tools: generic_buffer: increase trigger  length Jonathan Cameron <jic23@kernel.org> - 2017-05-08 00:20 +0200

csiph-web