<div class="gmail_quote">Hello, <br><br><br>I've been doing some little modifications of the code of the intel-gpu-tools package to get the compile warnings fixed. I've divided those changes in little commits.<br><br>
The 0001 patch file fixes these warnings:<br>
intel_disable_clock_gating.c:38: warning: unused variable 'temp'<br>intel_bios_reader.c:192: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'<br>

<br>The next patches corrects almost the same things.<br>The 0002 patch file, fixes these warnings:<br>intel_error_decode.c:374: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>

intel_error_decode.c:380: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br><br>The 0003 patch file fixes these warnings:<br>intel_gpu_dump.c:308: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>

intel_gpu_dump.c:357: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>intel_gpu_dump.c:362: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>

intel_gpu_dump.c:370: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>intel_gpu_dump.c:375: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>

intel_gpu_dump.c:382: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>intel_gpu_dump.c:387: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result<br>

<br>The 0004 patch file fixes this warning:<br>intel_reg_snapshot.c:45: warning: ignoring return value of 'write', declared with attribute warn_unused_result<br><br>The 0005 patch file fixes a lot of warnings on intel_reg_dumper, all of them because of the asprintf fucntion<br>

<br>And finally, the 0006 patch file fixes the overwrite of the result value on that function, and also a couple of asprintf warnings<br><br><br>I hope it can be useful<br><br>--<br>Diego Celix Salgado<br>
</div>