diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-13 20:55:57 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-05-28 19:22:04 +0200 |
commit | 655078f5f5286fe0ab38e90c4695001a0e15e9dd (patch) | |
tree | ce6735941075edc5df7a6973e746a989b7f5a2cf | |
parent | power: supply: Make bd9995x_chip_reset static (diff) | |
download | linux-655078f5f5286fe0ab38e90c4695001a0e15e9dd.tar.xz linux-655078f5f5286fe0ab38e90c4695001a0e15e9dd.zip |
kobject: increase allowed number of uevent variables
SBS battery driver exposes 32 power supply properties now,
which will result in uevent failure on (un)plugging the
battery. Other drivers (e.g. bq27xxx) are also coming close
to this limit, so increase it.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r-- | include/linux/kobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index e2ca0a292e21..75e822569e39 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -29,7 +29,7 @@ #include <linux/uidgid.h> #define UEVENT_HELPER_PATH_LEN 256 -#define UEVENT_NUM_ENVP 32 /* number of env pointers */ +#define UEVENT_NUM_ENVP 64 /* number of env pointers */ #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ #ifdef CONFIG_UEVENT_HELPER |