[PATCH v2] coresight: trbe: Fix return value check in arm_trbe_register_coresight_cpu()
Markus Elfring
Markus.Elfring at web.de
Mon Oct 21 03:25:20 PDT 2024
…
> memory instead of coresight_get_platform_data(), but forgot to update the
> return value check code accordingly. Fix the incorrect return value check
> for devm_kzalloc(), which returns NULL instead of ERR_PTR() when it fails.
…
> ---
> drivers/hwtracing/coresight/coresight-trbe.c | 2 +-
…
It would have been nice to add a patch version description.
See also:
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12-rc4#n321
* https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
Regards,
Markus
More information about the linux-arm-kernel
mailing list