linguini1 commented on PR #19476: URL: https://github.com/apache/nuttx/pull/19476#issuecomment-5016785172
I think it's better to do the check at the source like you've suggested, yes. I don't think there are any drivers which relay on a read with a NULL buffer, and this can reduce the NULL checks needed everywhere else. Some others can correct me if I'm wrong. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
