From 8bbf1d5bea7ae5461523ca8c7317d0789afe3c8e Mon Sep 17 00:00:00 2001 From: Jan Polensky Date: Thu, 2 Oct 2025 15:55:06 +0200 Subject: [PATCH] checkpatch: Ignore STRNCPY warning for userspace code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For s390-tools util_strlcpy() would be a safer replacement. However, no code is changed, only .checkpatch.conf is updated to avoid false positives in userspace. Reviewed-by: Jan Höppner Signed-off-by: Jan Polensky Signed-off-by: Jan Höppner --- .checkpatch.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 6d7ef1c0..e66bf993 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -10,3 +10,4 @@ --ignore FILE_PATH_CHANGES --ignore NEW_TYPEDEFS --ignore SPDX_LICENSE_TAG +--ignore STRNCPY