commit | 264be2f5a973cc85be3e31d6bf6234b55a256627 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sat Mar 15 03:11:24 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 17 16:05:18 2014 -0400 |
tree | 65061d23535d14dd31b1c31e549d2949c0b7961f | |
parent | 7c169445fc32316d046aaf1aa9bd54c62c963585 [diff] |
sh_eth: exit probe with unknown register layout Exit the driver's probe() method when the register layout is unknown as the driver would cause kernel oops in this case anyway. While at it, move the corresponding error message printout and convert it from pr_err() to dev_err(). Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>