Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp414009lqh; Thu, 28 Mar 2024 06:07:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcrUY00Zf1TvHAeg6dSNFl+XXX+B5amSZTubkcbK9iPIcYtbTqmEeFZLZ4n7LUl3aGtitZVsp2kKzOuLFNI6HwJmGRRxNlN5HFzuRbJQ== X-Google-Smtp-Source: AGHT+IEdXYkpYYN1SxV4v2suo5+XIyfO5Dl+vPgwHLFDLJRVQ3z01goiiMg3mdX7zz8qLJHIn2uh X-Received: by 2002:a05:6a20:5485:b0:1a3:be06:3e0a with SMTP id i5-20020a056a20548500b001a3be063e0amr3470472pzk.48.1711631278918; Thu, 28 Mar 2024 06:07:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711631278; cv=pass; d=google.com; s=arc-20160816; b=SAqH0zXJFJtjVObxFabSaYGRWklmQZPGdFhTco5zvdvW1hh8lauJ9OVnCQyBJp5upD 9cEYQq3IZd7vO1qqSJuiWJkOMRHOwBgBiTjhgmYAJoUerPVn2k29xBXRAXLG6gTmY50Q YoAkpwdbgG0TQtQMKY3y9uGiNLb7LWYgmWT1rhhIrHHCZAwV7OqMLQ1tCVTRThOD40Ch tvHOcudK/7l8mL1MemSUjEv6vEkBbLJTcW/WW1TLiuRMaZuiN28a4yygy+g25c35mU7p Sn8rGXcOF0sSzqjp+jAT0/A88i0t6n+m5QMPpe2S+yvQaN/sPRUFTnXoYF+2KCJ4duRM GpIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=+ST+yg0czhyrZf1nJK6EFWUhrUpM2bym36nkzoJlOEw=; fh=T+tkQaph9vVep5A2o1Rd2R33bARJOjqW9wvX+o5btGs=; b=OSUNtJroDW+5vJxxTjLGhgsGIpZOM1KRtbOQXdLU796oesSIahKz4v9kEMiHyjioRF 45Vh2jDTy9PxOtRT3z+kxQ1kSwyoMh3pninko4IBRojjreSKRSeo1MO9M1WpApXp27wv iXT9rofTZpbRFqs3aUWnQd5yH56ESPPhFjQ+3NX2KBDAT4kiLOtAe7R8XrXt/l7oEoL0 YnHlXNVI7RzyiLAjnqXLBCLVFHMRRPowq3/yPDy6ho1H0Ys5ZJwxSGbnsCjE5K0mimC7 KrP0c05W/BAWBikXN1AnhptIUFlL91cgC39SAUV+N/QpF0/CEBahO47qhfMcAHC3dWoH d9vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HRXvm0ap; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g2-20020a63fa42000000b005d7957d53e6si1373325pgk.678.2024.03.28.06.07.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 06:07:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HRXvm0ap; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 913E3B22028 for ; Thu, 28 Mar 2024 13:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7801F7EF0F; Thu, 28 Mar 2024 13:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HRXvm0ap" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A23E7E105; Thu, 28 Mar 2024 13:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711631270; cv=none; b=oPnaESiKrJQdujj7LGDuvDTaXlHl/3+qbjKhZBCxETFyHXUxzSEzusOK3lDhZXyIm0UeLBeh94DkctXo1Bh/SryAClBRvtnXn1iNXpGERZsVz3bmPSBE0plPDi6YRj5KgEpwM2yqIdfjJ6CljsJm1VFgBV4zFv5ov7SVazwQ0pY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711631270; c=relaxed/simple; bh=n3sgCTvXdScEHWS5sc+0tIaUwY4MGQOeVlMAcU8GRxM=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=c6BbUoTn+UXWOmdSdupjLE82l0TtTymL3KlsBayGJsAdEyQdY6jFvpD/egeQKXkZGInced52EmJfSZ+tjyNVMQ6SnOu5YJREl/IVkV5TqHVbVF7/4JR24Eanw+wGaAXOv9h5SD7k5ZddIcOXrjxojWENhIsUQg00PTwI5vxETE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HRXvm0ap; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BED26C433F1; Thu, 28 Mar 2024 13:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711631269; bh=n3sgCTvXdScEHWS5sc+0tIaUwY4MGQOeVlMAcU8GRxM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=HRXvm0ap7UxuutzO+R1lu9U4RyUO3+5ggjByG3IM1uGudUngkf+Mw2xBK5Op4MMT1 SHaIKjS5raIuq2/H7ViZs6f6hj8jozj/1H9PFcHYZcP3+Vc9Gy6kYBKFG2R/rngAil pMHmukugHxTuyPaWIGJhRKQGGRi5t4jAcq2/uwd3xsSjr8tDVsEZcp+5642B5i4vcp EiGq4MOtWprNg/WwPamqmdXSPS6tTqsqIZrZ/HYjoH/7llGx3LNTX3G3NacuqixuGO ignBaN5pFgzO8MKiyhafdstupmn+rJelYNmorm/ckT8mzM2NKjRHPWSYmiyG5405mY +MBYP5mM39A5w== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH][next] wifi: ti: Avoid a hundred -Wflex-array-member-not-at-end warnings From: Kalle Valo In-Reply-To: References: To: "Gustavo A. R. Silva" Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" , linux-hardening@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171163126667.129280.6353986762848602648.kvalo@kernel.org> Date: Thu, 28 Mar 2024 13:07:48 +0000 (UTC) "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. > > Remove unused flexible-array members in multiple structures, and fix > a hundred -Wflex-array-member-not-at-end warnings[1] in > drivers/wireless/ti/ > > Link: https://gist.github.com/GustavoARSilva/fbf63c114d01319bbd19baf95b4d704b [1] > Link: https://github.com/KSPP/linux/issues/202 > Signed-off-by: Gustavo A. R. Silva Patch applied to wireless-next.git, thanks. f4b09b29f8b4 wifi: ti: Avoid a hundred -Wflex-array-member-not-at-end warnings -- https://patchwork.kernel.org/project/linux-wireless/patch/ZgDcwIgxkhs6ZVdY@neat/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches