I am experimenting with stream buffers, in kernel version 10.2.1.
It appears there is an inconsistency in the documentation for the xStreamBufferCreateStatic() call.
The pucStreamBufferStorageArea description specifies that buffer must be at least xBufferSizeBytes + 1 big. The xBufferSizeBytes description is “The size, in bytes, of the buffer pointed to by the pucStreamBufferStorageArea parameter.”
Document correction needed?