Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d6254684 authored by Alexander Winkowski's avatar Alexander Winkowski
Browse files

soc: qcom: minidump: Fix -Wstrlcpy-strlcat-size



Extracted from I54b58226e3d6de0b674ac4ca1407138d1c9707e8

../drivers/soc/qcom/msm_minidump.c:521:39: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
  521 |         strlcpy(banner, linux_banner, strlen(linux_banner) + 1);
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~
1 warning generated.

Change-Id: I43fa5006150dd402405f8c942571f08da0eb714a
Signed-off-by: default avatarAlexander Winkowski <dereference23@outlook.com>
parent deac4ca7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment