aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2023-08-03 16:47:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 15:06:51 +0200
commitfcb451ff66b4e07de78faefb07549b139b54b943 (patch)
tree8930f45bfda6e4f5358fe07def83dc3990eed958 /tools/perf/scripts/python/bin/stackcollapse-report
parenttty: serial: samsung: Set missing PM ops for hibernation support (diff)
downloadlinux-fcb451ff66b4e07de78faefb07549b139b54b943.tar.gz
linux-fcb451ff66b4e07de78faefb07549b139b54b943.zip
8250_men_mcb: Fix unsigned comparison with less than zero
The data->line[i] is defined as unsigned int type, if(data->line[i] < 0) is invalid, so replace data->line[i] with res. ./drivers/tty/serial/8250/8250_men_mcb.c:223:6-19: WARNING: Unsigned expression compared with zero: data->line[i] < 0. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6088 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230803084753.51253-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions