[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1492590045-17329-4-git-send-email-eugen.hristev@microchip.com>
Date: Wed, 19 Apr 2017 11:20:45 +0300
From: Eugen Hristev <eugen.hristev@...rochip.com>
To: <nicolas.ferre@...rochip.com>,
<alexandre.belloni@...e-electrons.com>,
<linux-iio@...r.kernel.org>, <jic23@...nel.org>, <lars@...afoo.de>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <ludovic.desroches@...rochip.com>, <eugen.hristev@...rochip.com>
Subject: [PATCH 3/3] iio: tools: generic_buffer: increase trigger length
Increased trigger length to 50 in order to cope with trigger names like
fc030000.adc-dev0-external-rising
Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
---
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..9d59771 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 50
#define FORMAT_SCAN_ELEMENTS_DIR "%s/scan_elements"
#define FORMAT_TYPE_FILE "%s_type"
--
2.7.4
Powered by blists - more mailing lists