[Intel-gfx] [PATCH i-g-t 1/2] tests/kms_frontbuffer_tracking: Fix build warning

Tvrtko Ursulin tursulin at ursulin.net
Wed Feb 28 10:07:59 UTC 2018


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Mark drrs_set as static to avoid a build warning.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 tests/kms_frontbuffer_tracking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1483c228044e..43384801e2b5 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -830,7 +830,7 @@ static void psr_print_status(void)
 	igt_info("PSR status:\n%s\n", buf);
 }
 
-void drrs_set(unsigned int val)
+static void drrs_set(unsigned int val)
 {
 	char buf[2];
 	int ret;
-- 
2.14.1



More information about the Intel-gfx mailing list