Re: [PATCH v2 1/4] usb: typec: ucsi: Fix null deref in trace
From: Dan Carpenter
Date: Fri May 03 2024 - 08:04:07 EST
It looks like in v3 you changed this to:
- return NULL;
+ return typec_port_register_altmode(con->port, desc);
Which is fine. Returning a special error pointer which means success is
the part that I objected to.
regards,
dan carpenter