lkml.org 
[lkml]   [2024]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/4] usb: typec: ucsi: Fix null deref in trace
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



\
 
 \ /
  Last update: 2024-05-03 14:04    [W:0.089 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site