Displaying 9 results from an estimated 9 matches for "a61ddb4393ad".
2024 May 23
1
[PATCH 4/4] drm: enable -Wformat-truncation across the subsystem
With the -Wformat-truncation warnings fixed, finish the job started in
commit a61ddb4393ad ("drm: enable (most) W=1 warnings by default across
the subsystem"), and enable that warning too.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
Gut feeling says there are more issues, and my configs just don't catch
them all, but let's see what the build bots...
2024 May 23
1
[PATCH 4/4] drm: enable -Wformat-truncation across the subsystem
Hi Jani,
On Thu, May 23, 2024 at 06:51:09PM +0300, Jani Nikula wrote:
> With the -Wformat-truncation warnings fixed, finish the job started in
> commit a61ddb4393ad ("drm: enable (most) W=1 warnings by default across
> the subsystem"), and enable that warning too.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
When it is enabled for all of drm then the explicit assignments here
could be dropped I think:
drivers/gpu/drm/i9...
2024 May 18
1
[PATCH v2] drm/nouveau/nvif: Avoid build error due to potential integer overflows
...in the problem.
The problem is not new, only it is now no longer a warning but an error
since W=1 has been enabled for the drm subsystem and since Werror is
enabled for test builds.
Rearrange arithmetic and use check_add_overflow() for validating the
allocation size to avoid the overflow.
Fixes: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the subsystem")
Cc: Javier Martinez Canillas <javierm at redhat.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Danilo Krummrich <dakr at redhat.com>
Cc: Maxime R...
2024 May 18
1
[PATCH] drm/nouveau/nvif: Avoid build error due to potential integer overflows
...#39; can overflow, which would result
in the problem.
The problem is not new, only it is now no longer a warning but an error since W=1
has been enabled for the drm subsystem and since Werror is enabled for test builds.
Rearrange arithmetic and add extra size checks to avoid the overflow.
Fixes: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the subsystem")
Cc: Javier Martinez Canillas <javierm at redhat.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Danilo Krummrich <dakr at redhat.com>
Cc: Maxime R...
2024 May 18
1
[PATCH] drm/nouveau/nvif: Avoid build error due to potential integer overflows
...t; in the problem.
>
> The problem is not new, only it is now no longer a warning but an error since W=1
> has been enabled for the drm subsystem and since Werror is enabled for test builds.
>
> Rearrange arithmetic and add extra size checks to avoid the overflow.
>
> Fixes: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the subsystem")
> Cc: Javier Martinez Canillas <javierm-H+wXaHxf7aLQT0dZR+AlfA at public.gmane.org>
> Cc: Jani Nikula <jani.nikula-ral2JQCrhuEAvxtiuMwx3w at public.gmane.org>
> Cc: Thomas Zimmermann <tzimmermann-l...
2024 May 18
1
[PATCH] drm/nouveau/nvif: Avoid build error due to potential integer overflows
...> The problem is not new, only it is now no longer a warning but an error since W=1
> > has been enabled for the drm subsystem and since Werror is enabled for test builds.
> >
> > Rearrange arithmetic and add extra size checks to avoid the overflow.
> >
> > Fixes: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the subsystem")
> > Cc: Javier Martinez Canillas <javierm-H+wXaHxf7aLQT0dZR+AlfA at public.gmane.org>
> > Cc: Jani Nikula <jani.nikula-ral2JQCrhuEAvxtiuMwx3w at public.gmane.org>
> > Cc: Thomas Zimmermann &l...
2024 May 24
1
[PATCH v3] drm/nouveau/nvif: Avoid build error due to potential integer overflows
...ow no longer a warning but an error
since W=1 has been enabled for the drm subsystem and since Werror is
enabled for test builds.
Rearrange arithmetic and use check_add_overflow() for validating the
allocation size to avoid the overflow. While at it, split assignments
out of if conditions.
Fixes: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the subsystem")
Cc: Javier Martinez Canillas <javierm at redhat.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Danilo Krummrich <dakr at redhat.com>
Cc: Maxime R...
2024 May 18
1
[PATCH] drm/nouveau/nvif: Avoid build error due to potential integer overflows
...lem is not new, only it is now no longer a warning but an error since W=1
>>> has been enabled for the drm subsystem and since Werror is enabled for test builds.
>>>
>>> Rearrange arithmetic and add extra size checks to avoid the overflow.
>>>
>>> Fixes: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the subsystem")
>>> Cc: Javier Martinez Canillas <javierm-H+wXaHxf7aLQT0dZR+AlfA at public.gmane.org>
>>> Cc: Jani Nikula <jani.nikula-ral2JQCrhuEAvxtiuMwx3w at public.gmane.org>
>>> Cc: Thomas Zimm...
2024 May 23
4
[PATCH 0/4] drm: enable -Wformat-truncation
Jani Nikula (4):
drm/amdgpu: fix -Wformat-truncation warning in
amdgpu_gfx_kiq_init_ring()
drm/nouveau: fix -Wformat-truncation warning in
nouveau_backlight_init()
drm/imx: fix -Wformat-truncation warning in imx_ldb_probe()
drm: enable -Wformat-truncation across the subsystem
drivers/gpu/drm/Makefile | 3 +--
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 6