linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Yury Norov <ynorov@caviumnetworks.com>
Cc: kbuild-all@01.org, Arnd Bergmann <arnd@arndb.de>,
	"Dr. Philipp Tomsich" <philipp.tomsich@theobroma-systems.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	libc-alpha@sourceware.org, linux-arch@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	szabolcs.nagy@arm.com, heiko.carstens@de.ibm.com,
	cmetcalf@ezchip.com, "Joseph S. Myers" <joseph@codesourcery.com>,
	zhouchengming1@huawei.com, "Kapoor,
	Prasun" <Prasun.Kapoor@caviumnetworks.com>,
	Alexander Graf <agraf@suse.de>,
	geert@linux-m68k.org, kilobyte@angband.pl,
	manuel.montezelo@gmail.com, Andrew Pinski <pinskia@gmail.com>,
	linyongting@huawei.com, Alexey Klimov <klimov.linux@gmail.com>,
	broonie@kernel.org,
	"Zhangjian (Bamvor)" <bamvor.zhangjian@huawei.com>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>,
	Nathan Lynch <Nathan_Lynch@mentor.com>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	davem@davemloft.net, christoph.muellner@theobroma-systems.com
Subject: Re: [PATCH 3/3] mm: make pagoff_t type 64-bit
Date: Sun, 11 Dec 2016 21:41:01 +0800	[thread overview]
Message-ID: <201612112100.I0lSZeL5%fengguang.wu@intel.com> (raw)
Message-ID: <20161211134101.qpd5bOx7ax2ueuL-tVj56xG6zUN7FiO0GunCqsvBYPE@z> (raw)
In-Reply-To: <1481461003-14361-4-git-send-email-ynorov@caviumnetworks.com>

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

