bcma: jump to 'out' label for invalid 'func' value
authorNathan Hintz <nlhintz@hotmail.com>
Sat, 12 Jan 2013 10:46:14 +0000 (02:46 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jan 2013 20:10:40 +0000 (15:10 -0500)
commita35ab937cb27ec8c00b6f13cade93dc10e22b670
tree39cf0395c40c2b39f7ed0247744767559da3c163
parentf6734627edea983b307593f71824d7ec2dd2625a
bcma: jump to 'out' label for invalid 'func' value

Consistently jump to the 'out' label for error conditions (adds
missing check for 'func' validity in bcma_extpci_write_config).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci_host.c