media: verisilicon: Simplify error handling in tile_buffer_reallocate()

Markus Elfring Markus.Elfring at web.de
Fri Mar 24 02:55:35 PDT 2023


>>> Rework allocation errors cases handling to simply it
>>> by removing useless tests.
>> How do you think about to use a wording like “Simplify handling of allocation
>> error cases by removing useless tests.” for your change description?

I would appreciate another bit of fine-tuning for such text.


>>> Reported-by: …
>>> ---
>>>   .../media/platform/verisilicon/hantro_hevc.c  | 23 ++++++++-----------
>> Would you like to add any links for corresponding information?
>
> No, it was just to show that you have reported the possible clean up

I imagine that a bit of background information will be helpful in a tag
like “Link:” also for your patch.

2023-03-22
[PATCH] media: hantro: HEVC: Fix exception handling in tile_buffer_reallocate()

Examples:
* https://lore.kernel.org/cocci/ea112fdd-7af0-d1f1-442c-306e6ec54a5b@web.de/
  https://sympa.inria.fr/sympa/arc/cocci/2023-03/msg00037.html

* https://lore.kernel.org/lkml/5d5c8c7b-b926-8397-7994-623ac9b37e83@collabora.com/


Regards,
Markus



More information about the Linux-rockchip mailing list