From 3f830562deade2ab6163f07ee6829158cc070ee4 Mon Sep 17 00:00:00 2001 From: Axel Haslam Date: Fri, 29 Jan 2016 11:34:19 +0100 Subject: [PATCH] greybus: loopback_test: Decrease the max number of devices Its unrealistic to expect 50 loopback devices, and the mask parameter can hold up to "int" anyways so decrease to max number of devices to sane value. Signed-off-by: Axel Haslam Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/tools/loopback_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/tools/loopback_test.c b/drivers/staging/greybus/tools/loopback_test.c index e8d35bd95cc7..6178354fbb74 100644 --- a/drivers/staging/greybus/tools/loopback_test.c +++ b/drivers/staging/greybus/tools/loopback_test.c @@ -17,7 +17,7 @@ #include #include -#define MAX_NUM_DEVICES 50 +#define MAX_NUM_DEVICES 10 #define MAX_SYSFS_PATH 0x200 #define CSV_MAX_LINE 0x1000 #define SYSFS_MAX_INT 0x20 -- 2.20.1