Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2595087rwo; Thu, 3 Aug 2023 11:43:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlEuZbrAKatfkfPt2cc+3oqQunR4fTz/zpuueO02TJY4i5p0diLXxDqUZRtXJmansKrEx4pX X-Received: by 2002:a2e:9c99:0:b0:2b9:e701:ac4d with SMTP id x25-20020a2e9c99000000b002b9e701ac4dmr7292364lji.26.1691088225847; Thu, 03 Aug 2023 11:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691088225; cv=none; d=google.com; s=arc-20160816; b=zMBizNTb0ry2Dd/5DWoyeLFvqP5FYQbJJx+kF0G4f1MXrvSh2akpEEUpmTMGAdN9nc yJEWK2mfnrRmtfmVd0rzv2tg4o4Udxcx+TM2yuSYD8Wuww1mNwePh83yBbxfzmqXJ8cQ wt9cn5KOilcVq09ci/2/tRq7bjFtMr+K2TzEmfurqNSMhKm6WRyn+1NLy94GqeqYOTSd E8Gx1Lc5LCuhhFhqYBmzrHCeZerfMo3ZNVWak5bI7NsTKq09PHLMCRW4uHxY0VA6HtuX 56o8feZ1epb8Z48nRh6BzGS0eiROGfKptD0q+Q8DlHTY58eEFBsztbvB/0suDE6TpCyK Sq7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=p/BPkswcrf6lBqMKCarkt6+6BoRjHC1CIco/FyXrdMo=; fh=21rPaikHWT3daG/nTw2OojcU2uuuhaxvvB8OnBpteR8=; b=k3sWfLcM5e6afXifdkv6nYnhsjoiqX3kswxSlXRrtxAslhcWqT9C0fmgyEHUf0r1C0 dI9pW2yePvGVDblHkYdTh4ZfCbqbK55byeBx0ZgoDURpOQpfHHzlI4n2k3MKGDD+YVxU CyS39q8/u4luzI3kfv8H3TG8mUOhFZIB8XdbksUDQq9b4UqhDmWM2ujoUUL1DQ9VGIcb SJ5Lvz6Rr21kMaA1Cn+asXYnoXcyoxtTZRoNTCuJParXOFpOl4ahSTo6RrpwL7DSAAAF vl5/AAvnb3TqDdS/BYHS2FjGFeQ/K9XBA6jJ4CELgfjBs7le/k/NDMVWSa4rjvtNWaM6 uyZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tPaZ82qS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a170906770c00b009952c411259si249875ejm.197.2023.08.03.11.43.20; Thu, 03 Aug 2023 11:43:45 -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=pass header.i=@kernel.org header.s=k20201202 header.b=tPaZ82qS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjHCSLy (ORCPT + 99 others); Thu, 3 Aug 2023 14:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjHCSLs (ORCPT ); Thu, 3 Aug 2023 14:11:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47A6F2719; Thu, 3 Aug 2023 11:11:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D92E361E56; Thu, 3 Aug 2023 18:11:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5AB8C433C9; Thu, 3 Aug 2023 18:11:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691086306; bh=IsRDMEurSgruTHOOmrV+hF8ghyu+Q4Im5/V0AR7Pg8k=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=tPaZ82qS+DmKYBtpNtOY9TBL+32QrKH86QT1GUPcvS2+gBk81tVkqhSMS+5ej02Qg KmHQPhzf4qlkBDokqwHNO3wGz+JfaXKlTi20MCzbkpaNJb9ONyEI20hSRdUDWWC3cd sHgvBd4/R92GnM1uX+/xClBebg/8dptFU03ExrnqgOJNF3iBJxfrESAKtjx/HNK8Zs uBy7p2w5+VHN55wNZlYZdvpPf5lhyJcDGMJ2dEHlrdgSg9oVr2gDM7LpNPSNdiZjRa 5iv6JtXKHtEF7QTXULWYamED7LCWwELohT+jcqf3DEvnPPUGpzkBdzFETVik3z3abv tS3DG2Az3DQhA== From: Leon Romanovsky To: 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 In-Reply-To: References: Subject: Re: [PATCH][next] RDMA/irdma: Replace one-element array with flexible-array member Message-Id: <169108630160.1408615.8996122913079845353.b4-ty@kernel.org> Date: Thu, 03 Aug 2023 21:11:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-a055d X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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! [1/1] RDMA/irdma: Replace one-element array with flexible-array member https://git.kernel.org/rdma/rdma/c/38313c6d2a02c2 Best regards, -- Leon Romanovsky