From 1d5c2d83688be8b61083ba6b8f83a593b30e967e Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 14 Oct 2012 11:54:04 +0200 Subject: document sallogareas compiler check Change-Id: I72d25ec9a1acafa2bc451e620d5dc5721d849c42 --- compilerplugins/README | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'compilerplugins/README') 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 == -- cgit