Re: [PATCH v3 12/18] soc: qcom: Register pstore frontend region with minidump
From: Kees Cook
Date: Tue May 16 2023 - 16:50:40 EST
On Wed, May 03, 2023 at 10:32:26PM +0530, Mukesh Ojha wrote:
> Since qcom_pstore_minidump driver creates platform device
> for qualcomm devices, so it knows the physical addresses
> of the frontend region now. Let's register the regions
> with qcom_minidump driver.
>
> Signed-off-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx>
> [...]
> + strlcpy(md_region->name, name, sizeof(md_region->name));
nitpick throughout: Please use strscpy()
https://github.com/KSPP/linux/issues/89
-Kees
--
Kees Cook