summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhouyang Jia <jiazhouyang09@gmail.com>2018-06-11 00:39:20 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-10 08:52:06 +0200
commit5a816f1495a54e813aff70b6b2abcbf0e1b65f12 (patch)
tree5b61219367a9e509f892a1047a355dd9f46c3252 /tools/perf/scripts/python
parent4e9cf990bf43e290d5fca4d08a6dde7f68521fc0 (diff)
media: tm6000: add error handling for dvb_register_adapter
[ Upstream commit e95d7c6eb94c634852eaa5ff4caf3db05b5d2e86 ] When dvb_register_adapter fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling dvb_register_adapter. Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> [hans.verkuil@cisco.com: use pr_err and fix typo: adater -> adapter] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions