osmith submitted this change.
lint/checkpatch: ignore SSCANF_TO_KSTRTO
This kernel-specific warning doesn't make sense when linting our code so
disable it.
Change-Id: If096c600331d7ad5786395c5c41a6742da44a3e8
---
M lint/checkpatch/checkpatch_osmo.sh
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh
index ac586f7..de14044 100755
--- a/lint/checkpatch/checkpatch_osmo.sh
+++ b/lint/checkpatch/checkpatch_osmo.sh
@@ -76,6 +76,7 @@
# * REPEATED_WORD: false positives in doxygen descriptions (e.g. '\param[in] data Data passed through...')
# * SPDX_LICENSE_TAG: we don't place it on line 1
# * SPLIT_STRING: we do split long messages over multiple lines
+# * SSCANF_TO_KSTRTO: kernel specific
# * STRING_FRAGMENTS: sometimes used intentionally to improve readability
# * SYMBOLIC_PERMS: recommends using octal permissions over symbolic ones, not followed
# * TRACING_LOGGING: recommends to use kernel's internal ftrace instead of printf("%s()\n", __func__)
@@ -114,6 +115,7 @@
--ignore REPEATED_WORD \
--ignore SPDX_LICENSE_TAG \
--ignore SPLIT_STRING \
+ --ignore SSCANF_TO_KSTRTO \
--ignore STRING_FRAGMENTS \
--ignore SYMBOLIC_PERMS \
--ignore TRACING_LOGGING \
To view, visit change 42516. To unsubscribe, or for help writing mail filters, visit settings.