]> git.karo-electronics.de Git - linux-beck.git/commit
[media] flexcop: handle errors from dvb_net_init
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 31 Dec 2011 11:04:25 +0000 (08:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 14:46:58 +0000 (12:46 -0200)
commit01732ebaac701638aab5d7b63ea2ee14452afd33
tree788fd432e9bfe8d84f94defaccac9f305737c369
parent42702de248d9edff22efe25e275c211a5bb80baf
[media] flexcop: handle errors from dvb_net_init

Bail out if dvb_net_init encounters an error (for example an
out-of-memory condition), now that it reports them.

[mchehab@redhat.com: CodingStyle fix: don't use  "if ((ret = foo()) < 0)"]
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/b2c2/flexcop.c