Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp631540lqh; Sat, 4 May 2024 16:10:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUuzGzt9xscTVdl8URzVsG2WbpNOvV6KB3IjwdV+DSwGhaS99E/1hBXskXTYO7i4hMJltYiPqyvYBiHp9BxTpAjEuxacuRZxwfntz3bIw== X-Google-Smtp-Source: AGHT+IEgnKN4LGy3w5Br5BIujC/kdWe2kxISI76aSchXWHJU0jX4SIGYKycKX+FDOK9/OZQuHWop X-Received: by 2002:a05:6358:c20d:b0:18b:699c:1645 with SMTP id vs13-20020a056358c20d00b0018b699c1645mr8288289rwc.30.1714864227537; Sat, 04 May 2024 16:10:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714864227; cv=pass; d=google.com; s=arc-20160816; b=b5zrfTwboRs1Pelxihk1ccKqxFzUeT6N56U5Pnk1J2wc/EzJ9C5HAfNvvYfR0xMgWE ueQ3r5jPykqXy4EvE2P3OCYcTWNLVc/R4YLVf86vROcqDbc0iVOsnDTwNVIt/VgcpZnW ujPQcmzJfs+HnbcdXVfLpJI720eG31qNDpmekcu1Jjx36fNKL8rDE63yq4ryEmZdJUJq FEaYoRHQToo9CZ9+fh6zbJtm4YXxMTKxZpHKc6hjxLD7CUcDS7QUbSxF4II1BVhXxGXc 0fozCej1wiBl+UDkdpjw1+c3/QZDfyRES7KrL1XJqmBq9E3S4Akxy+JcR3IYPC3/+22I dHlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=q9H1XpCy8CyR9INgduSOiucnBNKn4ov8YVQr8IswE6c=; fh=p0uxtknzGtaGYcVcLqszGLPVo2ujnnetzTxb6WPHk9E=; b=ZLowmK3uZtuCaDcsGjTEJ0CxUXlVV43dDtuqPx0UOg6TGo5tQ5Y01rE4iuV97W+awi Zr5VK0XvqCijAMWffv6iTrpxNcRypioKvIGfM+CTrFQq3yelnTpNHRMmJBev9FJVbMhY q3AqL737NQ5Qz//670GCwaC/RqPrNgl9e7AKgfRh6Z9mgyM+YlaB9WaXCfmdIrlhmGXl GoYTE6KgLhlscH/99mf7eqFzuVJ9zuae9aSEWNkXFvmLZnXXgYTvF1vrBQ5Rc35xPTDw 7uIvl5aXF+i0quly6XGmrywUdldncL1RD19eMSIa/dcgZ48MFeT3bdwPk6OueI0BofV/ x7PQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=cL68Y2fO; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168847-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168847-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u34-20020a631422000000b005ce030a6460si5295130pgl.71.2024.05.04.16.10.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 16:10:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168847-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=cL68Y2fO; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168847-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168847-linux.lists.archive=gmail.com@vger.kernel.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 2760C28202C for ; Sat, 4 May 2024 23:10:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5307784FBE; Sat, 4 May 2024 23:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="cL68Y2fO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61F171E497; Sat, 4 May 2024 23:10:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714864218; cv=none; b=kaFnXpFH6/EQUdffKKCavpQvHyBIUfWZ0u1Wy5y0hy/nlPWN1liUkdMv2FqaPZQRz8JEmCf3bVmNAKc8BFonaNGpoSiRXMYPYKjQrITO+2m1xmuXyWxbIcR+mfRrqO2ygFVbcONzpSsfE+sKVRLERxq59avYOUu5HXqX2B7mZak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714864218; c=relaxed/simple; bh=FW6qoHbDHK21pEFQTCdCfOoptYJ3bNepxrOzoRzW6Mc=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=KmWq/E3X66rtUofLihF92QC+LUZxgMLMJS6NluSf+UNDFlwmt1aT1Mtyxf2uoW2XaEBqe63c6LK4UEy2LBDyl97Bxrn0oOw/DU6aE1DxE2V3J00lA9IC1+eeQa9SjcQlKzV/Yo0umFy4u4HnS4MCiMUNiKADf+C22mMq1PQhV1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=cL68Y2fO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF829C072AA; Sat, 4 May 2024 23:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1714864217; bh=FW6qoHbDHK21pEFQTCdCfOoptYJ3bNepxrOzoRzW6Mc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cL68Y2fO9JhsUEO7D7shlWzLxPAMDqhELYNeQWDMw2quJz1ADARZOuMJQU8RTRhJN APHGm25HCCPF9pqXA6rCffBxy5MnZzupzSunL7LONu06Ns4L1VHm2Vcwg1h8S6cnpk 2R7n77vlxal9uoveCagkdkEf9tlk93HQVgqGG9YQ= Date: Sat, 4 May 2024 16:10:04 -0700 From: Andrew Morton To: Sergey Senozhatsky Cc: kernel test robot , 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: <20240504161004.f5a0aab5e5aa1033d4696c20@linux-foundation.org> In-Reply-To: <20240504071416.GH14947@google.com> References: <20240503091823.3616962-9-senozhatsky@chromium.org> <202405041440.UTBQZAaf-lkp@intel.com> <20240504071416.GH14947@google.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Sat, 4 May 2024 16:14:16 +0900 Sergey Senozhatsky wrote: > 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. We don't want s390 defconfig to be doing this! I guess just pick one if none were selected.