Searched hist:da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | g84.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | g98.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | gt215.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | base.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | mcp89.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | nv50.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | priv.h | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | gf100.c | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|
H A D | nv50.h | diff da2b1a0a40d8ea8f23f9d13e10ec3160ef92178d Wed Jan 25 09:07:14 CST 2023 Deepak R Varma <drv@mailo.com> drm/nouveau/devinit: Convert function disable() to be void
The current design of callback function disable() of struct nvkm_devinit_func is defined to return a u64 value. In its implementation in the driver modules, the function always returns a fixed value 0. Hence the design and implementation of this function should be enhanced to return void instead of a fixed value. This change also eliminates untouched return variables.
The change is identified using the returnvar.cocci Coccinelle semantic patch script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/Y9FFoooIXjlr+UP1@ubun2204.myguest.virtualbox.org
|