From 6e5cb5c9f42119509079fb0736d04cd8aae9c36e Mon Sep 17 00:00:00 2001 From: Jens Wiklander Date: Mon, 19 Aug 2024 12:33:37 +0200 Subject: [PATCH] checkpatch: add ignore=STRLCPY Checkpatch complains over strlcpy: WARNING: Prefer strscpy over strlcpy - see: https://github.com/KSPP/linux/issues/89 However, OP-TEE doesn't have a strscpy() function to use, so silence the warning until one is available. Signed-off-by: Jens Wiklander Reviewed-by: Etienne Carriere --- .checkpatch.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 8d1e1d9d0df..5eafeeba0a8 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -8,6 +8,7 @@ --ignore=FILE_PATH_CHANGES --ignore=GERRIT_CHANGE_ID --ignore=NOT_UNIFIED_DIFF +--ignore=STRLCPY --ignore=PREFER_KERNEL_TYPES --ignore=USLEEP_RANGE --kconfig-prefix=CFG_