From: Vijay Khemka Date: Wed, 11 Dec 2019 19:01:55 +0000 (-0800) Subject: drivers: ipmi: Modify max length of IPMB packet X-Git-Tag: v5.15~4456^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=380665becdeeb4f455c23582b7f32e6b3cea27d2;p=platform%2Fkernel%2Flinux-starfive.git 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 Message-Id: <20191211190155.1279610-1-vijaykhemka@fb.com> Signed-off-by: Corey Minyard --- diff --git a/drivers/char/ipmi/ipmb_dev_int.c b/drivers/char/ipmi/ipmb_dev_int.c index 8667429..9fdae83 100644 --- a/drivers/char/ipmi/ipmb_dev_int.c +++ b/drivers/char/ipmi/ipmb_dev_int.c @@ -19,7 +19,7 @@ #include #include -#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