[PATCH i-g-t 07/11] lib: Update igt_core docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just missing comment for igt_log_level.

Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
---
 lib/igt_core.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/lib/igt_core.h b/lib/igt_core.h
index 64d823f6bf48..433b88c9757c 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -720,7 +720,16 @@ void igt_skip_on_simulation(void);
 
 extern const char *igt_interactive_debug;
 
-/* structured logging */
+/**
+ * igt_log_level:
+ * @IGT_LOG_DEBUG: debug information, not printed by default
+ * @IGT_LOG_INFO: informational message, printed by default
+ * @IGT_LOG_WARN: non-fatal warnings which should be treated as test failures
+ * @IGT_LOG_CRITICAL: critical errors which lead to immediate termination of tests
+ * @IGT_LOG_NONE: unused
+ *
+ * Log levels used by functions like igt_log().
+ */
 enum igt_log_level {
 	IGT_LOG_DEBUG,
 	IGT_LOG_INFO,
-- 
2.8.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux