[memcg:since-3.6 493/499] include/trace/events/filemap.h:14:1: sparse: incompatible types for operation (<)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-3.6
head:   422a0f651b5cefa1b6b3ede2e1c9e540a24a6e01
commit: 07b81da5f80b27543ddbe3164170c64e0941a812 [493/499] mm: trace filemap add and del


sparse warnings:

+ include/trace/events/filemap.h:14:1: sparse: incompatible types for operation (<)
include/trace/events/filemap.h:14:1:    left side has type struct page *<noident>
include/trace/events/filemap.h:14:1:    right side has type int
include/trace/events/filemap.h:45:1: sparse: incompatible types for operation (<)
include/trace/events/filemap.h:45:1:    left side has type struct page *<noident>
include/trace/events/filemap.h:45:1:    right side has type int
include/linux/radix-tree.h:152:16: sparse: incompatible types in comparison expression (different address spaces)
include/linux/radix-tree.h:152:16: sparse: incompatible types in comparison expression (different address spaces)
include/linux/radix-tree.h:152:16: sparse: incompatible types in comparison expression (different address spaces)
include/linux/radix-tree.h:152:16: sparse: incompatible types in comparison expression (different address spaces)

vim +14 include/trace/events/filemap.h

07b81da5 Robert Jarzmik 2012-11-29   1  #undef TRACE_SYSTEM
07b81da5 Robert Jarzmik 2012-11-29   2  #define TRACE_SYSTEM filemap
07b81da5 Robert Jarzmik 2012-11-29   3  
07b81da5 Robert Jarzmik 2012-11-29   4  #if !defined(_TRACE_FILEMAP_H) || defined(TRACE_HEADER_MULTI_READ)
07b81da5 Robert Jarzmik 2012-11-29   5  #define _TRACE_FILEMAP_H
07b81da5 Robert Jarzmik 2012-11-29   6  
07b81da5 Robert Jarzmik 2012-11-29   7  #include <linux/types.h>
07b81da5 Robert Jarzmik 2012-11-29   8  #include <linux/tracepoint.h>
07b81da5 Robert Jarzmik 2012-11-29   9  #include <linux/mm.h>
07b81da5 Robert Jarzmik 2012-11-29  10  #include <linux/memcontrol.h>
07b81da5 Robert Jarzmik 2012-11-29  11  #include <linux/device.h>
07b81da5 Robert Jarzmik 2012-11-29  12  #include <linux/kdev_t.h>
07b81da5 Robert Jarzmik 2012-11-29  13  
07b81da5 Robert Jarzmik 2012-11-29 @14  TRACE_EVENT(mm_filemap_delete_from_page_cache,
07b81da5 Robert Jarzmik 2012-11-29  15  
07b81da5 Robert Jarzmik 2012-11-29  16  	TP_PROTO(struct page *page),
07b81da5 Robert Jarzmik 2012-11-29  17  
07b81da5 Robert Jarzmik 2012-11-29  18  	TP_ARGS(page),
07b81da5 Robert Jarzmik 2012-11-29  19  
07b81da5 Robert Jarzmik 2012-11-29  20  	TP_STRUCT__entry(
07b81da5 Robert Jarzmik 2012-11-29  21  		__field(struct page *, page)
07b81da5 Robert Jarzmik 2012-11-29  22  		__field(unsigned long, i_ino)

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]