ar71xx: add sanity checks to decode_rle
authorGabor Juhos <juhosg@openwrt.org>
Thu, 19 Apr 2012 21:31:40 +0000 (21:31 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 19 Apr 2012 21:31:40 +0000 (21:31 +0000)
commit5c9ca38e47cb254b6efe302a955939885340eb16
treecf144f83865aa94dff173749d0d937680d000266
parent8f921175ba79c56d913f21b76be442dad8feb697
ar71xx: add sanity checks to decode_rle

Also use -EINVAL instead of -1.

SVN-Revision: 31353
target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c