All of lore.kernel.org
 help / color / mirror / Atom feed
* [mmotm:master 188/230] fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
@ 2014-06-20  7:38 kbuild test robot
  2014-06-20 20:29 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2014-06-20  7:38 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Linux Memory Management List, Andrew Morton, Johannes Weiner, kbuild-all

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   df25ba7db0775d87018e2cd92f26b9b087093840
commit: 0b3f61ac78013e35939696ddd63b9b871d11bf72 [188/230] initramfs: support initramfs that is more than 2G
config: make ARCH=x86_64 allmodconfig

All warnings:

   fs/jffs2/compr_zlib.c:97:37: sparse: incompatible types in comparison expression (different type sizes)
   In file included from fs/jffs2/compr_zlib.c:19:0:
   fs/jffs2/compr_zlib.c: In function 'jffs2_zlib_compress':
   include/linux/kernel.h:713:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
     (void) (&_min1 == &_min2);  \
                    ^
   fs/jffs2/compr_zlib.c:97:23: note: in expansion of macro 'min'
      def_strm.avail_in = min((unsigned)(*sourcelen-def_strm.total_in), def_strm.avail_out);
                          ^
   In file included from include/linux/printk.h:257:0,
                    from include/linux/kernel.h:13,
                    from fs/jffs2/compr_zlib.c:19:
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
>> fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
>> fs/jffs2/compr_zlib.c:98:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "calling deflate with avail_in %d, avail_out %d\n",
      ^
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
>> fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
>> fs/jffs2/compr_zlib.c:98:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "calling deflate with avail_in %d, avail_out %d\n",
      ^
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
>> fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
>> fs/jffs2/compr_zlib.c:101:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "deflate returned with avail_in %d, avail_out %d, total_in %ld, total_out %ld\n",
      ^
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
>> fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
>> fs/jffs2/compr_zlib.c:101:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "deflate returned with avail_in %d, avail_out %d, total_in %ld, total_out %ld\n",
      ^

sparse warnings: (new ones prefixed by >>)

>> fs/jffs2/compr_zlib.c:97:37: sparse: incompatible types in comparison expression (different type sizes)
   In file included from fs/jffs2/compr_zlib.c:19:0:
   fs/jffs2/compr_zlib.c: In function 'jffs2_zlib_compress':
   include/linux/kernel.h:713:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
     (void) (&_min1 == &_min2);  \
                    ^
   fs/jffs2/compr_zlib.c:97:23: note: in expansion of macro 'min'
      def_strm.avail_in = min((unsigned)(*sourcelen-def_strm.total_in), def_strm.avail_out);
                          ^
   In file included from include/linux/printk.h:257:0,
                    from include/linux/kernel.h:13,
                    from fs/jffs2/compr_zlib.c:19:
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
   fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
   fs/jffs2/compr_zlib.c:98:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "calling deflate with avail_in %d, avail_out %d\n",
      ^
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
   fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
   fs/jffs2/compr_zlib.c:98:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "calling deflate with avail_in %d, avail_out %d\n",
      ^
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
   fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
   fs/jffs2/compr_zlib.c:101:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "deflate returned with avail_in %d, avail_out %d, total_in %ld, total_out %ld\n",
      ^
   include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uLong' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
   fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
      pr_debug(fmt, ##__VA_ARGS__); \
      ^
   fs/jffs2/compr_zlib.c:101:3: note: in expansion of macro 'jffs2_dbg'
      jffs2_dbg(1, "deflate returned with avail_in %d, avail_out %d, total_in %ld, total_out %ld\n",
      ^

vim +/pr_debug +69 fs/jffs2/debug.h

e0c8e42f Artem B. Bityutskiy 2005-07-24  53  #if CONFIG_JFFS2_FS_DEBUG > 0
9c261b33 Joe Perches         2012-02-15  54  #define DEBUG
730554d9 Artem B. Bityutskiy 2005-07-17  55  #define D1(x) x
730554d9 Artem B. Bityutskiy 2005-07-17  56  #else
730554d9 Artem B. Bityutskiy 2005-07-17  57  #define D1(x)
730554d9 Artem B. Bityutskiy 2005-07-17  58  #endif
730554d9 Artem B. Bityutskiy 2005-07-17  59  
730554d9 Artem B. Bityutskiy 2005-07-17  60  #if CONFIG_JFFS2_FS_DEBUG > 1
730554d9 Artem B. Bityutskiy 2005-07-17  61  #define D2(x) x
730554d9 Artem B. Bityutskiy 2005-07-17  62  #else
730554d9 Artem B. Bityutskiy 2005-07-17  63  #define D2(x)
730554d9 Artem B. Bityutskiy 2005-07-17  64  #endif
730554d9 Artem B. Bityutskiy 2005-07-17  65  
9c261b33 Joe Perches         2012-02-15  66  #define jffs2_dbg(level, fmt, ...)		\
9c261b33 Joe Perches         2012-02-15  67  do {						\
9c261b33 Joe Perches         2012-02-15  68  	if (CONFIG_JFFS2_FS_DEBUG >= level)	\
9c261b33 Joe Perches         2012-02-15 @69  		pr_debug(fmt, ##__VA_ARGS__);	\
9c261b33 Joe Perches         2012-02-15  70  } while (0)
9c261b33 Joe Perches         2012-02-15  71  
e0c8e42f Artem B. Bityutskiy 2005-07-24  72  /* The prefixes of JFFS2 messages */
9bbf29e4 Joe Perches         2012-02-15  73  #define JFFS2_DBG		KERN_DEBUG
81e39cf0 Artem B. Bityutskiy 2005-09-14  74  #define JFFS2_DBG_PREFIX	"[JFFS2 DBG]"
81e39cf0 Artem B. Bityutskiy 2005-09-14  75  #define JFFS2_DBG_MSG_PREFIX	JFFS2_DBG JFFS2_DBG_PREFIX
730554d9 Artem B. Bityutskiy 2005-07-17  76  
e0c8e42f Artem B. Bityutskiy 2005-07-24  77  /* JFFS2 message macros */

:::::: The code at line 69 was first introduced by commit
:::::: 9c261b33a9c417ccaf07f41796be278d09d02d49 jffs2: Convert most D1/D2 macros to jffs2_dbg

:::::: TO: Joe Perches <joe@perches.com>
:::::: CC: David Woodhouse <David.Woodhouse@intel.com>

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

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

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

* Re: [mmotm:master 188/230] fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
  2014-06-20  7:38 [mmotm:master 188/230] fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug' kbuild test robot
@ 2014-06-20 20:29 ` Andrew Morton
  2014-06-20 21:19   ` Yinghai Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2014-06-20 20:29 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Yinghai Lu, Linux Memory Management List, Johannes Weiner, kbuild-all

On Fri, 20 Jun 2014 15:38:30 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:

> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   df25ba7db0775d87018e2cd92f26b9b087093840
> commit: 0b3f61ac78013e35939696ddd63b9b871d11bf72 [188/230] initramfs: support initramfs that is more than 2G
> config: make ARCH=x86_64 allmodconfig
> 
> All warnings:

Too many :(  I dropped the patch.

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

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

* Re: [mmotm:master 188/230] fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
  2014-06-20 20:29 ` Andrew Morton
@ 2014-06-20 21:19   ` Yinghai Lu
  2014-06-21 18:40     ` Fengguang Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Yinghai Lu @ 2014-06-20 21:19 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild test robot, Linux Memory Management List, Johannes Weiner,
	kbuild-all

On Fri, Jun 20, 2014 at 1:29 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Fri, 20 Jun 2014 15:38:30 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:
>
>> tree:   git://git.cmpxchg.org/linux-mmotm.git master
>> head:   df25ba7db0775d87018e2cd92f26b9b087093840
>> commit: 0b3f61ac78013e35939696ddd63b9b871d11bf72 [188/230] initramfs: support initramfs that is more than 2G
>> config: make ARCH=x86_64 allmodconfig
>>
>> All warnings:
>
> Too many :(  I dropped the patch.

Will put my git tree in kernel.org, let's check if test robot can find
more warning.

Hi Fenguang,

Is rest robot going to sweep all new added branches in kernel.org git?

Thanks

Yinghai

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

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

* Re: [mmotm:master 188/230] fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug'
  2014-06-20 21:19   ` Yinghai Lu
@ 2014-06-21 18:40     ` Fengguang Wu
  0 siblings, 0 replies; 4+ messages in thread
From: Fengguang Wu @ 2014-06-21 18:40 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Andrew Morton, Linux Memory Management List, Johannes Weiner, kbuild-all

Hi Yinghai,

> Hi Fenguang,
> 
> Is rest robot going to sweep all new added branches in kernel.org git?

I need to manually add git tree URLs to the test pool. After that, the
robot will auto sweep all new added branches in the monitored git trees.

Your tree is already in the test pool:

git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git

Thanks,
Fengguang

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

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

end of thread, other threads:[~2014-06-22  2:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-20  7:38 [mmotm:master 188/230] fs/jffs2/debug.h:69:3: note: in expansion of macro 'pr_debug' kbuild test robot
2014-06-20 20:29 ` Andrew Morton
2014-06-20 21:19   ` Yinghai Lu
2014-06-21 18:40     ` Fengguang Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.