mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
lib/igt_debugfs: Remove debugfs from igt_debugfs_fopen
Also add a missing igt_assert to kms_fbc_crc and again add the missing Returns: section to the api doc. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -43,7 +43,7 @@ static void test_bad_command(data_t *data, const char *cmd)
|
||||
FILE *ctl;
|
||||
size_t written;
|
||||
|
||||
ctl = igt_debugfs_fopen(&data->debugfs, "i915_display_crc_ctl", "r+");
|
||||
ctl = igt_debugfs_fopen("i915_display_crc_ctl", "r+");
|
||||
written = fwrite(cmd, 1, strlen(cmd), ctl);
|
||||
fflush(ctl);
|
||||
igt_assert_cmpint(written, ==, (strlen(cmd)));
|
||||
|
||||
Reference in New Issue
Block a user