nouveau.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig@amd.com>
To: Rikard Falkeborn <rikard.falkeborn@gmail.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org,
	Felix Kuehling <Felix.Kuehling@amd.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Ben Skeggs <bskeggs@redhat.com>,
	Alex Deucher <alexander.deucher@amd.com>,
	Likun Gao <Likun.Gao@amd.com>
Subject: Re: [Nouveau] [PATCH 0/3] drm/ttm: constify static vm_operations_structs
Date: Wed, 10 Feb 2021 08:45:56 +0100	[thread overview]
Message-ID: <e819cb08-98b6-c87d-4d95-338e06f88a48@amd.com> (raw)
In-Reply-To: <20210209234817.55112-1-rikard.falkeborn@gmail.com>

Reviewed-by: Christian König <christian.koenig@amd.com> for the series.

Am 10.02.21 um 00:48 schrieb Rikard Falkeborn:
> Constify a few static vm_operations_struct that are never modified. Their
> only usage is to assign their address to the vm_ops field in the
> vm_area_struct, which is a pointer to const vm_operations_struct. Make them
> const to allow the compiler to put them in read-only memory.
>
> With this series applied, all static struct vm_operations_struct in the
> kernel tree are const.
>
> Rikard Falkeborn (3):
>    drm/amdgpu/ttm: constify static vm_operations_struct
>    drm/radeon/ttm: constify static vm_operations_struct
>    drm/nouveau/ttm: constify static vm_operations_struct
>
>   drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
>   drivers/gpu/drm/nouveau/nouveau_ttm.c   | 2 +-
>   drivers/gpu/drm/radeon/radeon_ttm.c     | 2 +-
>   3 files changed, 3 insertions(+), 3 deletions(-)
>

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2021-02-10  7:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 23:48 [Nouveau] [PATCH 0/3] drm/ttm: constify static vm_operations_structs Rikard Falkeborn
2021-02-09 23:48 ` [Nouveau] [PATCH 1/3] drm/amdgpu/ttm: constify static vm_operations_struct Rikard Falkeborn
2021-02-09 23:48 ` [Nouveau] [PATCH 2/3] drm/radeon/ttm: " Rikard Falkeborn
2021-02-09 23:48 ` [Nouveau] [PATCH 3/3] drm/nouveau/ttm: " Rikard Falkeborn
2021-02-10  7:45 ` Christian König [this message]
2021-02-10 13:14   ` [Nouveau] [PATCH 0/3] drm/ttm: constify static vm_operations_structs Daniel Vetter
2021-02-23 17:31     ` Alex Deucher
2021-02-26  7:52       ` Christian König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e819cb08-98b6-c87d-4d95-338e06f88a48@amd.com \
    --to=christian.koenig@amd.com \
    --cc=Felix.Kuehling@amd.com \
    --cc=Likun.Gao@amd.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bskeggs@redhat.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=rikard.falkeborn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).