summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-03-13 15:34:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-14 08:00:37 +0800
commit39c116dcfd5f4df42167f06414dd81fba0ffe74c (patch)
tree031ff1381d02cf2493541b4c5125a5c974910e92 /tools/perf/scripts/python
parentcfd23945be7413351ef57ff5b07c5b037a7f9995 (diff)
staging: atomisp: potential underflow in atomisp_get_metadata_by_type()
md_type is an enum. On my tests, GCC treats it as unsigned but according to the C standard it's an implementation dependant thing so we should check for negatives. Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions