linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Vitaly Wool <vitalywool@gmail.com>
Cc: kbuild-all@01.org, Linux-MM <linux-mm@kvack.org>,
	linux-kernel@vger.kernel.org, Dan Streetman <ddstreet@ieee.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] z3fold: don't fail kernel build if z3fold_header is too big
Date: Thu, 10 Nov 2016 17:05:00 +0800	[thread overview]
Message-ID: <201611101733.VJi71YHH%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161110085458.53273e9b1c3e0f09bb0e9655@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1998 bytes --]

Hi Vitaly,

[auto build test WARNING on mmotm/master]
[also build test WARNING on v4.9-rc4 next-20161110]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Vitaly-Wool/z3fold-don-t-fail-kernel-build-if-z3fold_header-is-too-big/20161110-161657
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   mm/z3fold.c: In function 'init_z3fold':
>> mm/z3fold.c:817:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]

vim +817 mm/z3fold.c

   801		.create =	z3fold_zpool_create,
   802		.destroy =	z3fold_zpool_destroy,
   803		.malloc =	z3fold_zpool_malloc,
   804		.free =		z3fold_zpool_free,
   805		.shrink =	z3fold_zpool_shrink,
   806		.map =		z3fold_zpool_map,
   807		.unmap =	z3fold_zpool_unmap,
   808		.total_size =	z3fold_zpool_total_size,
   809	};
   810	
   811	MODULE_ALIAS("zpool-z3fold");
   812	
   813	static int __init init_z3fold(void)
   814	{
   815		/* Fail the initialization if z3fold header won't fit in one chunk */
   816		if (sizeof(struct z3fold_header) > ZHDR_SIZE_ALIGNED) {
 > 817			pr_err("z3fold: z3fold_header size (%d) is bigger than "
   818				"the chunk size (%d), can't proceed\n",
   819				sizeof(struct z3fold_header) , ZHDR_SIZE_ALIGNED);
   820			return -E2BIG;
   821		}
   822	
   823		zpool_register_driver(&z3fold_zpool_driver);
   824		return 0;
   825	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 46697 bytes --]

      parent reply	other threads:[~2016-11-10  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-10  7:54 Vitaly Wool
2016-11-10  9:04 ` kbuild test robot
2016-11-10  9:05 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201611101733.VJi71YHH%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=ddstreet@ieee.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=vitalywool@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox