aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2018-07-11 15:29:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-12 15:44:57 +0200
commitcf1ed2c59b982d892b7c4d25b3dea2421cc5aa08 (patch)
tree966299b348b9e1703e630886dc05936eb0c332bc /tools/perf/scripts/python/bin
parentmei: bus: type promotion bug in mei_nfc_if_version() (diff)
downloadlinux-cf1ed2c59b982d892b7c4d25b3dea2421cc5aa08.tar.gz
linux-cf1ed2c59b982d892b7c4d25b3dea2421cc5aa08.zip
mei: bus: type promotion bug in mei_fwver()
if __mei_cl_recv() returns a negative then "bytes_recv" type is promoted to a high positive value in comparison with size_t evaluated by MKHI_FWVER_LEN(1). It results in error condition not to be detected. Cc: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 9078ad92ef86 ("mei: expose fw version to sysfs") Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions