[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165488021406.462190.1740470149843111137.b4-ty@arm.com>
Date: Fri, 10 Jun 2022 17:59:31 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: linux-kernel@...r.kernel.org,
Cristian Marussi <cristian.marussi@....com>,
linux-arm-kernel@...ts.infradead.org
Cc: Sudeep Holla <sudeep.holla@....com>
Subject: Re: [PATCH 1/3] firmware: arm_scmi: Review BASE protocol string-buffers sizes
On Wed, 8 Jun 2022 10:55:28 +0100, Cristian Marussi wrote:
> SCMI Base protocol agent_name/vendor_id/sub_vendor_id are defined by the
> specification as NULL-terminated ASCII strings up to 16-bytes in length.
>
> The underlying buffers and message descriptors are currently bigger than
> needed; resize them to fit only the strictly needed 16 bytes.
>
> While at that, convert Base protocol strings handling routines to use the
> preferred strscpy.
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/3] firmware: arm_scmi: Review BASE protocol string-buffers sizes
https://git.kernel.org/sudeep.holla/c/4314f9f4f8
[2/3] firmware: arm_scmi: Fix SENSOR_AXIS_NAME_GET behaviour when unsupported
https://git.kernel.org/sudeep.holla/c/8e60294c80
[3/3] firmware: arm_scmi: Use preferred strscpy to handle strings
Merged in 1/3 to avoid any possible bisection issues, since they both
deal with the same issue.
--
Regards,
Sudeep
Powered by blists - more mailing lists