diff options
author | Vijay Khemka <vijaykhemka@fb.com> | 2019-12-11 20:01:55 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-12-11 20:22:21 +0100 |
commit | 380665becdeeb4f455c23582b7f32e6b3cea27d2 (patch) | |
tree | 44b995911b2c08def8a6368dd3cfe58f7294a151 | |
parent | drivers: ipmi: Support raw i2c packet in IPMB (diff) | |
download | linux-380665becdeeb4f455c23582b7f32e6b3cea27d2.tar.xz linux-380665becdeeb4f455c23582b7f32e6b3cea27d2.zip |
drivers: ipmi: Modify max length of IPMB packet
As per IPMB specification, maximum packet size supported is 255,
modified Max length to 240 from 128 to accommodate more data.
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Message-Id: <20191211190155.1279610-1-vijaykhemka@fb.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
-rw-r--r-- | drivers/char/ipmi/ipmb_dev_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmb_dev_int.c b/drivers/char/ipmi/ipmb_dev_int.c index 86674292b213..9fdae83e59e0 100644 --- a/drivers/char/ipmi/ipmb_dev_int.c +++ b/drivers/char/ipmi/ipmb_dev_int.c @@ -19,7 +19,7 @@ #include <linux/spinlock.h> #include <linux/wait.h> -#define MAX_MSG_LEN 128 +#define MAX_MSG_LEN 240 #define IPMB_REQUEST_LEN_MIN 7 #define NETFN_RSP_BIT_MASK 0x4 #define REQUEST_QUEUE_MAX_LEN 256 |