Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755472AbcLUEIA (ORCPT ); Tue, 20 Dec 2016 23:08:00 -0500 Received: from mga03.intel.com ([134.134.136.65]:7019 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752084AbcLUEH6 (ORCPT ); Tue, 20 Dec 2016 23:07:58 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,381,1477983600"; d="gz'50?scan'50,208,50";a="1074672312" Date: Wed, 21 Dec 2016 12:06:53 +0800 From: kbuild test robot To: Stafford Horne Cc: kbuild-all@01.org, Stefan Kristiansson , openrisc@lists.librecores.org, linux-kernel@vger.kernel.org, Stafford Horne Subject: Re: [PATCH] openrisc: Define __kernel_size_t to suppress compiler warnings Message-ID: <201612211228.62uBjDuK%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <1482242389-30006-1-git-send-email-shorne@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9260 Lines: 150 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Stafford, [auto build test WARNING on linus/master] [also build test WARNING on v4.9 next-20161221] [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/Stafford-Horne/openrisc-Define-__kernel_size_t-to-suppress-compiler-warnings/20161221-024243 config: openrisc-allnoconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 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=openrisc All warnings (new ones prefixed by >>): mm/slab_common.c: In function 'create_boot_cache': >> mm/slab_common.c:816:6: warning: format '%zu' expects type 'size_t', but argument 3 has type 'long unsigned int' vim +816 mm/slab_common.c 45530c44 Christoph Lameter 2012-11-28 800 /* Create a cache during boot when no slab services are available yet */ 45530c44 Christoph Lameter 2012-11-28 801 void __init create_boot_cache(struct kmem_cache *s, const char *name, size_t size, 45530c44 Christoph Lameter 2012-11-28 802 unsigned long flags) 45530c44 Christoph Lameter 2012-11-28 803 { 45530c44 Christoph Lameter 2012-11-28 804 int err; 45530c44 Christoph Lameter 2012-11-28 805 45530c44 Christoph Lameter 2012-11-28 806 s->name = name; 45530c44 Christoph Lameter 2012-11-28 807 s->size = s->object_size = size; 45906855 Christoph Lameter 2012-11-28 808 s->align = calculate_alignment(flags, ARCH_KMALLOC_MINALIGN, size); f7ce3190 Vladimir Davydov 2015-02-12 809 f7ce3190 Vladimir Davydov 2015-02-12 810 slab_init_memcg_params(s); f7ce3190 Vladimir Davydov 2015-02-12 811 45530c44 Christoph Lameter 2012-11-28 812 err = __kmem_cache_create(s, flags); 45530c44 Christoph Lameter 2012-11-28 813 45530c44 Christoph Lameter 2012-11-28 814 if (err) 31ba7346 Christoph Lameter 2013-01-10 815 panic("Creation of kmalloc slab %s size=%zu failed. Reason %d\n", 45530c44 Christoph Lameter 2012-11-28 @816 name, size, err); 45530c44 Christoph Lameter 2012-11-28 817 45530c44 Christoph Lameter 2012-11-28 818 s->refcount = -1; /* Exempt from merging for now */ 45530c44 Christoph Lameter 2012-11-28 819 } 45530c44 Christoph Lameter 2012-11-28 820 45530c44 Christoph Lameter 2012-11-28 821 struct kmem_cache *__init create_kmalloc_cache(const char *name, size_t size, 45530c44 Christoph Lameter 2012-11-28 822 unsigned long flags) 45530c44 Christoph Lameter 2012-11-28 823 { 45530c44 Christoph Lameter 2012-11-28 824 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); :::::: The code at line 816 was first introduced by commit :::::: 45530c4474d258b822e2639c786606d8257aad8b mm, sl[au]b: create common functions for boot slab creation :::::: TO: Christoph Lameter :::::: CC: Pekka Enberg --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation --6TrnltStXW4iwmi0 Content-Type: application/gzip Content-Disposition: attachment; filename=".config.gz" Content-Transfer-Encoding: base64 H4sICCf+WVgAAy5jb25maWcAjVtbc9s2077vr+Ak70Uy8zWxHTdt5x1fQCAooiIIBgAl2Tcc RaYTTWxJo0Pf+N9/u6BOFBdqLzpxsUscFnt4drF6+8vbiG03i5fJZjadPD+/Rt/qeb2abOrH 6Gn2XP83inWUaxeJWLoPwJzN5tufHxfLer6arafR7Yc/P1xFg3o1r58jvpg/zb5t4evZYv7L 21+4zhPZr3QhciMtv3vdjyhVHv/HjKxQVV/kwkhe2ULmmeYDoL+NWhxjnvZZHFcs62sjXaqi 2TqaLzbRut7s59rPko6E7KfuuEiuK6kLbVylWHEcdoZxUUnzJclY31a2LJDnSN/Px22pjqOx SHZ/ZdK6uzcfn2dfP74sHrfP9frjf8qcKVEZkQlmxccPUy+UN7+APN5GfS/cZ9zydnmUUM/o gcgrnVdWnexO5tJVIh9WzOBSSrq7Tzd7Ijfa2oprVchM3L15cxTXbqxywjpCRiBdlg2FsVLn re9OCRUrnSY+hqOzMnNVqq3Dc969eTdfzOv3J9PYezuUBT/9+Lg1v2kllDb3FXOO8ZTkS1KW x5kgaaUVmeydkrxo4RKj9fbr+nW9qV+Oot3fIJCrwuie6F4ukmyqRzSFp/L0SmAk1orJ/DjW 7HU3jByE/qBKi6HInQWi36+bvdSrNbXl9KEq4CsdS35qBaDCQJEhsXgySUnBFEAfbeWkgtvt SI4X5Uc3Wf+INrClaDJ/jNabyWYdTabTxXa+mc2/HffmJB9U8EHFONdl7mTe3x/I8DKy3dMA y30FtJZB87ISYzikIzfsmB1YZCKp+LF1LMtQ0ZXO6SmMEJ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