Files
linux/drivers/gpu/drm
Christophe JAILLET 118b4eed8b drm/nouveau: Constify struct nouveau_job_ops
"struct nouveau_job_ops" is not modified in these drivers.

Constifying this structure moves some data to a read-only section, so
increase overall security.

In order to do it, "struct nouveau_job" and "struct nouveau_job_args" also
need to be adjusted to this new const qualifier.

On a x86_64, with allmodconfig:
Before:
======
   text	   data	    bss	    dec	    hex	filename
   5570	    152	      0	   5722	   165a	drivers/gpu/drm/nouveau/nouveau_exec.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
   5630	    112	      0	   5742	   166e	drivers/gpu/drm/nouveau/nouveau_exec.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/860e9753d7867aa46b003bb3d0497f1b04065b24.1718381285.git.christophe.jaillet@wanadoo.fr
2024-06-17 17:22:06 +02:00
..
2024-05-27 11:08:31 +02:00
2024-05-27 11:08:31 +02:00
2024-05-02 11:33:16 +02:00
2024-06-17 08:02:48 -03:00
2024-05-02 11:33:17 +02:00
2024-05-27 11:08:31 +02:00
2024-05-02 11:33:18 +02:00
2024-05-02 11:33:22 +02:00
2024-04-25 20:55:49 -07:00
2024-06-17 10:38:18 +03:00
2024-05-08 15:31:58 +03:00
2024-06-10 14:05:10 +02:00
2024-06-06 14:46:15 -04:00
2024-02-26 11:41:07 +01:00
2024-06-10 14:05:10 +02:00