From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 019E5156237 for ; Fri, 26 Dec 2025 06:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766729658; cv=none; b=MkuAq2htV/QsAURu3aZpLR+sc+ixZR7/bBxU2jd0FAwj6+huhwUDv7Yqvoh7KgFI52/oB/0SISuvvdJA6sZuE1cgYYyTHKjiJ0tITgmo3H+uOJAj/GrHjvqOIkDGdYx/6HohvxFOnOKdF5ubz1n0u4EqSF6O31mWZEPIC+nD5Po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766729658; c=relaxed/simple; bh=535xoqcKcYrPQXsntCWwNVnjVyQ4BpkcbelfQpPn0bY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q6EPn7/aZZT7iF4axbnuLbrveUoN/fsJ9T3LKZDufhBRUHktA3+AMJ8WSfN5p0s3BhaDLVcw8FLSy96zud64qGH0X4Xk/y7WQ7z0x2qGG+XOL9ibXjwtXbKqg8q+hUVvOrEzrt7LFTA11I9QN9jsOovSTfSvILGt1jvdftnIXG4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=a/kpibou; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="a/kpibou" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1766729644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tfYE72kf/YHok1dgp72c9MA+z2NRqHpakm9XDgwtvRw=; b=a/kpibouIisaP/WAgPGwZdHT+JJBsAdBmJF6HIXUZ8pe/8WeB0MCxfXLQK6JiGJmGa0zC1 38ImyqTCgjZV+oaSwC3txF2BZJ7rx3guXdqtcpf87ZIwJuU6e+xCG1j3AF3yloVo1cTiVg wMtUPKhVLFt2uR7M0rSP8azmHzZHXXI= Date: Thu, 25 Dec 2025 22:13:56 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH][next] RDMA/rxe: Avoid -Wflex-array-member-not-at-end warnings To: Jason Gunthorpe , "Gustavo A. R. Silva" Cc: Leon Romanovsky , "Gustavo A. R. Silva" , Zhu Yanjun , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org References: <20251202181334.GA1162842@nvidia.com> <5ac954bb-ad4d-4b4c-b23b-47350b428404@linux.dev> <20251204130559.GA1219718@nvidia.com> <80620d09-8187-45b1-a490-07c52733ac21@linux.dev> <2191ee0f-a528-4187-ae5b-5aba18741701@linux.dev> <7e3a294f-5dc2-4e8c-aacc-0286c1592038@linux.dev> <20251218155623.GC400630@unreal> <5d950681-7f16-4b1e-a512-b118c747ffd7@linux.dev> <20251219142600.GC254720@nvidia.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: <20251219142600.GC254720@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 2025/12/19 6:26, Jason Gunthorpe 写道: > On Fri, Dec 19, 2025 at 11:51:54AM +0900, Gustavo A. R. Silva wrote: > >>>>> Any update? If this looks good to you, I will send out an official commit >>>>> based on the following commit. >>>> You are RXE maintainer, send the official patch. >>> >>> Will do. I will send it out very soon. >> >> I don't see how this addresses the flex-array in the middle issue that >> originated this discussion. > > ?? > > It moved it to the end of every struct it is part of? Any update? Yanjun.Zhu > > Jason