Re: powerpc/prom: Fix %u/%llx usage since prom_printf() change

2018-06-01 Thread Michael Ellerman
On Tue, 2018-05-29 at 19:20:01 UTC, Mathieu Malaterre wrote: > In commit eae5f709a4d7 ("powerpc: Add __printf verification to > prom_printf") __printf attribute was added to prom_printf(), which > means GCC started warning about type/format mismatches. As part of that > commit we changed some

[PATCH] powerpc/prom: Fix %u/%llx usage since prom_printf() change

2018-05-29 Thread Mathieu Malaterre
In commit eae5f709a4d7 ("powerpc: Add __printf verification to prom_printf") __printf attribute was added to prom_printf(), which means GCC started warning about type/format mismatches. As part of that commit we changed some "%lx" formats to "%llx" where the type is actually unsigned long long.