[PATCH 0/2][next] nouveau/svm: Replace one-element array with flexible-array member

Gustavo A. R. Silva posted 2 patches 2 years, 4 months ago
drivers/gpu/drm/nouveau/nouveau_svm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH 0/2][next] nouveau/svm: Replace one-element array with flexible-array member
Posted by Gustavo A. R. Silva 2 years, 4 months ago
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(-)

-- 
2.34.1
Re: [PATCH 0/2][next] nouveau/svm: Replace one-element array with flexible-array member
Posted by Kees Cook 2 years, 2 months ago
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,

-- 
Kees Cook