Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1451254lql; Tue, 12 Mar 2024 19:22:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWFaIH9t/z19dmTFVury9pBWJt9KoyxsGUdgPIFv5WfmbO77Gz4iEjxhJxjwivfKU18bF/EgKHTuqUZZNUYUePrjzS4wHhMj+BTsUiKA== X-Google-Smtp-Source: AGHT+IHZJA4SlF51ujqPF9ioWkzX3cJazvq3Roay8z5wOtIi0dKA3XOK41tm/SXNKT7QwiOfbFMz X-Received: by 2002:a17:907:c286:b0:a46:4c8e:1afd with SMTP id tk6-20020a170907c28600b00a464c8e1afdmr1678467ejc.6.1710296547259; Tue, 12 Mar 2024 19:22:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710296547; cv=pass; d=google.com; s=arc-20160816; b=WHDigmwkPoe/HTOPOmDJQdYQZxrFpSznwe9VKuIQX2k4g9CS0+/bn+QelFrlvXnFw8 Emol5ey7puw+oF1agsimjtQLOlmZdQGL9mkMKwQ15Lfhy/nq/MpsFyvpIyzOJb2ifMlt hT11b9QrQxcIXkeUKtEFhzLu1uDtepfGX3xPd53Cp1e8GAWvtKHfOWgpHoh9VNdVCyi3 6UHcPIlVdYJEN2lPGeSjUECZPTmVmtwEuCzVGzAUgfJl8lajS164A7ZENGCuUJD8aCXE kJ9C6fBOPUkzh6GJ16DBi1YTbI6uUtz1wk1CoLH1fk8Gl9vF8OCDckTorb8wm26vmm4l axJw== 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=EDBlmuEiB8Cx6bhoZiHLiBQXU1h9gyohAiwm8sZeo1o=; fh=yBOyagq8O4IKhRWhJSPp9ad5Wxa2TEnAhVNJR/gjKTQ=; b=SuA89VKI/DL7AUOiDrh8XB4NMVbYjNYbEVzc4D+UnmCZTytpON76hSCyWef3NItQeO +EkMmQgBr7Uwo9CWtxGgBzLGzcSyrmsugu8FeASkUVCPqXl7HDVyIzBt7tncVFDmBfO0 hj8k6W9hy2fXqeDKYSB0JpZe/AyrGNRciEHNO/8QpICKwPJtI4hR9Zk/BwDShbAXaBNt MNC4dhbQmEOJhktX+3PEqa8I+ck+BfgiJdXCg38Qu7HusTuyNKbzTu8oyt8W0dGuVG78 WgDlfr4mGb8ccZrzmf4vxiuYKmbf0nq7647cXmlbKQ9cYKEi4O0dCefFn0eVg1O3HcEU PHMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=liAzHQE5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qw39-20020a1709066a2700b00a44b9329951si3955939ejc.627.2024.03.12.19.22.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 19:22:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=liAzHQE5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0167C1F2257B for ; Wed, 13 Mar 2024 02:22:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 277531097D; Wed, 13 Mar 2024 02:22:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="liAzHQE5" X-Original-To: linux-crypto@vger.kernel.org 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 D1DE310799; Wed, 13 Mar 2024 02:22:21 +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=1710296541; cv=none; b=NxLMjZAztBJq4Mn5CJWZnJ9P/Mp6M4r6xM26ZCnViuo+ideBSjfcg2rtjLg271dLEGkSfwJLDYjS3l04lzmgfVgD3yDEv/BFPigRIFMsLO4rp+cuf1m+P2v/tw80OofDO1nUJ7PDDxpubm1nWRtqw4l4ekJhn8rr+7OaNLuFhzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710296541; c=relaxed/simple; bh=ldxtKrJbu43kvG/V9Bf8pls357tbK/PUoqfJe1t2P6g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZC6KlawnLnMFCWpAol6LdcpdSZjqio2YyE3yB8IUq+98ciQT5jdUCzm2qZEJdQ3lW3ZGvVxfHudnZpCtfUAFgXSW6x7pqyMDJ13DR1SUJu1AGlK66RmQ0xQ1X9VYjD8JPceZ3NQX3FWcPxzHedTU+DqkJ0acF2qpWmQOBHq2cxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=liAzHQE5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C785C433C7; Wed, 13 Mar 2024 02:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710296541; bh=ldxtKrJbu43kvG/V9Bf8pls357tbK/PUoqfJe1t2P6g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=liAzHQE54Rz+aSx7a9I8TQV7mNbI8P1U07aetWwefTj+5SPWcsE5r5BFva4oUiP3L 52W923SBPP/8Y8tSOP9Rg0oAu8e+Zdr6rCNYnaiSuhI1q1cbBCpp1dEs7W1bDHSJQC kpy2TeYC4UDgGKks6hq8M4vt6p/+pxV8aqes+6/hoQG7PDjKk9NGtaiLbCFLxiSRZ3 6wuwMm4WCCTmAHO/FLfFniUG7WDHJwuo9FQ1G14ENjTXmUvvIHJQeFw6uh2OrVJrc+ ejNtxsVDyj27wATJ6lG3/8xhdEtvSEEzW4nk4lBiEPJZo5miTbIjbJ5CH07nsJ0gpI qaEuEsDXvqkCg== Date: Tue, 12 Mar 2024 19:22:19 -0700 From: Eric Biggers To: Barry Song <21cnbao@gmail.com> Cc: akpm@linux-foundation.org, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au, v-songbaohua@oppo.com Subject: Re: linux-next: build failure after merge of the crypto tree Message-ID: <20240313022219.GC1148@sol.localdomain> References: <20240313020112.GB1148@sol.localdomain> <20240313021211.47293-1-21cnbao@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@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: <20240313021211.47293-1-21cnbao@gmail.com> On Wed, Mar 13, 2024 at 03:12:11PM +1300, Barry Song wrote: > > The only user of comp_alg_common was the crypto stats, and it was introduced by > > a refactoring of the crypto stats (commit 0a742389bcc0, "crypto: acomp - Count > > error stats differently"), so it seems appropriate to remove it for now. > > > > If you could go through my patch and explain what other unused code related to > > the crypto stats you might consider to be "infrastructure" that should not be > > removed, that would be helpful. > > Hi Eric, > that user is mm/zswap [1], apologize it was not in crypto tree. I guess you might > just need a new version to keep that one :-) > > [1] https://lore.kernel.org/linux-mm/20240222081135.173040-2-21cnbao@gmail.com/ > That code is just reading the algorithm flags, which exist regardless of whether struct comp_alg_common does or not. The exact way to get at those flags just changes slightly. - Eric