Skip to content

Commit

Permalink
checkpatch: add ignore=STRLCPY
Browse files Browse the repository at this point in the history
Checkpatch complains over strlcpy:
WARNING: Prefer strscpy over strlcpy - see: KSPP/linux#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 <[email protected]>
Reviewed-by: Etienne Carriere <[email protected]>
  • Loading branch information
jenswi-linaro authored and jforissier committed Sep 5, 2024
1 parent 90c1606 commit 6e5cb5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .checkpatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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_

0 comments on commit 6e5cb5c

Please sign in to comment.