linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Oops]RFC:include/trace/events/btrfs.h
@ 2011-06-05  3:41 Harry Wei
  2011-06-06 20:47 ` [Oops]RFC:include/trace/events/btrfs.h Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Harry Wei @ 2011-06-05  3:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg, akpm

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 6136 bytes --]

From: Harry Wei <harryxiyou@gmail.com>

When i compile 2.6.39.1, it shows something wrong
like below. When i open the file include/trace/events/btrfs.h
i don't know how to fix these oops. They just give the entry
of the function. So i can't get the exact line of the warnings.
Can anyone give me some suggestions?

Thanks in advance.
Harry Wei

In file included from include/trace/ftrace.h:283,
                    from include/trace/define_trace.h:96,
		                     from include/trace/events/btrfs.h:667,
				                      from fs/btrfs/super.c:56:
include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_transaction_commit���:
include/trace/events/btrfs.h:47: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:47: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:47: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__inode���:
include/trace/events/btrfs.h:68: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:68: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:68: warning: large integer implicitly truncated to unsigned type
   include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_get_extent���:
   include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
  include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
  include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__ordered_extent���:
  include/trace/events/btrfs.h:197: warning: large integer implicitly truncated to unsigned type
  include/trace/events/btrfs.h:197: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:197: warning: large integer implicitly truncated to unsigned type
  include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__writepage���:
 include/trace/events/btrfs.h:273: warning: large integer implicitly truncated to unsigned type
nclude/trace/events/btrfs.h:273: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:273: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_writepage_end_io_hook���:
clude/trace/events/btrfs.h:332: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:332: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:332: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_sync_file���:
nclude/trace/events/btrfs.h:365: warning: large integer implicitly truncated to unsigned type
nclude/trace/events/btrfs.h:365: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:365: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_delayed_tree_ref���:
nclude/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
nclude/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
clude/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
 include/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_delayed_data_ref���:
include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__chunk���:
include/trace/events/btrfs.h:541: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:541: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:541: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_cow_block���:
include/trace/events/btrfs.h:591: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:591: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:591: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__reserved_extent���:
include/trace/events/btrfs.h:626: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:626: warning: large integer implicitly truncated to unsigned type
include/trace/events/btrfs.h:626: warning: large integer implicitly truncated to unsigned type


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Oops]RFC:include/trace/events/btrfs.h
  2011-06-05  3:41 [Oops]RFC:include/trace/events/btrfs.h Harry Wei
@ 2011-06-06 20:47 ` Randy Dunlap
  2011-06-07  1:03   ` [Oops]RFC:include/trace/events/btrfs.h Harry Wei
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2011-06-06 20:47 UTC (permalink / raw)
  To: Harry Wei; +Cc: linux-kernel, greg, akpm

On Sun, 5 Jun 2011 11:41:14 +0800 Harry Wei wrote:

> From: Harry Wei <harryxiyou@gmail.com>
> 
> When i compile 2.6.39.1, it shows something wrong
> like below. When i open the file include/trace/events/btrfs.h
> i don't know how to fix these oops. They just give the entry
> of the function. So i can't get the exact line of the warnings.
> Can anyone give me some suggestions?

Yeah, those line numbers (below) don't help very much.

There is a patch pending to fix these warnings.  It's from
liubo <liubo2009@cn.fujitsu.com>, posted on 2011-APR-19,
subject: [PATCH 1/2] tracing: add __print_symbolic_u64 to avoid warnings on 32bit machine


> Thanks in advance.
> Harry Wei
> 
> In file included from include/trace/ftrace.h:283,
>                     from include/trace/define_trace.h:96,
> 		                     from include/trace/events/btrfs.h:667,
> 				                      from fs/btrfs/super.c:56:
> include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_transaction_commit���:
> include/trace/events/btrfs.h:47: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:47: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:47: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__inode���:
> include/trace/events/btrfs.h:68: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:68: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:68: warning: large integer implicitly truncated to unsigned type
>    include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_get_extent���:
>    include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
>   include/trace/events/btrfs.h:144: warning: large integer implicitly truncated to unsigned type
>   include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__ordered_extent���:
>   include/trace/events/btrfs.h:197: warning: large integer implicitly truncated to unsigned type
>   include/trace/events/btrfs.h:197: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:197: warning: large integer implicitly truncated to unsigned type
>   include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__writepage���:
>  include/trace/events/btrfs.h:273: warning: large integer implicitly truncated to unsigned type
> nclude/trace/events/btrfs.h:273: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:273: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_writepage_end_io_hook���:
> clude/trace/events/btrfs.h:332: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:332: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:332: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_sync_file���:
> nclude/trace/events/btrfs.h:365: warning: large integer implicitly truncated to unsigned type
> nclude/trace/events/btrfs.h:365: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:365: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_delayed_tree_ref���:
> nclude/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
> nclude/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
> clude/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
>  include/trace/events/btrfs.h:420: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_delayed_data_ref���:
> include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:459: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__chunk���:
> include/trace/events/btrfs.h:541: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:541: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:541: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs_cow_block���:
> include/trace/events/btrfs.h:591: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:591: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:591: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h: In function ���ftrace_raw_output_btrfs__reserved_extent���:
> include/trace/events/btrfs.h:626: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:626: warning: large integer implicitly truncated to unsigned type
> include/trace/events/btrfs.h:626: warning: large integer implicitly truncated to unsigned type


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Oops]RFC:include/trace/events/btrfs.h
  2011-06-06 20:47 ` [Oops]RFC:include/trace/events/btrfs.h Randy Dunlap
@ 2011-06-07  1:03   ` Harry Wei
  0 siblings, 0 replies; 3+ messages in thread
From: Harry Wei @ 2011-06-07  1:03 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel

On Mon, Jun 06, 2011 at 01:47:19PM -0700, Randy Dunlap wrote:
> On Sun, 5 Jun 2011 11:41:14 +0800 Harry Wei wrote:
> 
> > From: Harry Wei <harryxiyou@gmail.com>
> > 
> > When i compile 2.6.39.1, it shows something wrong
> > like below. When i open the file include/trace/events/btrfs.h
> > i don't know how to fix these oops. They just give the entry
> > of the function. So i can't get the exact line of the warnings.
> > Can anyone give me some suggestions?
> 
> Yeah, those line numbers (below) don't help very much.
> 
> There is a patch pending to fix these warnings.  It's from
> liubo <liubo2009@cn.fujitsu.com>, posted on 2011-APR-19,
> subject: [PATCH 1/2] tracing: add __print_symbolic_u64 to avoid warnings on 32bit machine
>
Yup, it is well for me.

Thanks.
Harry Wei.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-07  1:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05  3:41 [Oops]RFC:include/trace/events/btrfs.h Harry Wei
2011-06-06 20:47 ` [Oops]RFC:include/trace/events/btrfs.h Randy Dunlap
2011-06-07  1:03   ` [Oops]RFC:include/trace/events/btrfs.h Harry Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).