Re: [Intel-gfx] [PATCH] drm/i915/selftests: check the return value of kstrdup()

From: Xiaoke Wang
Date: Thu Mar 03 2022 - 07:10:46 EST


Matthew Auld<matthew.william.auld@xxxxxxxxx> wrote:
> Scratch that. it looks like the for() already accounts for this, as
> pointed out by Chris.

Yes, you are right.
I rechecked and found this one is indeed an ordinary code smell.
Thank you for taking the time.


Xiaoke Wang