Skip to content
  • Chris Wilson's avatar
    lib: Squelch a pair of ignore result warnings · f6eba0b5
    Chris Wilson authored
    
    
    igt_debugfs.c: In function 'igt_drop_caches_has':
    igt_debugfs.c:890:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
       fscanf(file, "0x%" PRIx64, &mask);
             ^
      CC       igt_aux.lo
      CC       igt_gt.lo
    igt_gt.c: In function 'igt_force_gpu_reset':
    igt_gt.c:382:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
      fscanf(file, "%d", &wedged);
    
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    f6eba0b5