Re: [PATCH 2/2] spi: spi-zynq-qspi: Fix stack violation bug

2021-03-18 Thread Mark Brown
On Thu, Mar 18, 2021 at 04:24:46AM -0600, Amit Kumar Mahapatra wrote: > 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.

[PATCH 2/2] spi: spi-zynq-qspi: Fix stack violation bug

2021-03-18 Thread Amit Kumar Mahapatra
From: Karen Dombroski 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. Kernel panic - not syncing: stack-protector: Kernel