summaryrefslogtreecommitdiff
path: root/compilerplugins/README
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-14 11:54:04 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-14 11:55:24 +0200
commit1d5c2d83688be8b61083ba6b8f83a593b30e967e (patch)
tree7a6fb8836fa4ea74b1b8f106b3771c555f470f48 /compilerplugins/README
parentf335028a6ba4c2e2ca302a5fc45bfbc8abab0d8d (diff)
document sallogareas compiler check
Change-Id: I72d25ec9a1acafa2bc451e620d5dc5721d849c42
Diffstat (limited to 'compilerplugins/README')
-rw-r--r--compilerplugins/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/compilerplugins/README b/compilerplugins/README
index 50c7505dd72e..2344efbf0f76 100644
--- a/compilerplugins/README
+++ b/compilerplugins/README
@@ -40,6 +40,14 @@ Warn about the following construct:
Here either both statements should be inside {} or the second statement in indented wrong.
+==== Sal log areas ====
+
+- unknown log area 'foo' (check or extend sal/inc/sal/log-areas.dox) [loplugin]
+
+Check area used in SAL_INFO/SAL_WARN macros against the list in sal/inc/sal/log-areas.dox and
+report if the area is not listed there. The fix is either use a proper area or add it to the list
+if appropriate.
+
== Code documentation / howtos ==