Attention is currently required from: Furquan Shaikh, Julius Werner.
Patch Set #21, Line 15:
buffer_size(&dev->buffer) - offset < size)
AFAIUI, this check is to ensure `dev->buffer` is large enough to read `size` bytes at `offset`. Am I missing something, or could this be simplified?
if (buffer_size(&dev->buffer) < offset + size)
To view, visit change 41121. To unsubscribe, or for help writing mail filters, visit settings.