diff options
Diffstat (limited to 'tests/i915')
-rw-r--r-- | tests/i915/i915_pm_rpm.c | 2 | ||||
-rw-r--r-- | tests/i915/i915_pm_rps.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c index 759c76ea..03de609c 100644 --- a/tests/i915/i915_pm_rpm.c +++ b/tests/i915/i915_pm_rpm.c @@ -962,7 +962,7 @@ static void sysfs_read_subtest(void) { char path[80]; - igt_require_f(igt_sysfs_path(drm_fd, path, sizeof(path), NULL), + igt_require_f(igt_sysfs_path(drm_fd, path, sizeof(path)), "Can't find the sysfs directory\n"); walk_fs(path); } diff --git a/tests/i915/i915_pm_rps.c b/tests/i915/i915_pm_rps.c index ed146045..91f46f10 100644 --- a/tests/i915/i915_pm_rps.c +++ b/tests/i915/i915_pm_rps.c @@ -638,7 +638,7 @@ igt_main igt_require_gem(drm_fd); igt_require(gem_can_store_dword(drm_fd, 0)); igt_assert(igt_sysfs_path(drm_fd, sysfs_path, - sizeof(sysfs_path), NULL)); + sizeof(sysfs_path))); do { int val = -1; |