diff options
| author | Hans Verkuil <hansverk@cisco.com> | 2016-07-06 05:49:26 -0300 |
|---|---|---|
| committer | Ray Zhang <rayz@codeaurora.org> | 2017-05-25 11:21:55 +0800 |
| commit | 0b7113df06ba0af1766c876629b654c76de1b53b (patch) | |
| tree | 3c70c1223b8238e8bf644d547edc5e4ef95f2b86 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 6ab0437744fab6b148f2cceb8903b6a4a8399598 (diff) | |
[media] cec-funcs.h: add length checks
Add msg->len sanity checks to fix static checker warning:
include/linux/cec-funcs.h:1154 cec_ops_set_osd_string()
warn: setting length 'msg->len - 3' to negative one
Change-Id: I3482a21f7e29b1b9f44832e598a86709f8764fe5
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Git-commit: 0cb1f1e44cf5b013dd0991f509e332ac77ce2ddd
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
