Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2950999rwo; Thu, 3 Aug 2023 18:46:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGi58JhAET/A7UKVlto1bebtY+WqxPjRw9Ttzdc89tm944VS5Mz5HmFJOfuedmHrF/CzJIa X-Received: by 2002:a05:6402:1859:b0:522:9ead:56e4 with SMTP id v25-20020a056402185900b005229ead56e4mr408981edy.1.1691113563404; Thu, 03 Aug 2023 18:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691113563; cv=none; d=google.com; s=arc-20160816; b=jpIBOGBxQIEVBjBo090l3+MXZfwOlOo3M66aPlYc1EoPy7ZNCcKZsENyVosa4Kxoio aA3Tioc4BCIZ4fOzzkyjCJF0LePYtJVjijFVQ/cmbubrtyOg5L1+JXbk6bralRiAJEK2 bnEO+0fmOYYCR3w9Nk1zCEwq+i9tKVzun9NLPB8uAHrlUCQnYUvDXsE46kIyK78B2W2M 72xpprgjLmTi1H10wIkwvFwniSC46c7pk47gbLZQEsbxQGdqE4VFuuEg0KnESGBVcV+1 r72Ne4ktur8nqniKBbqFPRcDC/ci8/520JtYkAbbLByMtnc68xSK9ZSrUidJsDR+xbW4 UznA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TPDYq/13b+187Q0SS/vTNVpKl0QGMUe23edKdHdTGg4=; fh=NtuXf5hjdq6G7EyBmAu/EMbnEWnUT4EDijs0hnjVwg4=; b=azlCQrBHe56YeGPgwPMcfFb4BTU/+6cYO3YisuVm2hcRcodnlB0JyLDaC4U7nuQqt8 iibyMFdh+4Aq3b5xxiLS9k1OApo72yG0toHk1QyXt01Rqw+yiTaDyI5NiinP+agLVj5b 3s2DfunVWdWAAzk7X9c28PfDBCm1kSwxe/kBrH1K1ywfGjOe8oO9OQb99QlGiWyA9enz C/fNfcuFR0UfXr2Zt7jnAVdUq0DLqVmOL3U6HEFznYM94a9DiSkUzCd1kJkrByRDwF7u jihWACl5Yrw21hyl916bQaxxVkQph2NwzxavAmqcsMJ1gMwyHiMRGSeboXOiJwDlXCfO e7LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=lW4POMbZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a50ee8e000000b00523073906f2si252150edr.536.2023.08.03.18.45.39; Thu, 03 Aug 2023 18:46:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=lW4POMbZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230236AbjHCXNj (ORCPT + 99 others); Thu, 3 Aug 2023 19:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjHCXNh (ORCPT ); Thu, 3 Aug 2023 19:13:37 -0400 Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DC1030C2; Thu, 3 Aug 2023 16:13:36 -0700 (PDT) Received: from eig-obgw-6004a.ext.cloudfilter.net ([10.0.30.197]) by cmsmtp with ESMTP id Rfjpq3SjmfaVXRhVfqcha8; Thu, 03 Aug 2023 23:13:35 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTPS id RhVeq4yE3s12sRhVeqGTLw; Thu, 03 Aug 2023 23:13:35 +0000 X-Authority-Analysis: v=2.4 cv=Jt3iEe0C c=1 sm=1 tr=0 ts=64cc349f a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=WzbPXH4gqzPVN0x6HrNMNA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=UttIx32zK-AA:10 a=wYkD_t78qR0A:10 a=VwQbUJbxAAAA:8 a=8y0NZTZfdASZg88ec6MA:9 a=QEXdDO2ut3YA:10 a=AjGcO6oz07-iQ99wixmX:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TPDYq/13b+187Q0SS/vTNVpKl0QGMUe23edKdHdTGg4=; b=lW4POMbZZz8pdEiKWDgfiN+/9G FFTf8XTZRaPbjuVyDp9s3tDARPMd8d80llkfksYznfqBS2D2vEroKNJPX+tqdymbRdh7tTVBTkkjP zFj2RLi0w+OQqoANkn5lhj75zaheouGr7u7TMfYX/KFpYRuiEawzTJVGeLcxs4ckYmvU8eGU5Na5i Nace+k1AnA78H3qOBesKrDdqR7Nr3Z+5yo1gw2YoJ2FT60oFQ+jnuo+qFyMwa8FS18tC97xYebAOi if+uyf10osJrXShxk+Ue12tb3mQec1+EO39g5Lf/+HB1Im0CErSXFR4w5ICfEpTszM1Vi6YRuhZt2 ULk6K+ew==; Received: from 187-162-21-192.static.axtel.net ([187.162.21.192]:60340 helo=[192.168.15.8]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1qReTt-001xR4-2u; Thu, 03 Aug 2023 14:59:33 -0500 Message-ID: <5979a609-beb9-d622-d8ed-8d01afb56ff4@embeddedor.com> Date: Thu, 3 Aug 2023 14:00:39 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH][next] RDMA/irdma: Replace one-element array with flexible-array member Content-Language: en-US To: Leon Romanovsky , Mustafa Ismail , Shiraz Saleem , Jason Gunthorpe , "Gustavo A. R. Silva" Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org References: <169108630160.1408615.8996122913079845353.b4-ty@kernel.org> From: "Gustavo A. R. Silva" In-Reply-To: <169108630160.1408615.8996122913079845353.b4-ty@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.162.21.192 X-Source-L: No X-Exim-ID: 1qReTt-001xR4-2u X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187-162-21-192.static.axtel.net ([192.168.15.8]) [187.162.21.192]:60340 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 0 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfKjlMT4GktZ4hGLzk2QkEhdDpT9wO68m7uHEhCJ3tMOz+ImM125GTz0+aAE/wPrMsgnl0IQv6Wv2W3vzGF4vlcSGyJvdSAgtQ8v23bLBo4cCMoJggdaK VZAThFxVhSE8L88A/KJLWY+emcuiUsuSwpqCXFSc/XFLOuOcI1v13hQnsCwN7S4mbk/iIE3OvkA5aAXXPH0kYT4+Bg2UHCQLpxsWQP4mHSCUzfxhi1BfkFPk yz6a26PXzhkyoaaCMoODqmHcQ03DlRiOa00aUUqKsL0= X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/3/23 12:11, Leon Romanovsky wrote: > > On Wed, 02 Aug 2023 08:46:26 -0600, Gustavo A. R. Silva wrote: >> One-element and zero-length arrays are deprecated. So, replace >> one-element array in struct irdma_qvlist_info with flexible-array >> member. >> >> A patch for this was sent a while ago[1]. However, it seems that, at >> the time, the changes were partially folded[2][3], and the actual >> flexible-array transformation was omitted. This patch fixes that. >> >> [...] > > Applied, thanks! Awesome. :) Thank you! -- Gustavo > > [1/1] RDMA/irdma: Replace one-element array with flexible-array member > https://git.kernel.org/rdma/rdma/c/38313c6d2a02c2 > > Best regards,