diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-10-21 13:12:34 +0300 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-10-21 05:55:51 -0700 |
commit | b000ed105979f7bccf4e6eed741fc454251e685c (patch) | |
tree | d56a72bff71277dee148e95bd2d8e00b26573cfc /include/trace | |
parent | a6af3e805a0d4241c6539b5e85f9c52be3b279b7 (diff) |
video: tegra: host: Fix compile warnings
Some "unsigned long"s were converted to u32. for_each_set_bit()
requires unsigned long, so convert some instanced back.
Fix how include files are included.
Forward declare nvhost_set_error_notifier.
Fix parameter to nvhost_memmgr_put() to be handle and not id.
Fix tracing to use %llx and casting to u64 to print dma_addr_t.
Change-Id: I8ab3c3f2012c2efdb519b17027dbaf20715e81f2
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/301743
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/nvhost.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/trace/events/nvhost.h b/include/trace/events/nvhost.h index b9b58216bcb5..da164d626ce6 100644 --- a/include/trace/events/nvhost.h +++ b/include/trace/events/nvhost.h @@ -1,9 +1,7 @@ /* - * include/trace/events/nvhost.h - * * Nvhost event logging to ftrace. * - * Copyright (c) 2010-2013, NVIDIA Corporation. + * Copyright (c) 2010-2013, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -920,9 +918,9 @@ DECLARE_EVENT_CLASS(nvhost_map, __entry->iova = iova; ), - TP_printk("dev=%s, handle=%p, size=%d, iova=%08x", + TP_printk("dev=%s, handle=%p, size=%d, iova=%08llx", __entry->devname, __entry->handle, __entry->size, - __entry->iova) + (u64)__entry->iova) ); DEFINE_EVENT(nvhost_map, nvhost_nvmap_pin, |