Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp155925lqh; Fri, 3 May 2024 17:26:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqhSPAAnm1yFx9C8RiNqF2MoEFz6rKmS/i0nVLYaXJSqmNtbyCMSG6f2nbAZkZzpp/CO+j/n4WUC+n+3HDPBNjw46KfL35KYA01zpN9w== X-Google-Smtp-Source: AGHT+IG9x3eU9WG9Si9C07kJmEqBPPFPvBa01EHR80tQDDJc24Awsvv1NGxCAjjGjk1/mu5Ux5xB X-Received: by 2002:a05:6358:99a0:b0:18d:90f1:e79b with SMTP id j32-20020a05635899a000b0018d90f1e79bmr4948618rwb.2.1714782369915; Fri, 03 May 2024 17:26:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714782369; cv=pass; d=google.com; s=arc-20160816; b=JWy/XR7j+xL+djbAF9Gkw4+wt4KwLU1kKHoYMlE9Sn+2YpLxEmlkHaKW/G1dr/7umQ jaisuRfW8INpqwX4dO4qziUiFrjmSR0D856aiM83Muict0d1j+efKZP44Dos9+e+ty/P h6dmWv47YkeNsyGbqCSKXhBf/THhnWrIv1bp7neUMFFmoYnpB0gbHTLSczKHLBE7H7rz fzSm/iddeiMSCeae8mxCDqXYOea+Zni/CDdvf/9pmv26adsfdbC9E6a0ltk6QvWM3NRx uuseyo0oD9bOm5WPQyUHqXkahAKRSI75kAWpWCm0vW8quw9p3/P1PGWmWa19DydUzj5X YnEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:in-reply-to:subject:cc:to:from; bh=vv+TsFJgBQ93rt/8iaikmDxsE32090gHeXlcvSIOqgQ=; fh=tE1zgEetImy6EIba2IKIyIydQb/hiCEgYkhXMCLuvew=; b=bB1Q5rQBz5dkR/TE6MGGsEGnYdhMDL+pYFh9MGfPbFTF/cJ0zfmBVjx1QgmYDpF6v7 GSK1wutrfcDX6QptghjZBirBg37YMa8HpEfH9GfllHkgPX5ChTzXXeBrcr3lXqsqPYxi faBi9VuRxe/Kc5+eI0vedDBEL+5OF1jT0vJDxdTSrQjq6fFOtit95iaa/k2w3tGSDO+I SF2UwZ+rw3Ffjq1j14Gsw+8AOGgm7MUiNp37jAoT/PcMHrRecBYbGUGdVT5ULudTETge Uwwq3RsbK6PdP3oxvIHmVVQbED4vcDjQxucjT1UuTc5LNHxmUAhiMHI8tu5sgWnDtnSk GvIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-7155-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7155-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e14-20020a63500e000000b005dc8a33fcc3si4067474pgb.653.2024.05.03.17.26.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 17:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7155-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-7155-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7155-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 80D84285ACE for ; Sat, 4 May 2024 00:26:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFC58803; Sat, 4 May 2024 00:26:06 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93FB8A21; Sat, 4 May 2024 00:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714782366; cv=none; b=PZz5dAXAduhJrCPbD0h6Aq8z0v2LLg5cbIiCyL8YdKg9dUqlCyvLCyb/JwwHZpEp+xFujQ+v+/cD0ol+UgM4giIVELCr/6F7T0731eOQpUFAhvsB7Vu0B6d23pvxfgYc7JoamBFOvhwluRnyEwvchqc/WEheFh+Ig+b9IkoBL40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714782366; c=relaxed/simple; bh=MafHGzBt7sHBW52cHcX1MvDfWRB49BMtHDwyiMLLT7o=; h=From:To:CC:Subject:In-Reply-To:References:MIME-Version: Content-Type:Message-ID:Date; b=FvnYOhSvO1kdtJ7suqjK6Rj80g7fGLK6VnIdBH1Yf09g41eMFY625QNMBH5nRZBu9DdEjCn8cWgvNGV0fj0ayivFblzREpGfjNagdz+wscBU7sfjJocMQUdkC1n32Zw+8oeXrbCWLU/0RhQHLwtrH0T8c5rC44Mqfjjw9o09lIk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 4440PveoE4012706, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 4440PveoE4012706 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 4 May 2024 08:25:57 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sat, 4 May 2024 08:25:58 +0800 Received: from [127.0.1.1] (172.16.16.175) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sat, 4 May 2024 08:25:57 +0800 From: Ping-Ke Shih To: "Gustavo A. R. Silva" , Ping-Ke Shih , Kalle Valo CC: , , "Gustavo A. R. Silva" , Subject: Re: [PATCH][next] wifi: rtlwifi: Remove unused structs and avoid multiple -Wfamnae warnings In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Message-ID: <9558c2de-8d43-44bd-a9f6-b557391fd1c7@RTEXMBS04.realtek.com.tw> Date: Sat, 4 May 2024 08:25:57 +0800 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) "Gustavo A. R. Silva" wrote: > Wflex-array-member-not-at-end is coming in GCC-14, and we are getting > ready to enable it globally. > > So, remove unused structs and fix the following > -Wflex-array-member-not-at-end warnings: > > drivers/net/wireless/realtek/rtlwifi/btcoexist/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8188ee/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8192c/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8192ce/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8192cu/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8192de/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8192ee/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8192se/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8723ae/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8723be/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8723com/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/../wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/net/wireless/realtek/rtlwifi/wifi.h:1063:30: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > > Signed-off-by: Gustavo A. R. Silva > Reviewed-by: Kees Cook > Acked-by: Ping-Ke Shih 1 patch(es) applied to rtw-next branch of rtw.git, thanks. b3e11ee3b97e wifi: rtlwifi: Remove unused structs and avoid multiple -Wfamnae warnings --- https://github.com/pkshih/rtw.git