Hi Yury,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.9-rc8]
[cannot apply to mmotm/master next-20161209]
[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/Yury-Norov/mm-move-argument-checkers-of-mmap_pgoff-to-separated-routine/20161211-211314
config: i386-randconfig-x003-201650 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   fs/ext2/dir.c: In function 'ext2_check_page':
>> fs/ext2/dir.c:177:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
      ext2_error(sb, __func__, "bad entry in directory #%llu: : %s - "
                                                           ^
>> fs/ext2/dir.c:177:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=]
      ext2_error(sb, __func__, "bad entry in directory #%llu: : %s - "
                               ^
   fs/ext2/dir.c:187:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
       "entry in directory #%llu spans the page boundary"
                               ^
   fs/ext2/dir.c:187:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
       "entry in directory #%llu spans the page boundary"
       ^

vim +177 fs/ext2/dir.c

   161	Eshort:
   162		error = "rec_len is smaller than minimal";
   163		goto bad_entry;
   164	Ealign:
   165		error = "unaligned directory entry";
   166		goto bad_entry;
   167	Enamelen:
   168		error = "rec_len is too small for name_len";
   169		goto bad_entry;
   170	Espan:
   171		error = "directory entry across blocks";
   172		goto bad_entry;
   173	Einumber:
   174		error = "inode out of bounds";
   175	bad_entry:
   176		if (!quiet)
 > 177			ext2_error(sb, __func__, "bad entry in directory #%llu: : %s - "
   178				"offset=%lu, inode=%lu, rec_len=%d, name_len=%d",
   179				dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs,
   180				(unsigned long) le32_to_cpu(p->inode),
   181				rec_len, p->name_len);
   182		goto fail;
   183	Eend:
   184		if (!quiet) {
   185			p = (ext2_dirent *)(kaddr + offs);

---
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: 26862 bytes --]

  parent reply	other threads:[~2016-12-11 13:41 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-06 18:54 [Question] New mmap64 syscall? Yury Norov
2016-12-06 18:54 ` Yury Norov
2016-12-06 21:20 ` Arnd Bergmann
2016-12-07 10:34   ` Yury Norov
2016-12-07 10:34     ` Yury Norov
2016-12-07 11:07     ` Dr. Philipp Tomsich
2016-12-07 12:39       ` Yury Norov
2016-12-07 16:32         ` Catalin Marinas
2016-12-07 16:32           ` Catalin Marinas
2016-12-07 16:43           ` Dr. Philipp Tomsich
2016-12-07 16:43             ` Dr. Philipp Tomsich
2016-12-07 21:30             ` Arnd Bergmann
2016-12-07 21:30               ` Arnd Bergmann
2016-12-10  9:10               ` Pavel Machek
2016-12-10  9:10                 ` Pavel Machek
2016-12-10  9:21                 ` Pavel Machek
2016-12-10  9:21                   ` Pavel Machek
2016-12-11 12:56                   ` Yury Norov
2016-12-11 12:56                     ` Yury Norov
2016-12-11 12:56                     ` [PATCH 1/3] mm: move argument checkers of mmap_pgoff() to separated routine Yury Norov
2016-12-11 12:56                       ` Yury Norov
2016-12-11 12:56                     ` [PATCH 2/3] sys_mmap64() Yury Norov
2016-12-11 12:56                       ` Yury Norov
2016-12-11 14:48                       ` kbuild test robot
2016-12-11 14:48                         ` kbuild test robot
2016-12-11 14:56                       ` kbuild test robot
2016-12-11 14:56                         ` kbuild test robot
2016-12-11 12:56                     ` [PATCH 3/3] mm: make pagoff_t type 64-bit Yury Norov
2016-12-11 12:56                       ` Yury Norov
2016-12-11 13:31                       ` kbuild test robot
2016-12-11 13:31                         ` kbuild test robot
2016-12-11 13:41                       ` kbuild test robot [this message]
2016-12-11 13:41                         ` kbuild test robot
2016-12-11 14:59                       ` Arnd Bergmann
2016-12-11 14:59                         ` Arnd Bergmann
2016-12-16 10:55                         ` Yury Norov
2016-12-16 10:55                           ` Yury Norov
2016-12-16 11:02                           ` Arnd Bergmann
2016-12-16 11:02                             ` Arnd Bergmann
2016-12-18  9:23                           ` Christoph Hellwig
2016-12-18  9:23                             ` Christoph Hellwig
2016-12-07 13:23 ` [Question] New mmap64 syscall? Florian Weimer
2016-12-07 13:23   ` Florian Weimer
2016-12-07 15:48   ` Yury Norov
2016-12-07 15:48     ` Yury Norov
2016-12-08 15:47     ` Florian Weimer
2016-12-08 15:47       ` Florian Weimer
2017-01-03 20:54       ` Pavel Machek
2017-01-03 20:54         ` Pavel Machek
2017-01-12 16:13         ` Florian Weimer
2017-01-12 16:13           ` Florian Weimer
2017-01-12 21:51           ` Pavel Machek
2017-01-12 21:51             ` Pavel Machek

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=201612112100.I0lSZeL5%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Nathan_Lynch@mentor.com \
    --cc=Prasun.Kapoor@caviumnetworks.com \
    --cc=agraf@suse.de \
    --cc=arnd@arndb.de \
    --cc=bamvor.zhangjian@huawei.com \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=christoph.muellner@theobroma-systems.com \
    --cc=cmetcalf@ezchip.com \
    --cc=davem@davemloft.net \
    --cc=geert@linux-m68k.org \
    --cc=heiko.carstens@de.ibm.com \
    --cc=joseph@codesourcery.com \
    --cc=kbuild-all@01.org \
    --cc=kilobyte@angband.pl \
    --cc=klimov.linux@gmail.com \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linyongting@huawei.com \
    --cc=manuel.montezelo@gmail.com \
    --cc=maxim.kuvyrkov@linaro.org \
    --cc=philipp.tomsich@theobroma-systems.com \
    --cc=pinskia@gmail.com \
    --cc=schwidefsky@de.ibm.com \
    --cc=szabolcs.nagy@arm.com \
    --cc=ynorov@caviumnetworks.com \
    --cc=zhouchengming1@huawei.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;
as well as URLs for NNTP newsgroup(s).