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

From: Markus Elfring
Date: Thu Apr 25 2024 - 04:53:06 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.


Can it be nicer to use the term “null pointer dereference” for
the commit message here?

Regards,
Markus