]> git.baikalelectronics.ru Git - kernel.git/commit
[media] drxk: better handle errors
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 10:58:52 +0000 (07:58 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 10:58:52 +0000 (07:58 -0300)
commita9b3b277bec0a72bb3740f9736fd6d6652b045b2
tree6c3f8dd97410799dbcad7ec927796bc8b92f22a1
parent9dd3f1028faefc0a60d13b98b54817d357402157
[media] drxk: better handle errors

As reported by smatch:
drivers/media/dvb-frontends/drxk_hard.c:3277 dvbt_sc_command() warn: missing break? reassigning 'status'

This is basically because the error handling logic there was crappy.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/drxk_hard.c