This is a note to let you know that I've just added the patch titled wifi: mt76: mt7921: Add missing __packed annotation of struct mt7921_clc to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: wifi-mt76-mt7921-add-missing-__packed-annotation-of-.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit fc8f119640ae3520bef5f38f522a3b027a82fea6 Author: Deren Wu <deren.wu@xxxxxxxxxxxx> Date: Mon Nov 28 15:04:21 2022 +0800 wifi: mt76: mt7921: Add missing __packed annotation of struct mt7921_clc [ Upstream commit e5c6bc6f19d8c293f86b347cddab54d5a3830b38 ] Add __packed annotation to avoid potential CLC parsing error Fixes: 23bdc5d8cadf ("wifi: mt76: mt7921: introduce Country Location Control support") Signed-off-by: Deren Wu <deren.wu@xxxxxxxxxxxx> Signed-off-by: Felix Fietkau <nbd@xxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h b/drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h index 2babaeff72ba..d36b940c0a07 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h +++ b/drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h @@ -171,7 +171,7 @@ struct mt7921_clc { u8 type; u8 rsv[8]; u8 data[]; -}; +} __packed; struct mt7921_phy { struct mt76_phy *mt76;