Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp272605lqh; Sat, 4 May 2024 00:14:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvWUjsshFXczxwnXVRa1v5gK6Vj5/0nrbkWv5e6jRcsdDiBzVa1zUWZobNlcS8GaNZbfRRM48jL9kXLuetEMl0ZFDKnqkTl6IWH0KlHQ== X-Google-Smtp-Source: AGHT+IHhnlFzKnpZi//O4gKgwTSYoE+hsEoGhcoxHAvR6qxjMIpBNSnUgsz9hB8KTHbl4rCEO1fB X-Received: by 2002:a17:90a:e387:b0:2b3:28df:96b1 with SMTP id b7-20020a17090ae38700b002b328df96b1mr4818911pjz.7.1714806893067; Sat, 04 May 2024 00:14:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714806893; cv=pass; d=google.com; s=arc-20160816; b=cIBJDEMM2TCd99UVYb8BhP+msHUaJkWusyMx/zhFBZ7EovdW2ikCs2skBy5MZnahAC WcJznjELFy/8Zg/hiAkoCwzsk/dccdYRQ2OR4vdk3MD9/J5XjD8LaLOEzd3NsorIN6OV 9bGKeKFV3xj2NrYoHp04xOltU4KMCWDJuRgsVpq4LLGtw2vyftTV8s9RP9hzNiNKwpZ8 kxQki7/fYkjm1Ahe5yO+fsQZOpj4SxV9PGO9qCOgSwshbUYt9r6RXCKfxTitvivJVV6q ZdsKxwUr445z9gYkJ/efxLwAAuO+UYgZOcND50+TXU/5TohU91cLI0+0cc5rKsfte8b/ 1MgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A4N1i5Pm2LxhMxIRBzRCWAdKMXxb3hPvU+8V8CPs4HE=; fh=jyKAPMERZBmrmiEGBfq7KQdr0t9E5Lm37psGuj8lY+M=; b=QyfxnD6lh0krlriJDcPlmHUqgE1A+tqpYA081ZDD7rIRkyYMtL9o10ykzk/j1hk/E0 BBuFeEh80rfAs52nZh/Cw+OsmV28d8vUq+RdMO/zjdOcTsavf9+GSmTMwHMl06kAHSQn Itp3z4oxgxKJasI72fQqcdMtkN513DFy2rYmkG0HilOrjRuGVkajlb+YUxJ2AZminCBX pU/h/rE+foJWERZ1nsOvFwTdUYKLA922tp7G6NQ6UsaR64vBxDRM6udOtJ4lFgJAaqKy iRB0b0/L7MX4qXx5lGNqnBf+44PlOTAsVuLNMoljfT2Qgmfgea1OJWBsoKqIZsq0yLsW YZfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=izxKtOKL; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-168529-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id md1-20020a17090b23c100b002a564f14525si6665259pjb.176.2024.05.04.00.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 00:14:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168529-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=izxKtOKL; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-168529-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AA866283094 for ; Sat, 4 May 2024 07:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 496B0BE4F; Sat, 4 May 2024 07:14:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="izxKtOKL" Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 327184C79 for ; Sat, 4 May 2024 07:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714806883; cv=none; b=YlzgtLlTMKFvxMkWIaQ4qJIxPP/Ulb+lQKODy9AWIyjaJ9DoHvkzM8s1FKdH/8ioLc6JZ7+Q7YyJOsslWGKcqiA/IIkuAxbQLnYm09XmvBSbosLpwlWaWc8G5bRK4Sa6XkxIUsrF1Me21tuxA/ZlJfIOcRm1relziiVkf0cVSpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714806883; c=relaxed/simple; bh=JPi5SPuiU0SL02Qqqpcf1D/xtRrzm+mxaCVNvt4+a+4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZpwDAWS+eAkWx0v2Yl3z7n6p4JRpTg3URi3i5AiL58kwn4rdlNsJpCKMKJsFc9+hNSAyFfj4gajpKe4ZVIyHRiWBn1O5Uq3mcx7hBDmbNR8C3D5hvvqxmrrUYhfxfev3VeJWdpeXH5f4rXMV3ctDptrgGgQxslAlFEtgVJ7XkWg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=izxKtOKL; arc=none smtp.client-ip=209.85.216.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2b2b42b5126so369938a91.3 for ; Sat, 04 May 2024 00:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714806881; x=1715411681; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=A4N1i5Pm2LxhMxIRBzRCWAdKMXxb3hPvU+8V8CPs4HE=; b=izxKtOKLOYYO40Npj8wt59QNYqm6xkHahwaDxdmIlmScIGuQxq/y1xmL8ZC7nv78IN WftIbMa1U1XC5ytIUldx+lyvjTRrRW6wp4/G0+1tdh2zW5qgc5bx0QMZhxZjtgKYwpBr +PfKt1UaJAW2bHZ9HoRJQuDjZC5oOY0B6Qzz4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714806881; x=1715411681; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=A4N1i5Pm2LxhMxIRBzRCWAdKMXxb3hPvU+8V8CPs4HE=; b=qrQA0HQv7liai8v/KIvGRImsl9CtgvOZmAnAyWvHDksCbYPtL5dIvZ25HDfo7jDU4X EIqGtBvmHeM5JPtbD/bkg7nC9wnsyBx99kbSFHl9ZI1EyOuFf3iPECDeTbupQW9A45HG cGg1f8pXUYMaMN/q76mxnrnAdhokipG6aLF0GWaRoYKW7AdMW2qvdhQ5skGpVQ90RJZA Xp04VkBKhGy+04TVbO5R1VHNddCKQt791LWM3DyTp4MMcqF69NloP16/Be29KyhqgZR6 wzZ3ZpkyXcoRjLfNEz8C7IH5GWeu+ycUJJgDu8+9kA/fpmrrV94OgMvBHPIEfuIhJHZT UX0Q== X-Forwarded-Encrypted: i=1; AJvYcCX01bRBqZRgWXyhwSgvkrW3p+ZDTezdpvgeJxHDLpDI3NlpYhKSDTaA/QM4m5cTG+OZwYRudDqWb4QltYM00ZbFq7h5Vs7jzRI5FIV6 X-Gm-Message-State: AOJu0YxDF8xxeXjVTLbhS7eAFHlHq1AsAz3tJoYZAvwtlu35+2L5znNv ueYFf6nrdMQTzlhj3MJgYNFjNWWW2h9wUbd1J65m2huOvCipgEUSqEOF6etE/SQxBgOPj8IskNw = X-Received: by 2002:a05:6a20:7f84:b0:1a9:c28e:bc17 with SMTP id d4-20020a056a207f8400b001a9c28ebc17mr5550146pzj.45.1714806861314; Sat, 04 May 2024 00:14:21 -0700 (PDT) Received: from google.com ([2401:fa00:8f:203:a616:7211:d0ce:9ad9]) by smtp.gmail.com with ESMTPSA id b185-20020a6334c2000000b0061f42afa8d0sm1391585pga.6.2024.05.04.00.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 00:14:20 -0700 (PDT) Date: Sat, 4 May 2024 16:14:16 +0900 From: Sergey Senozhatsky To: kernel test robot Cc: Sergey Senozhatsky , Andrew Morton , Minchan Kim , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Subject: Re: [PATCH 08/14] zram: check that backends array has at least one backend Message-ID: <20240504071416.GH14947@google.com> References: <20240503091823.3616962-9-senozhatsky@chromium.org> <202405041440.UTBQZAaf-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202405041440.UTBQZAaf-lkp@intel.com> On (24/05/04 14:54), kernel test robot wrote: > | ~~~~~~~~~~~~~~~~~~~~~~ > >> drivers/block/zram/zcomp.c:214:2: error: call to '__compiletime_assert_285' declared with 'error' attribute: BUILD_BUG_ON failed: ARRAY_SIZE(backends) <= 1 > 214 | BUILD_BUG_ON(ARRAY_SIZE(backends) <= 1); > | ^ So this is what that BUILD_BUG_ON() is supposed to catch. You don't have any backends selected in your .config: # CONFIG_ZRAM_BACKEND_LZO is not set # CONFIG_ZRAM_BACKEND_LZ4 is not set # CONFIG_ZRAM_BACKEND_LZ4HC is not set # CONFIG_ZRAM_BACKEND_ZSTD is not set # CONFIG_ZRAM_BACKEND_DEFLATE is not set CONFIG_ZRAM_DEF_COMP="unset-value" Which is invalid configuration because it means that zram has no compression enabled.