owl-loader: fix crash caused by endian patch
authorChristian Lamparter <[email protected]>
Wed, 6 Mar 2019 16:53:27 +0000 (17:53 +0100)
committerChristian Lamparter <[email protected]>
Wed, 6 Mar 2019 21:02:56 +0000 (22:02 +0100)
commit457de5a15412bae6d7a590e7316a3996de318b37
treebcd571ea1900d409f717d720114cf8412151b24a
parenta4ba41863b40fb11779a132e63d671d05649acda
owl-loader: fix crash caused by endian patch

This patch fixes a crash that occured on the
BT Home Hub v5a (lantiq/xrx200) which resulted
in the device bootlooping.

Reported-by: Ryan Mounce <[email protected]>
Tested-by: Vitalij Alshevsky <[email protected]>
Fixes: ddece08bf456 ("kernel: owl-loader: fix sparse endian warnings")
Signed-off-by: Christian Lamparter <[email protected]>
target/linux/generic/files/drivers/misc/owl-loader.c