diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-05-05 16:20:05 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-05-07 14:58:19 -0300 |
commit | 8d3023c15bcc9890ab7b89fa8ae4564a295078c2 (patch) | |
tree | eb09f617d372c8286b1cc06c13aa551011c2b0f4 /lib/igt_draw.h | |
parent | 159562c8251d3bd27d338ea7ac6a2936becd05c2 (diff) |
tests/kms_fbc_crc: fix debugfs read
Commit 47f6b1305cc3752f318a555b932e194e1500c1d8 completely broke this
test due to the fread() assertion. When we're reading the debugfs file
we really don't care about how many bytes we read because the number
is not constant and we just use strstr() later. Change the assertion
to make it check for at least 1 byte read, just to make sure no one
changes that again.
Regression introduced by:
commit 47f6b1305cc3752f318a555b932e194e1500c1d8
Author: Thomas Wood <thomas.wood@intel.com>
Date: Wed Mar 25 16:42:57 2015 +0000
igt.cocci: check the return values of various functions
Cc: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'lib/igt_draw.h')
0 files changed, 0 insertions, 0 deletions