Thread (1 message) 1 message, 1 author, 2020-01-10

Re: [PATCH] iwlwifi: fix build warnings with format string

From: Kalle Valo <hidden>
Date: 2020-01-10 13:16:28
Also in: linux-next, lkml

(please cc linux-wireless on all wireless patches)

Akinobu Mita [off-list ref] writes:
This fixes build warnings introduced by commit "iwlegacy: use
<linux/units.h> helpers" (iwlegacy-use-linux-unitsh-helpers.patch in -mm)

The format '%d' has to be changed to '%ld' because the return type of
kelvin_to_celsius() is 'long'.

Reported-by: Stephen Rothwell <redacted>
Link: https://lore.kernel.org/r/20200106171452.201c3b4c@canb.auug.org.au (local)
Cc: Kalle Valo <redacted>
Cc: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
I don't know what's Andrew's workflow, but shouldn't the original patch
be fixed instead?

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help