mbox series

[0/2] drm/mediatek: Adjustments for mtk_gem_prime_vmap()

Message ID 254d16d9-d56a-4f26-9914-db75e7aa4287@web.de (mailing list archive)
Headers show
Series drm/mediatek: Adjustments for mtk_gem_prime_vmap() | expand

Message

Markus Elfring Sept. 17, 2024, 5:34 p.m. UTC
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 17 Sep 2024 19:16:45 +0200

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (2):
  Avoid duplicate sg_free_table(sgt) call
  Use common error handling code

 drivers/gpu/drm/mediatek/mtk_gem.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

--
2.46.0

Comments

AngeloGioacchino Del Regno Sept. 19, 2024, 1:12 p.m. UTC | #1
Il 17/09/24 19:34, Markus Elfring ha scritto:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 17 Sep 2024 19:16:45 +0200
> 
> A few update suggestions were taken into account
> from static source code analysis.

Hello Markus,

In my opinion, the suggested changes aren't bringing any improvement, not
in readability nor performance ... nor anything else, really.

For how I see it, the code is fine as it is, but then, that all boils down
to code style preferences and nothing else.

Cheers,
angelo

> 
> Markus Elfring (2):
>    Avoid duplicate sg_free_table(sgt) call
>    Use common error handling code
> 
>   drivers/gpu/drm/mediatek/mtk_gem.c | 14 ++++++++------
>   1 file changed, 8 insertions(+), 6 deletions(-)
> 
> --
> 2.46.0
>