From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gnuweeb.org (Postfix) with ESMTPS id 2FD697E342 for ; Tue, 5 Apr 2022 05:09:48 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=nM4AOlUW; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649135388; x=1680671388; h=date:from:to:cc:subject:message-id:mime-version; bh=uml1BPu3EYtTMbgd2WGuq3w4iq6M/GD0ogJulQUKtjY=; b=nM4AOlUWn1BjSb/khqoOfPjVlA1UtybpMlqMp6dfu1R/1z+aBzvUhfy2 v6PuoL05k5nTS9tmtK9Hn3ndl6ipxjRACDI1K7vZnjyHNcmfV7tKxI2EE BZNpaAZyOqp8FNodrnPHoJXseapeBiBKUgjwFlbfK64cbpeBG+zsoTML8 pGLMl+mlMraPoOeIYSipUDnSqMeZSW1lSv02SBdbDBciO2RBR+3lV4foD X2ERBEU5C0fx7DmjuX+ghZDUztLXGA/DiIm6XWW55qonMPsR8BgEVRrsh rLZHab86W7+K1IF1hU9Mkw6fizu0xpW5qLh1LGzKZNEXOybHsZWxyefHl Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10307"; a="347105538" X-IronPort-AV: E=Sophos;i="5.90,235,1643702400"; d="scan'208";a="347105538" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2022 22:09:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,235,1643702400"; d="scan'208";a="721909358" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 04 Apr 2022 22:09:45 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1nbbRo-0002eh-L6; Tue, 05 Apr 2022 05:09:44 +0000 Date: Tue, 5 Apr 2022 13:09:14 +0800 From: kernel test robot To: David Howells Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:dhowells/linux-fs/netfs-maple 8/40] fs/netfs/misc.c:18:46: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') Message-ID: <202204051354.4g0Q01jJ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-maple head: 674eea41fc70a740ff83ec590f9833f805852464 commit: cae8dd85733f703374474ed433b8263263d4fa7f [8/40] netfs: Provide invalidatepage and releasepage calls config: i386-randconfig-a015 (https://download.01.org/0day-ci/archive/20220405/202204051354.4g0Q01jJ-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/cae8dd85733f703374474ed433b8263263d4fa7f git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-maple git checkout cae8dd85733f703374474ed433b8263263d4fa7f # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/netfs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/netfs/misc.c:18:46: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] _enter("{%lx},%lx,%lx", folio_index(folio), offset, length); ~~~ ^~~~~~ %zx fs/netfs/internal.h:164:65: note: expanded from macro '_enter' #define _enter(FMT, ...) no_printk("==> %s("FMT")", __func__, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:132:17: note: expanded from macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ~~~ ^~~~~~~~~~~ include/linux/printk.h:446:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:418:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ fs/netfs/misc.c:18:54: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] _enter("{%lx},%lx,%lx", folio_index(folio), offset, length); ~~~ ^~~~~~ %zx fs/netfs/internal.h:164:65: note: expanded from macro '_enter' #define _enter(FMT, ...) no_printk("==> %s("FMT")", __func__, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:132:17: note: expanded from macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ~~~ ^~~~~~~~~~~ include/linux/printk.h:446:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:418:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ 2 warnings generated. vim +18 fs/netfs/misc.c 10 11 /* 12 * Invalidate part or all of a folio 13 * - release a folio and clean up its private data if offset is 0 (indicating 14 * the entire folio) 15 */ 16 void netfs_invalidate_folio(struct folio *folio, size_t offset, size_t length) 17 { > 18 _enter("{%lx},%lx,%lx", folio_index(folio), offset, length); 19 20 folio_wait_fscache(folio); 21 } 22 EXPORT_SYMBOL(netfs_invalidate_folio); 23 -- 0-DAY CI Kernel Test Service https://01.org/lkp