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

Xiaoke Wang xkernel.wang at foxmail.com
Thu Mar 3 12:10:34 UTC 2022


Matthew Auld<matthew.william.auld at gmail.com> 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


More information about the dri-devel mailing list