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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux