Re: [PATCH 1/4] usb: typec: ucsi: Fix null deref in trace

From: Markus Elfring
Date: Sat Apr 20 2024 - 09:16:18 EST


> ucsi_register_altmode checks IS_ERR on returned pointer and treats
> NULL as valid. This results in a null deref when
> trace_ucsi_register_altmode is called.

I find that the change description can be improved further.
Is another imperative wording desirable?

Can it be nicer to use the term “dereference” for the final commit message?

Regards,
Markus