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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B6E5C6FA82 for ; Tue, 20 Sep 2022 01:47:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbiITBrJ (ORCPT ); Mon, 19 Sep 2022 21:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbiITBrI (ORCPT ); Mon, 19 Sep 2022 21:47:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B539153033 for ; Mon, 19 Sep 2022 18:47:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6FB8BB82355 for ; Tue, 20 Sep 2022 01:47:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9A8BC433D6; Tue, 20 Sep 2022 01:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663638425; bh=nDFIqodxpbs8ibNfn4G47eAf/N9PK5QI9IfUONNRk5w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pDs6+cu5R+ixEwE+Ah0116izwS5fxNBad8E0D4dud+IXTyUlnxlGJlWjXRa7hpB+L mMWFU2rfCoJI3ssmoUTK4SglRNAGyzjUJUi87hOyCeGRDLRgM0ppjR07lKxEtSAYBA aisxdLGL4g99mKFEtX1QhHXIwWKmwfgy9cuzZ9htTY2Gf9DUaYdogmBwou7Dv0XzIe 0MUiJCLc94RR03ZWbNVQO9ZlCFGNkw7Ju5fAtGODX/9MbRg7idqTx00Q7NHhrEElqE rlOaU7ohpIOPbgp9FJr8RUIBjWt3pmG39bsvcY3Xv9UDzjZ2UQ/0AhYI29yWkN+Q1+ 5Ydn/jpA4oIZg== Date: Mon, 19 Sep 2022 18:47:03 -0700 From: Jakub Kicinski To: Gal Pressman Cc: "David S. Miller" , , Saeed Mahameed , Tariq Toukan Subject: Re: [PATCH net-next 1/4] net/tls: Describe ciphers sizes by const structs Message-ID: <20220919184703.5e0d2d44@kernel.org> In-Reply-To: <20220914090520.4170-2-gal@nvidia.com> References: <20220914090520.4170-1-gal@nvidia.com> <20220914090520.4170-2-gal@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 14 Sep 2022 12:05:17 +0300 Gal Pressman wrote: > +#define CIPHER_SIZE_DESC(cipher) [cipher] { \ I'll hopefully get to doing more meaningful reviews tomorrow, but in the meantime please send a v2 fixing the compiler issues. This macro makes gcc unhappy, should likely be [cipher] = { ?