Message ID | cover.1692208802.git.gustavoars@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp869435vqi; Thu, 17 Aug 2023 10:44:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHb1XGjDAHBM6do0x8HvecJJupcGLllRN0Vxv7qw2rs+jA19eT1Xt5uKmTa1UbORIELVYqB X-Received: by 2002:a05:6a20:3246:b0:13b:cc09:a547 with SMTP id hm6-20020a056a20324600b0013bcc09a547mr354571pzc.36.1692294269923; Thu, 17 Aug 2023 10:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692294269; cv=none; d=google.com; s=arc-20160816; b=y8hqRwzCyx8nRJjKSr2raMlnCnMgrbDF9WtRTrS1kauKvMLuq9bt8iefWL2RsZI6zQ 3NeOT2w4EwvW1ibltiq2wayHWlsgPynPHpYRL2lUd6MNxYzAzDxJoSs+tij7xjjqhg5t ZZWXN0JPmJclOPP2Mi0eTyqkIgaFIvysCM5ACKj1M/tv9M8AdVzCfu5OqgVmTeHt83K5 4V5eu12Oq0NGBKWKpJcNzVxUgJu0YFomas8k43jXHWcW6rcCFk3y9Yjz8NT1vdgMp6Jj UPifFy0+G7RODWRdlq4Psa7v30MBLOLnx0BH+gBcxygP+8Gt+QqXACm5x9EP7ONITLQa cq6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=B324Cul0/m1pDD8I5wrMZuDjELDd3jsAImSKCi55CsA=; fh=63k/2nxKYwSvIOBIQmA3QPdOmdr34lTUWYnuhuabpEI=; b=lNP8XcG9WqfoQDZGkXzj+AokQna6k+dvppuM0Qkk54IJLWbhOhsF4RUYKehE7wWeJ9 tVkTf30XYf6JuQEKP3U56lDzzRJaBSyy+QTXyQjb5D5OiCV0Kh8s/CuFAA8AqphM7Atf x+5w6B6F0Y9r9p62GWAQxNDyjF0WqmsKTBCVuwJ4ISidmbg+XBTpYqbene9Ew5/ZAKnb hP8Xehdc1dmi5nD1FUbFo+NRNLthmpGsUGxiTUpFgovu6ThyMFPnxHKsWA4CMQY0qSBR ji6vDHO69Riw7+gT2sev+mVWWzyqhsjrSrBJw/d0SFFMrjBHJaDkmF+PGyRE2TtN0L2P CuVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HBWJCVNU; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u74-20020a63794d000000b00565f8d31230si2878602pgc.297.2023.08.17.10.44.16; Thu, 17 Aug 2023 10:44:29 -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=HBWJCVNU; 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 S239626AbjHPSCj (ORCPT <rfc822;274620705z@gmail.com> + 99 others); Wed, 16 Aug 2023 14:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345377AbjHPSCV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Aug 2023 14:02:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B9DB2D4E; Wed, 16 Aug 2023 11:02:06 -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 CD53061248; Wed, 16 Aug 2023 18:02:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35EC3C433C7; Wed, 16 Aug 2023 18:02:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692208925; bh=gp3yZZEYckBcBiq4VFVIch47+nBca1xYajti9VUSwiI=; h=Date:From:To:Cc:Subject:From; b=HBWJCVNUjtLnjIq8WbmJ2KGhH+Kd7ZW9c3uIHfULCLaiVFas0AR7vH0HmvENgyIiv tB8w0MflSTiexZe2Jx7YA+npAHAxRSy/sPomD/YPO7JQrBNY5m2jMSHvQ/DjeE1rFA BEHdJTWG5Qspj3bn0WMUS6AMEAAcTNKYb05Luu+QFRHcuTlbYC+JkU36dUDt0VS0Ti oq0WTMdD7IdOCLr7kMbz+fYq3ZITmkBI7fPuCgJI4VJ/ifMB2heemvLgZQWvn8wxqc +wXYcc4r0VRUoy/+1b//G4oBQWnrt74O8tF0B26JhrzLjJeTEHhvDFzQAgVP+Q8RoP v719CEBxHNTzA== Date: Wed, 16 Aug 2023 12:03:06 -0600 From: "Gustavo A. R. Silva" <gustavoars@kernel.org> To: Ben Skeggs <bskeggs@redhat.com>, Karol Herbst <kherbst@redhat.com>, Lyude Paul <lyude@redhat.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" <gustavoars@kernel.org>, linux-hardening@vger.kernel.org Subject: [PATCH 0/2][next] nouveau/svm: Replace one-element array with flexible-array member Message-ID: <cover.1692208802.git.gustavoars@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774499156240255137 X-GMAIL-MSGID: 1774499156240255137 |
Series |
nouveau/svm: Replace one-element array with flexible-array member
|
|
Message
Gustavo A. R. Silva
Aug. 16, 2023, 6:03 p.m. UTC
This small series aims to replace a one-element array with a flexible-array member in struct nouveau_svm. And, while at it, fix a checkpatch.pl error. Gustavo A. R. Silva (2): nouveau/svm: Replace one-element array with flexible-array member in struct nouveau_svm nouveau/svm: Split assignment from if conditional drivers/gpu/drm/nouveau/nouveau_svm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Comments
On Wed, 16 Aug 2023 12:03:06 -0600, Gustavo A. R. Silva wrote: > This small series aims to replace a one-element array with a > flexible-array member in struct nouveau_svm. And, while at it, > fix a checkpatch.pl error. > > Gustavo A. R. Silva (2): > nouveau/svm: Replace one-element array with flexible-array member in > struct nouveau_svm > nouveau/svm: Split assignment from if conditional > > [...] These look trivially correct and haven't had further feedback for over a month. Applied to for-next/hardening, thanks! [1/2] nouveau/svm: Replace one-element array with flexible-array member in struct nouveau_svm https://git.kernel.org/kees/c/6ad33b53c9b8 [2/2] nouveau/svm: Split assignment from if conditional https://git.kernel.org/kees/c/4cb2e89fea5f Take care,