summaryrefslogtreecommitdiff
path: root/tests/pm_rpm.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-11-02 10:02:08 +0000
committerThomas Wood <thomas.wood@intel.com>2015-11-11 14:20:55 +0000
commit36b8143c224b47f743d8881514bb348b9ee1d102 (patch)
tree40ec1c934e6dbbaaec0f417bfb44762ac844570e /tests/pm_rpm.c
parent3bc3ab27eac6eace4c90c8da92b4e7570110263b (diff)
Add missing noreturn attribute to various functions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/pm_rpm.c')
-rw-r--r--tests/pm_rpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pm_rpm.c b/tests/pm_rpm.c
index d43cc067..c4fb19ce 100644
--- a/tests/pm_rpm.c
+++ b/tests/pm_rpm.c
@@ -1386,7 +1386,7 @@ static void pci_d3_state_subtest(void)
igt_assert(!device_in_pci_d3());
}
-static void stay_subtest(void)
+static void __attribute__((noreturn)) stay_subtest(void)
{
disable_all_screens_and_wait(&ms_data);