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 <ahaslam@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Axel Haslam 2016-01-29 11:34:19 +01:00 committed by Greg Kroah-Hartman
parent 8ec589b979
commit 3f830562de
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
#include <unistd.h>
#include <dirent.h>
#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