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 F3320C4345F for ; Sat, 4 May 2024 07:16:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7621F6B0088; Sat, 4 May 2024 03:16:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7125F6B0089; Sat, 4 May 2024 03:16:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5DA3E6B008A; Sat, 4 May 2024 03:16:29 -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 406126B0088 for ; Sat, 4 May 2024 03:16:29 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 0478041229 for ; Sat, 4 May 2024 07:16:28 +0000 (UTC) X-FDA: 82079855256.25.FA1DF55 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by imf23.hostedemail.com (Postfix) with ESMTP id A046014000E for ; Sat, 4 May 2024 07:16:25 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Te+zzFPY; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1714806986; 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:in-reply-to:references:references:dkim-signature; bh=GOZG/me6WSO9orauegJ1v255Q9X621iHCz04CcVdQFE=; b=4ztBCfPeBHvcQVfBFPcmCoCK+lV9gXhcuysgoTbwR7aYJMpcLo1ICnAj33S0ioe6qStiAD wb6qzmcOnXL+EeG75JNuQ4cANSTNCEf574BW0NcgAig0r4uA2TX2UEI+KB+phdTVYpxO6h rmnagbyRbyC/85xlnK41l6UATIkXXsA= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Te+zzFPY; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714806986; a=rsa-sha256; cv=none; b=OZvwSUyHq0cVWTaHFgJ5Lo/a2WOQmczqrjWjO7y/5HdWuZTOWOMjcvfWWzafGfRjnc+iiC +aGoAiL1z54Ig4LajLzYrC2yeVvnsEt8WgzQRJbT/J8IGDbZsbSvnWt+KQ/6n3PGOveFUF cNlMo4hiDyCmw9oiPS/WlBf6WtvzOnk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714806986; x=1746342986; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AGnZTvpBoxJWy6rzbFF15qCrGC/No9YalvIbOMG99Rs=; b=Te+zzFPYv49h1tpAx1GOZmzP2OvYzLe9FFD+/v/AKw62CPD3g9Sp2fEJ tuEcieRGLe3wf3jWU8WwbgfoSAvGnfXxXHrW/Z5m8r/gMK+GaBIK6KX7k f5kG3I4eqLFiAQY+Y3h1YTM+liPwrZ6yNoP8DdKlozXqVN8GVTCjcsvzI nhcPfHR2GNr36JWNiEUKdRIrH6qzFHdnfWiH1nh1o2tb7wPrUMN2+dTBB M+haQ9etX8co8Z38D4t66rfVnEgrmDjs2WLqCz6X8Etnp8wZmSGDACH5I xaWwDmT7k4dPJ3u36h1v6se3V9jAkkF3ef9tamhLUqwrfgtIbLwBHcSpp g==; X-CSE-ConnectionGUID: cuy0JbeiQES/fbPEbcgQlQ== X-CSE-MsgGUID: 4zSb2nIzQYim3raI0f6pFg== X-IronPort-AV: E=McAfee;i="6600,9927,11063"; a="10742042" X-IronPort-AV: E=Sophos;i="6.07,253,1708416000"; d="scan'208";a="10742042" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2024 00:16:22 -0700 X-CSE-ConnectionGUID: WTNh5QHqQ2KlCLvs5fQhLw== X-CSE-MsgGUID: EDJTmVutShCs4ocV9Ml+nA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,253,1708416000"; d="scan'208";a="58568468" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 04 May 2024 00:16:19 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s39d3-000CWm-1u; Sat, 04 May 2024 07:16:17 +0000 Date: Sat, 4 May 2024 15:15:24 +0800 From: kernel test robot To: Sergey Senozhatsky , Andrew Morton , Minchan Kim Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Sergey Senozhatsky Subject: Re: [PATCH 08/14] zram: check that backends array has at least one backend Message-ID: <202405041458.j3L25KZg-lkp@intel.com> References: <20240503091823.3616962-9-senozhatsky@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240503091823.3616962-9-senozhatsky@chromium.org> X-Rspam-User: X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: A046014000E X-Stat-Signature: g6px4ggoxeanfqpj74rjjgyxg4oqh6id X-HE-Tag: 1714806985-101334 X-HE-Meta: U2FsdGVkX1+/o6dy8q3bwxtJfI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2APQNiCe+6krXLjXgqNsV/VJZe+bTY5u6423I7v8R8l6CSWlyMP5TBbHssEXOow14vjEiKvwcJ9HcVjQXnJeukG3ZWGSsqJRpA/CpQTGuyfogG2uJuqOzzTnHH7fWWuGM2oG5I8B2vfwWxn6rN4uDsAjGpQlx9oWHr3CgHmWYVaLjRubD3zwacNxKdBPwcOOqucvX9sNvhf1sPKVogIN6uX7gY0zR4ygF0nbBjNzf3CCyPufJY/EmNkEx7eLdwJ7cBg6vmQcxzFmveG0ERR6QS0rT30RBOzYQyklbYy86HNpi/gV5KIvg= 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: List-Subscribe: List-Unsubscribe: Hi Sergey, kernel test robot noticed the following build errors: [auto build test ERROR on axboe-block/for-next] [also build test ERROR on akpm-mm/mm-everything linus/master v6.9-rc6 next-20240503] [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/Sergey-Senozhatsky/zram-move-from-crypto-API-to-custom-comp-backends-API/20240503-172335 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20240503091823.3616962-9-senozhatsky%40chromium.org patch subject: [PATCH 08/14] zram: check that backends array has at least one backend config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240504/202405041458.j3L25KZg-lkp@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240504/202405041458.j3L25KZg-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405041458.j3L25KZg-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : drivers/block/zram/zcomp.c: In function 'zcomp_create': >> include/linux/compiler_types.h:449:45: error: call to '__compiletime_assert_419' declared with attribute error: BUILD_BUG_ON failed: ARRAY_SIZE(backends) <= 1 449 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:430:25: note: in definition of macro '__compiletime_assert' 430 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:449:9: note: in expansion of macro '_compiletime_assert' 449 | _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/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ drivers/block/zram/zcomp.c:214:9: note: in expansion of macro 'BUILD_BUG_ON' 214 | BUILD_BUG_ON(ARRAY_SIZE(backends) <= 1); | ^~~~~~~~~~~~ vim +/__compiletime_assert_419 +449 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 435 eb5c2d4b45e3d2 Will Deacon 2020-07-21 436 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 437 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 438 eb5c2d4b45e3d2 Will Deacon 2020-07-21 439 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 440 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 441 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 442 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 443 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 444 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 445 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 446 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 447 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 448 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @449 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 450 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki