[PATCH] WAN/pc300: handle, propagate minor errors
authorJeff Garzik <jeff@garzik.org>
Fri, 20 Oct 2006 21:43:15 +0000 (14:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 21 Oct 2006 18:08:24 +0000 (14:08 -0400)
commit6f0f6d87a2a5fc96fc54e90961d5244d668e5fbb
treece92fab7f69c4400e6834350f76cbd6350ea0ca5
parent718ecac2ed7ae1b3d61388ddbff2938a377b1a11
[PATCH] WAN/pc300: handle, propagate minor errors

- move definition of 'tmc' and 'br' locals closer to usage

- handle clock_rate_calc() error

- propagate errors back to upper level open routine

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wan/pc300_drv.c