From b000ed105979f7bccf4e6eed741fc454251e685c Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 21 Oct 2013 13:12:34 +0300 Subject: 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 Reviewed-on: http://git-master/r/301743 Reviewed-by: Arto Merilainen --- include/trace/events/nvhost.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/trace') 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, -- cgit v1.2.3