Commit 60ac2e9f authored by Homin Lee's avatar Homin Lee Committed by Greg Kroah-Hartman

Staging: csr: csr_log_configure.h: clean up tab mess

Signed-off-by: default avatarHomin Lee <homin.lee@suapapa.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36dab6e5
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
Refer to LICENSE.txt included with this source for details Refer to LICENSE.txt included with this source for details
on the license terms. on the license terms.
*****************************************************************************/ *****************************************************************************/
#include "csr_log.h" #include "csr_log.h"
...@@ -37,7 +37,7 @@ void CsrLogLevelTaskSetAll(CsrLogLevelTask tasksLogLevelMask); ...@@ -37,7 +37,7 @@ void CsrLogLevelTaskSetAll(CsrLogLevelTask tasksLogLevelMask);
/* Set the logging level for a given Task */ /* Set the logging level for a given Task */
/* This function can be used as a complement to CsrLogLevelTaskSetAll() to add more _or_ less log from a given task than what is set /* This function can be used as a complement to CsrLogLevelTaskSetAll() to add more _or_ less log from a given task than what is set
generally with CsrLogLevelTaskSetAll(). */ generally with CsrLogLevelTaskSetAll(). */
void CsrLogLevelTaskSetSpecific(CsrSchedQid taskId, CsrLogLevelTask taskLogLevelMask); void CsrLogLevelTaskSetSpecific(CsrSchedQid taskId, CsrLogLevelTask taskLogLevelMask);
...@@ -98,31 +98,31 @@ void CsrLogLevelTextSetTaskSubOrigin(CsrLogTextTaskId taskId, u16 subOrigin, Csr ...@@ -98,31 +98,31 @@ void CsrLogLevelTextSetTaskSubOrigin(CsrLogTextTaskId taskId, u16 subOrigin, Csr
previous filter configurations for all sub origins of the specified previous filter configurations for all sub origins of the specified
origin. origin.
Note: the supplied strings may be accessed after the function returns Note: the supplied strings may be accessed after the function returns
and must remain valid and constant until CsrLogDeinit is called. and must remain valid and constant until CsrLogDeinit is called.
Note: when specifying an origin (originName is not NULL and not zero Note: when specifying an origin (originName is not NULL and not zero
length), this function can only be used for origins that use the length), this function can only be used for origins that use the
csr_log_text_2.h interface for registration and logging. Filtering for csr_log_text_2.h interface for registration and logging. Filtering for
origins that use the legacy csr_log_text.h interface must be be origins that use the legacy csr_log_text.h interface must be be
configured using the legacy filter configuration functions that accept configured using the legacy filter configuration functions that accept
a CsrLogTextTaskId as origin specifier. However, when not specifying an a CsrLogTextTaskId as origin specifier. However, when not specifying an
origin this function also affects origins that have been registered with origin this function also affects origins that have been registered with
the legacy csr_log_text.h interface. Furthermore, using this function the legacy csr_log_text.h interface. Furthermore, using this function
and the legacy filter configuration functions on the same origin is not and the legacy filter configuration functions on the same origin is not
allowed. allowed.
PARAMETERS PARAMETERS
originName - a string containing the name of the origin. Can be NULL or originName - a string containing the name of the origin. Can be NULL or
zero length to set the log level for all origins. In this case, the zero length to set the log level for all origins. In this case, the
subOriginName parameter will be ignored. subOriginName parameter will be ignored.
subOriginName - a string containing the name of the sub origin. Can be subOriginName - a string containing the name of the sub origin. Can be
NULL or zero length to set the log level for all sub origins of the NULL or zero length to set the log level for all sub origins of the
specified origin. specified origin.
warningLevelMask - The desired log level for the specified origin(s) and warningLevelMask - The desired log level for the specified origin(s) and
sub origin(s). sub origin(s).
*******************************************************************************/ *******************************************************************************/
void CsrLogLevelTextSet(const char *originName, void CsrLogLevelTextSet(const char *originName,
const char *subOriginName, const char *subOriginName,
CsrLogLevelText warningLevelMask); CsrLogLevelText warningLevelMask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment