bcma: fix handling of big addrl
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 15 Jul 2013 11:15:08 +0000 (13:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:40 +0000 (16:54 -0400)
The return value of bcma_erom_get_addr_desc() is a unsigned value and it
could wrap around in the two complement writing. This happens for one
core in the BCM4708 SoC.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found