summaryrefslogtreecommitdiff
path: root/ioops.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-12ioops: mark failure path as unlikelyDaniel Borkmann1-9/+8
2013-06-12ioops: misc: add dup{,2}_or_die to ioopsDaniel Borkmann1-0/+16
2013-06-04ioops: fix build error by renaming 'len' variableDaniel Borkmann1-2/+2
2013-06-04ioops: Add {read,write}_blob_or_die for reading/writing binary blobsDaniel Borkmann1-0/+23
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-06-04xutils: move device management functions out of xutilsDaniel Borkmann1-0/+1
2013-06-04xio: rename xio to ioops and reduce its includesDaniel Borkmann1-0/+98
ameleon-bus.txt parentaa70e567c4f0eeb849c6bcef3685bdf1fc3ca19d (diff)
spi/fsl-espi: avoid infinite loops on fsl_espi_cpu_irq()
It brought nearly infinite loops, and was possible to be occurred only if the SPI transaction total size are not alighed with 4. Loops are here at while (tmp--), tmp is unsigned, and set it with minus value. The loops are executed as a result of unexpected RX interrupt occurrence after that. This interrupt may be hardware eratta and is not fixed. Fix mspi->len from minus value to 0 and print warning message. Signed-off-by: Nobuteru Hayashi <hayashi.nbb@ncos.nec.co.jp> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/men-chameleon-bus.txt')