mirror of https://gitee.com/openkylin/linux.git
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:
parent
8ec589b979
commit
3f830562de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue