From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CB6CC433EF for ; Fri, 8 Jul 2022 13:13:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A96106B0072; Fri, 8 Jul 2022 09:13:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A46386B0073; Fri, 8 Jul 2022 09:13:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 90E696B0074; Fri, 8 Jul 2022 09:13:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 7F24B6B0072 for ; Fri, 8 Jul 2022 09:13:54 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id 5C95260A7F for ; Fri, 8 Jul 2022 13:13:54 +0000 (UTC) X-FDA: 79663975188.21.D836A70 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf27.hostedemail.com (Postfix) with ESMTP id 465F74005A for ; Fri, 8 Jul 2022 13:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657286033; x=1688822033; h=date:from:to:cc:subject:message-id:mime-version; bh=Udd/LCsKWROYZpOMU9ODv8sLnUrCHZPCKOTDfx/24+c=; b=jlPbWpISRS0BbGwG6dPZ8aTAUodMOJdYe6VpUcqFIBgCwFyF/P8NKQVF E4EfR1RYrV+7+7aWPIcYuVAGJf8X0/9k7pXMNu1RZOaYbXRS7Jw6AGnWq CDsZe9Rx2j4Mji5lZxZnQ+rjy8FsTqwlZz36zLzgZN5r+UBczFIC8j+c3 5l6/fguORMnaICho3Tr8f6W4R5VVV8SHh1SSKXCPwXAP1JeNufbPPf8Ph TEQy9P2fECmftW69K3HWLdUpXLcxAibiSup2yj/a1bjwxTn4A8cINXrP7 9x9hwPphHITr10tmCmKwE/xy9IKYigqcJ9znwwf5PxRDo2VL7BHQ96AWp Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10401"; a="264689662" X-IronPort-AV: E=Sophos;i="5.92,255,1650956400"; d="scan'208";a="264689662" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2022 06:13:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,255,1650956400"; d="scan'208";a="736334808" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 08 Jul 2022 06:13:50 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o9nnp-000NVU-Ca; Fri, 08 Jul 2022 13:13:49 +0000 Date: Fri, 8 Jul 2022 21:13:11 +0800 From: kernel test robot To: Paul Menzel Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Yury Norov Subject: [linux-next:master 8187/8914] lib/bitmap.c:351:6: error: conflicting types for '__bitmap_set' Message-ID: <202207082141.JR9ENDa5-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657286033; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=0Gc6JsMMgVG2YWng2urOtDfJNqXGFE9Mmop+RNCaJbU=; b=c1Iwoxc6/GPotdGpB7HR16TPGjRrbSeY1v4T/FiYK99mhi/MuuMP8ThNmtnQzrw8N4z5Q+ X1xjVZS3HsqfVQgN662+6MiyvJJ/yh9+XJIpfUmW0rcRVjG3DakiBJZLRSDO1hel7R6G8P /+aFnrQk54JzcpPThetShgtI2ngJjKA= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657286033; a=rsa-sha256; cv=none; b=cWba7ult367E3MzqAYUe5HmaV0zVs/9aARkRKomvceKmU1B9ieThRKxElPY8ks1hOxV/Gg uw1fbcCzYrLRptY8Znabqo5tzxfEAA2DIM5VqbO3yiH/aoR0exnYFeLM1qpRbalODWk0PM 3yF4DNf1qcQ7XJrMf6cOz9y69K+n9Pk= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jlPbWpIS; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf27.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.151) smtp.mailfrom=lkp@intel.com Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jlPbWpIS; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf27.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.151) smtp.mailfrom=lkp@intel.com X-Stat-Signature: 399gqso4e1y4qy4nbp5cw8d3zpg1d1zw X-Rspamd-Queue-Id: 465F74005A X-Rspamd-Server: rspam07 X-Rspam-User: X-HE-Tag: 1657286033-851662 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f2528c29385819a84480cacef4886b049761e2c5 commit: aaa4ab5ec04480fd0c16c7452d28444c862b2b87 [8187/8914] lib/bitmap: Make length parameter `len` unsigned config: x86_64-randconfig-a016 (https://download.01.org/0day-ci/archive/20220708/202207082141.JR9ENDa5-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 562c3467a6738aa89203f72fc1d1343e5baadf3c) 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=aaa4ab5ec04480fd0c16c7452d28444c862b2b87 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout aaa4ab5ec04480fd0c16c7452d28444c862b2b87 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Note: the linux-next/master HEAD f2528c29385819a84480cacef4886b049761e2c5 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> lib/bitmap.c:351:6: error: conflicting types for '__bitmap_set' void __bitmap_set(unsigned long *map, unsigned int start, unsigned int len) ^ include/linux/bitmap.h:167:6: note: previous declaration is here void __bitmap_set(unsigned long *map, unsigned int start, int len); ^ 1 error generated. vim +/__bitmap_set +351 lib/bitmap.c 350 > 351 void __bitmap_set(unsigned long *map, unsigned int start, unsigned int len) 352 { 353 unsigned long *p = map + BIT_WORD(start); 354 const unsigned int size = start + len; 355 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); 356 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); 357 358 while (len >= bits_to_set) { 359 *p |= mask_to_set; 360 len -= bits_to_set; 361 bits_to_set = BITS_PER_LONG; 362 mask_to_set = ~0UL; 363 p++; 364 } 365 if (len) { 366 mask_to_set &= BITMAP_LAST_WORD_MASK(size); 367 *p |= mask_to_set; 368 } 369 } 370 EXPORT_SYMBOL(__bitmap_set); 371 -- 0-DAY CI Kernel Test Service https://01.org/lkp