Loading net/qrtr/fifo.c +3 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,9 @@ static void fifo_rx_peak(struct fifo_pipe *pipe, if (tail >= pipe->length) tail -= pipe->length; if (WARN_ON_ONCE(tail > pipe->length)) return; len = min_t(size_t, count, pipe->length - tail); if (len) memcpy_fromio(data, pipe->fifo + tail, len); Loading Loading
net/qrtr/fifo.c +3 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,9 @@ static void fifo_rx_peak(struct fifo_pipe *pipe, if (tail >= pipe->length) tail -= pipe->length; if (WARN_ON_ONCE(tail > pipe->length)) return; len = min_t(size_t, count, pipe->length - tail); if (len) memcpy_fromio(data, pipe->fifo + tail, len); Loading