diff options
| author | Karen Dombroski <[email protected]> | 2021-04-29 05:38:02 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-04-29 13:06:06 +0000 |
| commit | 6d5ff8e632a4f2389c331e5554cd1c2a9a28c7aa (patch) | |
| tree | f6ac6486e19690176af031300320271fc7054364 /drivers/spi/spi-fsl-dspi.c | |
| parent | spi: spi-zynq-qspi: Fix kernel-doc warning (diff) | |
| download | kernel-6d5ff8e632a4f2389c331e5554cd1c2a9a28c7aa.tar.gz kernel-6d5ff8e632a4f2389c331e5554cd1c2a9a28c7aa.zip | |
spi: spi-zynq-qspi: Fix stack violation bug
When the number of bytes for the op is greater than one, the read could
run off the end of the function stack and cause a crash.
This patch restores the behaviour of safely reading out of the original
opcode location.
Signed-off-by: Karen Dombroski <[email protected]>
Signed-off-by: Amit Kumar Mahapatra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-fsl-dspi.c')
0 files changed, 0 insertions, 0 deletions
