thermal: fix warning in add thermal events tracing
Diwakar Tundlam [Thu, 11 Apr 2013 21:32:40 +0000 (14:32 -0700)]
Bug 1050412

Change-Id: I1080767ac2711f52aad82e09c0af5a27cf972425
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/218664
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>

include/trace/events/thermal.h

index 1a01f7c..43a1921 100644 (file)
@@ -59,7 +59,7 @@ TRACE_EVENT(cooling_device_update,
                           __entry->target = target;
                           ),
 
-           TP_printk("%s -> %d", __entry->type, __entry->target)
+           TP_printk("%s -> %ld", __entry->type, __entry->target)
            );