[PATCH] drm/i915: remove h from printk format specifier

Tom Rix trix at redhat.com
Tue Dec 15 19:00:06 UTC 2020


On 12/15/20 10:13 AM, Chris Wilson wrote:
> Quoting trix at redhat.com (2020-12-15 14:41:01)
>> From: Tom Rix <trix at redhat.com>
>>
>> See Documentation/core-api/printk-formats.rst.
>> h should no longer be used in the format specifier for printk.
> It's understood by format_decode().
> * 'h', 'l', or 'L' for integer fields
>
> At least reference commit cbacb5ab0aa0 ("docs: printk-formats: Stop
> encouraging use of unnecessary %h[xudi] and %hh[xudi]") as to why the
> printk-formats.rst was altered so we know the code is merely in bad
> taste and not using undefined behaviour of printk.

Ok, i will fix this after the first run of patches.

Tom

> -Chris
>



More information about the dri-devel mailing list