Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp97502pxb; Mon, 16 Aug 2021 00:28:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwO+hk0ToGkmVIX+0xuaINvgEaWDrgaym84vKTi5LF04Ok2dLtrbicvCziZDn4YUB6AJqkB X-Received: by 2002:a17:906:f298:: with SMTP id gu24mr8487006ejb.334.1629098890073; Mon, 16 Aug 2021 00:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629098890; cv=none; d=google.com; s=arc-20160816; b=SzsavU3dztTGOh1xXist5MDuCZl4BPEWY6KK8VLpLJbQ5TJK03yjyGspiuzVWnSDuO anFsbSAxeNzyVPcYdlq00SyO68bUtAfC44xctcPpI/DevdGPx4/xTWgUszLtyYspjjPW MGfQdnPG/MtFMmpsFB3Syl3HhKm/MVHPKMDO/c1QAHmzBpUyMRuHxckRYDMZ2IUOuctL 2Bo23Gw0LSRabTWbjqdiKDtij5wvRFSz71Bmexoz+VcFwFiHV0Wwo7EWQ3m2f1V+clxn /yrOnu5e9aPa88MrM6mvNbIUhLijcW7SoV7Wpmw/FCJlhydwWnfqfvnISgdA6uSsEgV1 gTFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=raXZ9wS6uRXZ08WEw0+7FaHAEkjqyrsEFRdbyxNvvYc=; b=qoFBgdXfbmGFow4q7qKtL5hGLxxdEWDLlO8mBfUeBF5f17GraTka99zSzz16Pl0W+v 8ePAdUGIh8znx7BkB+aFWJB5fhBulU2ZG3Bd2xk1HrJer2ZhoAuR/X/Z3X5y4wKk+O0j REW3FbZRIVDk92HGpl6ZUH/h7NNvpEl/YS/L7jOc9QJCmEXX2Sx9SCDX52pwclG1L+ig fHMeFzpOcMbqk27uhFCVYsFeZAPDW61pxopufJCMHWaeRioDquoRkbyhWIJK92+hQFRB lg4O9gY7VfwNxGkfuLKXl8m8YRwZXruNGq43Rx6EW5BULqZndOxFuXXX+w0XEdwfJC7k d5Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L3IWRFzd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si9216833ejh.638.2021.08.16.00.27.46; Mon, 16 Aug 2021 00:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L3IWRFzd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233725AbhHPHYn (ORCPT + 99 others); Mon, 16 Aug 2021 03:24:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58093 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234092AbhHPHYm (ORCPT ); Mon, 16 Aug 2021 03:24:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629098650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=raXZ9wS6uRXZ08WEw0+7FaHAEkjqyrsEFRdbyxNvvYc=; b=L3IWRFzdJrBh3DGzVMXszGhyX14Qjmoz4v49NwkMCyH084MMr+UL/wgeSSYRAtAIvr+IhZ 7vYBtYfkRbHJQfK+hh5DlgDiwlbp2VmlPYsrA5c+6FdLVKJSpO0i8if5J37eBbkgJq5hE+ Y45DRJQvojnQctlOkmUvU1iNH9ko0qY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-73-_xQKX4D_OlmmXZEwXg89XQ-1; Mon, 16 Aug 2021 03:24:09 -0400 X-MC-Unique: _xQKX4D_OlmmXZEwXg89XQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C363E8799E0; Mon, 16 Aug 2021 07:24:07 +0000 (UTC) Received: from T590 (ovpn-8-40.pek2.redhat.com [10.72.8.40]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5E48C5D6D5; Mon, 16 Aug 2021 07:23:59 +0000 (UTC) Date: Mon, 16 Aug 2021 15:23:53 +0800 From: Ming Lei To: kernel test robot Cc: Thomas Gleixner , Jens Axboe , clang-built-linux@googlegroups.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH 7/7] blk-mq: build default queue map via group_cpus_evenly() Message-ID: References: <20210814123532.229494-8-ming.lei@redhat.com> <202108150441.EPrLDMTH-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202108150441.EPrLDMTH-lkp@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun, Aug 15, 2021 at 04:49:25AM +0800, kernel test robot wrote: > Hi Ming, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on tip/irq/core] > [also build test ERROR on next-20210813] > [cannot apply to block/for-next linux/master linus/master v5.14-rc5] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Ming-Lei/genirq-affinity-abstract-new-API-from-managed-irq-affinity-spread/20210814-203741 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 04c2721d3530f0723b4c922a8fa9f26b202a20de > config: riscv-buildonly-randconfig-r005-20210814 (attached as .config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c) > 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/0day-ci/linux/commit/46b1d0ed609db266f6f18e7156c4f294bf6c4502 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Ming-Lei/genirq-affinity-abstract-new-API-from-managed-irq-affinity-spread/20210814-203741 > git checkout 46b1d0ed609db266f6f18e7156c4f294bf6c4502 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All error/warnings (new ones prefixed by >>): > > In file included from block/blk-mq-cpumap.c:13: > >> include/linux/group_cpus.h:17:26: error: implicit declaration of function 'kcalloc' [-Werror,-Wimplicit-function-declaration] > struct cpumask *masks = kcalloc(numgrps, sizeof(*masks), GFP_KERNEL); > ^ > include/linux/group_cpus.h:17:26: note: did you mean 'kvcalloc'? > include/linux/mm.h:827:21: note: 'kvcalloc' declared here > static inline void *kvcalloc(size_t n, size_t size, gfp_t flags) > ^ > In file included from block/blk-mq-cpumap.c:13: > >> include/linux/group_cpus.h:17:18: warning: incompatible integer to pointer conversion initializing 'struct cpumask *' with an expression of type 'int' [-Wint-conversion] > struct cpumask *masks = kcalloc(numgrps, sizeof(*masks), GFP_KERNEL); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Will fix it in next version, and it can be done by include into include/linux/group_cpus.h. Thanks, Ming