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 83957C04A94 for ; Mon, 14 Aug 2023 18:29:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231433AbjHNS2n (ORCPT ); Mon, 14 Aug 2023 14:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbjHNS2R (ORCPT ); Mon, 14 Aug 2023 14:28:17 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4243F171B; Mon, 14 Aug 2023 11:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=FgCusAeBpy6xluPe2GxBfabcialAIc5NfedwcMC+0Dc=; t=1692037696; x=1693247296; b=bwLiQmJm4xufPLlvsz18C8z9H+KgzuckeDum54esgYBL5al Z9UTDkcXvVN4BL//zTpu3LM68P7B4JPFFdbNV+7SIuuXvTUUfv/OQfMBQcGicUwZX+1kfPDXPSota TDWxaqbhg03EMuHhfWQFWaM8zPrcg2l2+2Ups4LWPCO2wxtuFWf1Rq7Am3tc61IJzQexrmnYZZhhu RrnXPBC1RUfllLt13uYREY6NJm6BL7jABs9okyKoV7WpDzEgUZH160S1gUaKPYU5Ok1+e0+SfOxLx LSgj7dijxLep7lE7XwltIiamO2uZxJlUYi90t8q6Rh2gxd0g7IvukpW1cacCN9Kg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qVcIR-007B24-0c; Mon, 14 Aug 2023 20:28:07 +0200 Message-ID: <9a6b2c18b599e5c2e7cea99fec84a4ecb5092da5.camel@sipsolutions.net> Subject: Re: [PATCH] iwlwifi: dbg_ini: fix structure packing From: Johannes Berg To: Arnd Bergmann , Gregory Greenman , Kalle Valo , Luca Coelho , Shahar S Matityahu Cc: Arnd Bergmann , Mukesh Sisodiya , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 14 Aug 2023 20:28:06 +0200 In-Reply-To: <20230616090343.2454061-1-arnd@kernel.org> References: <20230616090343.2454061-1-arnd@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2023-06-16 at 11:03 +0200, Arnd Bergmann wrote: >=20 > As the original intention was apparently to make the entire structure > unaligned, mark the innermost members the same way so the union > becomes packed as well. Hm. Not sure exactly what you mean by that, but shouldn't we make that "union { ... } __packed"? johannes