scmi_protocols: Update discover list protocol message
PATCH 1/1 scmi_protocols: Update discover list protocol message
From: Ye Li <[email protected]>
When work with System Manager, System Manager provides vendor specific protocol, so the protocol array size is not enough.
--- include/scmi_protocols.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/scmi_protocols.h +1 -1
@@ -146,7 +146,7 @@ struct scmi_base_discover_impl_version_out {struct scmi_base_discover_list_protocols_out {s32 status;u32 num_protocols; -u32 protocols[3 ]; +u32 protocols[4 ]; };/**
Signature · 1 line
2.34.1
Quoted 16 lines · On Sun, Oct 06, 2024 at 05:50:22PM +0800, [email protected] wrote:
From: Ye Li <[email protected]>
When work with System Manager, System Manager provides vendor specific protocol, so the protocol array size is not enough.
Signed-off-by Ye Li <[email protected]>Signed-off-by Alice Guo <[email protected]>--- include/scmi_protocols.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/scmi_protocols.h +0
-0
include/scmi_protocols.h struct scmi_base_discover_impl_version_out { · line 152
Quoted 8 lines
include/scmi_protocols.h +1
-1@@ -146,7 +146,7 @@ struct scmi_base_discover_impl_version_out {struct scmi_base_discover_list_protocols_out {s32 status;u32 num_protocols; -u32 protocols[3 ]; +u32 protocols[4 ]; };/**
Changing a constant from 3 to 4 isn't good, please define something and add a comment explaining what the constant means so it'll be clear when/why someone changes it to 5. Thanks.
Signature · 1 line
Tom
Hi Alice and NXP folks,
Quoted 3 lines
Changing a constant from 3 to 4 isn't good, please define something and add a comment explaining what the constant means so it'll be clear when/why someone changes it to 5. Thanks.
Please improve all the commit messages from the recent patches.
All patches need a clear commit log explaining the motivation/rationale for the change.
The recent patches have poor commit messages and we cannot take them as-is.
Thanks