Re: [PATCH i-g-t] include inttypes.h for PRI defines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 09, 2018 at 10:50:53PM -0500, Mike Frysinger wrote:
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96620
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> ---
>  lib/igt_fb.c | 1 +
>  1 file changed, 1 insertion(+)


Files matching "PRI[diuoxX]" but not "inttypes.h":

lib/igt_fb.c
lib/igt_kms.c
lib/intel_os.c
tests/prime_nv_pcopy.c
tools/hsw_compute_wrpll.c
tools/intel_gpu_top.c
tools/intel_opregion_decode.c
tools/intel_residency.c
tools/intel_watermark.c

Looks like they get inttypes.h here via

 igt.h and pals -> intel_chipset.h -> pciaccess.h -> inttypes.h

The mystery is why the other files haven't slapped you with the same
issue. Regardless, same change should be done in all of those. Can you
expand this patch?


-- 
Petri Latvala




> 
> diff --git a/lib/igt_fb.c b/lib/igt_fb.c
> index dcae07dff021..ded639e833f1 100644
> --- a/lib/igt_fb.c
> +++ b/lib/igt_fb.c
> @@ -27,6 +27,7 @@
>  
>  #include <stdio.h>
>  #include <math.h>
> +#include <inttypes.h>
>  
>  #include "drmtest.h"
>  #include "igt_fb.h"
> -- 
> 2.15.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux