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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F978C433DB for ; Mon, 8 Feb 2021 11:26:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2446964DD8 for ; Mon, 8 Feb 2021 11:26:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233223AbhBHL0T (ORCPT ); Mon, 8 Feb 2021 06:26:19 -0500 Received: from so15.mailgun.net ([198.61.254.15]:59512 "EHLO so15.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233251AbhBHLXX (ORCPT ); Mon, 8 Feb 2021 06:23:23 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1612783378; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=kaePMlCE2vwAdOb7Uk4NZAv0qMBL0UMQf1qtACerNDs=; b=dcGs1JyDyiF2lETnsh+WnxopKK8MUT1C/pMieDIYC+DqtYgucDPhk7CMoDliWMaf2oD0CbxM EMRAeXJo4OYwd8KdDuABfzVjVyiwIE3nVg/3LDXQMZd0TN4+5R/zZIjWTpRy4+fuxymfTK8c Aar2S6cwV9lbLPt3cyFMCeJkGOk= X-Mailgun-Sending-Ip: 198.61.254.15 X-Mailgun-Sid: WyJiZjI2MiIsICJuZXRkZXZAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 60211eed830f898bac3d73db (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 08 Feb 2021 11:22:21 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A18EAC43464; Mon, 8 Feb 2021 11:22:21 +0000 (UTC) Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 27F94C433ED; Mon, 8 Feb 2021 11:22:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 27F94C433ED Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wl3501: fix alignment constraints From: Kalle Valo In-Reply-To: <20210204162653.3113749-1-arnd@kernel.org> References: <20210204162653.3113749-1-arnd@kernel.org> To: Arnd Bergmann Cc: "David S. Miller" , Jakub Kicinski , Arnd Bergmann , "Gustavo A. R. Silva" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20210208112221.A18EAC43464@smtp.codeaurora.org> Date: Mon, 8 Feb 2021 11:22:21 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Arnd Bergmann wrote: > From: Arnd Bergmann > > struct wl3501_80211_tx_hdr contains a ieee80211_hdr structure, which is > required to have at least two byte alignment, and this conflicts with > the __packed attribute: > > wireless/wl3501.h:553:1: warning: alignment 1 of 'struct wl3501_80211_tx_hdr' is less than 2 [-Wpacked-not-aligned] > > Mark wl3501_80211_tx_hdr itself as having two-byte alignment to ensure the > inner structure is properly aligned. > > Signed-off-by: Arnd Bergmann Patch applied to wireless-drivers-next.git, thanks. fb1bc2ce3a55 wl3501: fix alignment constraints -- https://patchwork.kernel.org/project/linux-wireless/patch/20210204162653.3113749-1-arnd@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches