Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1322248rdh; Mon, 25 Sep 2023 09:11:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFke6zqotctVRvs9ShzstdnQQXgQPABvImf2KCwZSIHE+j/Io+1MoSUmQ3RhbnXk5Y3vvt2 X-Received: by 2002:a05:6358:4283:b0:143:9b23:e850 with SMTP id s3-20020a056358428300b001439b23e850mr9212121rwc.24.1695658262659; Mon, 25 Sep 2023 09:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695658262; cv=none; d=google.com; s=arc-20160816; b=uPG1PO0xSqDKF2fjCoebL2e5GKsZJbleGVof2r8CeSMW+tISULDlnBtqxf6pQQOPiw i1k/DnwLi1+M9wYDuqF4yrSpdip17U2rMP82sS+AHf64kwmkdajTwuVE3ab7xuFfoOii lFO3VwvdiYB2mTXMTzkNPQM+MJX6VJnVymzljXPdTgWhqT3OMVGDo0yFa4opZkyED84H G3ouA1WXokqE1IZYqChDvEz8/S+/VjztrC9uSiC048akK4rkj+VdGx8nGnYOpEiUny+n HzhNks/7GZT5RGp3FkiGipzxVH6VeIQXcBjaTZA6StXz4+rsjjkv2PnvB/dVh8dWfRGL T6Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LtlfjwxNMXmn7hcV/sSBsILeKGAmOGXDA3zDfbPA+Jk=; fh=QNHOiPR/OtuqMDdjDS7eugHlH7kNy5SeyfiaXVtq68Q=; b=Z1cawTTX5evyZJZ4sAkm8JCdkmUtBOL6kPfJfChO4BrU/tvIOxiKdsVscWnBhGeBM2 m9Ep085NyPt3pW14bD16+9rBhjUoSLueL1Yaafwi8QQhRUomFwuwwTMIaYjUkv62vqKv r9IhknnGUy1QKajpA33xVELpZ/+yGI4nWvZrct3DN9kk8EWEe/7trLk80E4OTaBBr5D5 erwhaJnML1yWvBNrkm3wNfNuoZekSTCy/bJSvtY36t15VdKiWWNRF+KMf7KreYeaSu+1 kord6kjbFw5ooxl7NRmTVII3CCE7D3X6SYgkKCFcA6gLLmSPjW9WSt7kz/tQ3z4bRQ84 RgjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T0MwjoFQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l62-20020a633e41000000b00569362d6cebsi10016217pga.2.2023.09.25.09.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 09:11:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T0MwjoFQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0FCA081142E2; Mon, 25 Sep 2023 08:54:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232831AbjIYPyg (ORCPT + 99 others); Mon, 25 Sep 2023 11:54:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232596AbjIYPyf (ORCPT ); Mon, 25 Sep 2023 11:54:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 647E292 for ; Mon, 25 Sep 2023 08:54:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39800C433C8; Mon, 25 Sep 2023 15:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695657269; bh=VbwuYfSftjz4yAlzxKgg+THJnGjMCtfrUoHPB+hCAGI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T0MwjoFQyuNUeUaE2hTBr1gh5Sz2OLJTVdVvw/FqELkETvLI8+stNeQMILiRP9run JxmrQiDjBbqisGW9HmUZ9VZk3XCZ0aCMX85iw6YApZZAb/bALSjfpWyMs6m1bpkGL8 PvbC1Y6a972zMHFwHd64OZ7QUcGSj0MgNsPDC1FwJfM6EpAyvupj9elnTaecoOEIhA wCIjC7c9cDCiwKCjm6gx1zwtG1tcepvTy7mmHHz238J7yV1entUqyjQ/hjd4y0/g7t G6VNZiH2lKqVvdxEEt+HeOl6zm5UQnNE9xrVHpnGGD9n0jbKDf87KGEIABFNd3tzRY c832cDme1GApA== From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , Philipp Hortmann , Tree Davies , Yogesh Hegde , Sumitra Sharma , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: rtl8192e: remove bogus __packed annotations Date: Mon, 25 Sep 2023 17:54:04 +0200 Message-Id: <20230925155413.471287-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230925155413.471287-1-arnd@kernel.org> References: <20230925155413.471287-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 25 Sep 2023 08:54:52 -0700 (PDT) From: Arnd Bergmann The rtllib_rxb structure contains a pointer, so this is not a hardware structure but could benefit from loading the pointer in a single instruction rather than assembling it from four or eight individual bytes. Both structures are allocated as part of larger structure that already enforce at least a 4-byte alignment, so there is no reason to ever have to deal with misaligned definitions. Signed-off-by: Arnd Bergmann --- drivers/staging/rtl8192e/rtllib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 7d26910a0b162..fe7b58ae33995 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -172,7 +172,7 @@ struct sw_chnl_cmd { u32 Para1; u32 Para2; u32 msDelay; -} __packed; +}; /*--------------------------Define -------------------------------------------*/ #define MGN_1M 0x02 @@ -707,7 +707,7 @@ struct rtllib_rxb { struct sk_buff *subframes[MAX_SUBFRAME_COUNT]; u8 dst[ETH_ALEN]; u8 src[ETH_ALEN]; -} __packed; +}; union frameqos { u16 shortdata; -- 2.39.2