Skip to content
Snippets Groups Projects
Commit 68f8718d authored by Brad Bozarth's avatar Brad Bozarth Committed by Wolfgang Denk
Browse files

spi flash: fix crash due to spi flash miscommunication


Higher spi flash layers expect to be given back a pointer that was
malloced so that it can free the result, but the lower layers return
a pointer that is in the middle of the malloced memory. Reorder the
members of the lower spi structures so that things work out.

Signed-off-by: default avatarBrad Bozarth <bflinux@yumbrad.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent ce82ff05
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment