]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
Use corretct format specifier
authorJoe Korty <joe.korty@ccur.com>
Wed, 25 May 2016 07:38:03 +0000 (13:08 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 5 Jul 2016 13:04:04 +0000 (06:04 -0700)
commit7b09236de9cabdac2854f1448547cf44d371b2e4
treed3a55fb08d3f71f8753da1de03257e0c737406a5
parent5412791561df9ae4c2a79c96a41d543ea0b4b1f3
Use corretct format specifier

cur_state is of size long, not int,
so use %ld rather than %d to print it.

drivers/thermal/adaptive_skin.c:695:11: warning:
format '%d' expects argument of type 'int',
but argument 3 has type 'long unsigned int' [-Wformat=]

Bug 200187768

Change-Id: Ie3035384ae0c0e3358ae8ac0a7f402dcdbb202b5
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Signed-off-by: Gaurav Singh <gaursingh@nvidia.com>
Reviewed-on: http://git-master/r/1163916
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
drivers/thermal/adaptive_skin.c