Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3515158rwb; Tue, 20 Sep 2022 00:16:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JTvK9rqaqfisaolQCSFyd7Ur7OLp8w2d6rWYAanoMmzIpqUQTwpM2xUhU0slRj0etAdpy X-Received: by 2002:a17:903:48b:b0:178:6a49:eb0a with SMTP id jj11-20020a170903048b00b001786a49eb0amr3500777plb.127.1663658184247; Tue, 20 Sep 2022 00:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663658184; cv=none; d=google.com; s=arc-20160816; b=nwDgO6MlYO0VxfHw9bs+LpPsLvlcToaf5/kDBiLCl2IBtKqxngEJq1tiU6kh5Xc8bi INt9LGP0Lm8icTwWJNqEAR3yTa0+bA2RR2mKksJ8YjiPL1x92aCbGHzf4cR8pJWnCbIe TGFdxCwowSZ/xkvMz/yzBR35sFQfBy70+Gszfdeb4F0feX66KiQxlCWY7/8ajZkVMatT LuGixMszErNhqI17L0WcXybwIHmL6F+mUBGnKMWhnDUXis1+p35GjVAqveDL8n7fX6cG kuGiWX7PesLQNeuw6rKden2tMfJi7u03Ct6QLH2NJQFYJGpJSWphvHOxxKadWxIV9Fl8 BLEg== 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=DV88QF8adYz8w8yNQa2OWIgFZaKCMxhSy47ucTWA1+A=; b=W3IFoq68t0U2yNGzpdc+qIfL2k78OFeyCqzHJWhgDuGFIEBC+b+EUH3JItj7tvgX5a 0wh36nbxHqH0flB2v2H+ea7/42rDWFLaUAg3ZRpGpGVoJUyOlyEgrEzNURc9pPliJbIB ReL+o5/SBxPTTFTl9BdhhIFQYfFLB6hXa5BOK00jUu/qL6pSuglPDTLHDfU5FKss9zws P1zuuLPwFtwyudRXkJUxJJPDBlkWWnb1cAeGc97XcfAJYN4T3cnHa1Y80+t+N69WaVJH 9dskDmMsRGPvYke6vtuYkOxjebNQ9vIRO5AZwXLg+XNvkGZXUuVBA1fbxyEwU4BSErNs gMUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PxFD/6Hp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a63f749000000b00439c930a215si1043655pgk.181.2022.09.20.00.16.12; Tue, 20 Sep 2022 00:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PxFD/6Hp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229472AbiITG3U (ORCPT + 99 others); Tue, 20 Sep 2022 02:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230210AbiITG3Q (ORCPT ); Tue, 20 Sep 2022 02:29:16 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE3F95E31E; Mon, 19 Sep 2022 23:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663655355; x=1695191355; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vU4UOY1cFcL0pHjYCJ/Vivviv9dmXv+UoY/OX8Hoa/s=; b=PxFD/6Hpz8dyjeTHf8haMPCkJLbW6Uv/hByAl3NOvJkZiHk6OXj3IFSb Sz92bzxVm4kp6xlCNGamALczrO015DLPCzxzG26uf36zicb6R35hpfjAe aJprmIjBGneD32BBTGaCvpuqhSkgZXkWEGS/7pE/6gQZvTD849LHaiB/I f+ioSMiNr/Ge1BQYoqdYNzvAW27cg5/AWlJ95+sJeNrqqAgjhtX27Wrcv pq38ibJFBnZWJgn7jbYBGxXiWsjkG9iNshYP36ker2oTGxD+Gdh1XBjTb 2Co8cXvCExSr2fM/cuOEu0sBKSmBR/aNycNyuuVfS44piOBivvdUmDaim A==; X-IronPort-AV: E=McAfee;i="6500,9779,10475"; a="385898548" X-IronPort-AV: E=Sophos;i="5.93,329,1654585200"; d="scan'208";a="385898548" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2022 23:29:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,329,1654585200"; d="scan'208";a="649457126" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 19 Sep 2022 23:29:05 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1oaWki-0002Xl-39; Tue, 20 Sep 2022 06:29:04 +0000 Date: Tue, 20 Sep 2022 14:28:24 +0800 From: kernel test robot To: Lizhi Hou , vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, trix@redhat.com Cc: kbuild-all@lists.01.org, Lizhi Hou , max.zhen@amd.com, sonal.santan@amd.com, larry.liu@amd.com, brian.xu@amd.com Subject: Re: [PATCH V3 XDMA 1/1] dmaengine: xilinx: xdma: add xilinx xdma driver Message-ID: <202209201427.ujYkdhUE-lkp@intel.com> References: <1663631039-49732-2-git-send-email-lizhi.hou@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1663631039-49732-2-git-send-email-lizhi.hou@amd.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lizhi, I love your patch! Yet something to improve: [auto build test ERROR on vkoul-dmaengine/next] [also build test ERROR on linus/master v6.0-rc6 next-20220919] [cannot apply to xilinx-xlnx/master] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Lizhi-Hou/xilinx-XDMA-driver/20220920-074553 base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220920/202209201427.ujYkdhUE-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.0 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/intel-lab-lkp/linux/commit/2622fde9f389e211554d46e149765c1fe5da6f44 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Lizhi-Hou/xilinx-XDMA-driver/20220920-074553 git checkout 2622fde9f389e211554d46e149765c1fe5da6f44 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/dma/xilinx/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from : drivers/dma/xilinx/xdma.c: In function 'xdma_xfer_start.isra': >> include/linux/compiler_types.h:354:45: error: call to '__compiletime_assert_247' declared with attribute error: FIELD_GET: type of reg too small for mask 354 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:335:25: note: in definition of macro '__compiletime_assert' 335 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:354:9: note: in expansion of macro '_compiletime_assert' 354 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/bitfield.h:71:17: note: in expansion of macro 'BUILD_BUG_ON_MSG' 71 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:128:17: note: in expansion of macro '__BF_FIELD_CHECK' 128 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~ drivers/dma/xilinx/xdma.c:358:15: note: in expansion of macro 'FIELD_GET' 358 | val = FIELD_GET(XDMA_HI_ADDR_MASK, block->dma_addr); | ^~~~~~~~~ vim +/__compiletime_assert_247 +354 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 340 eb5c2d4b45e3d2 Will Deacon 2020-07-21 341 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 342 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 343 eb5c2d4b45e3d2 Will Deacon 2020-07-21 344 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 345 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 346 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 347 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 348 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 349 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 350 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 351 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 352 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 353 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @354 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 355 -- 0-DAY CI Kernel Test Service https://01.org/lkp