sh_eth: check TSU registers ioremap() error
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 19 Mar 2013 13:41:32 +0000 (13:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:17:59 +0000 (12:17 -0400)
commitfc0c0900408e05758a0df17c1924ca837fafca5e
treee6c2b366491a8c4db3f653597a50f70343a49c94
parent0582b7d15f8a7ae53dd2128b8eb01567b3fd2277
sh_eth: check TSU registers ioremap() error

One must check the result of ioremap() -- in this case it prevents potential
kernel oops when initializing TSU registers further on...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c