diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-01-15 11:14:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-16 18:08:56 +0100 |
| commit | 565af1cda2d35fa481a732b7405959263f47cc9f (patch) | |
| tree | 86e737eca3d7ea72ec1019305176327f70b38100 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 18ff854e8e30a275af9f4e7c15776d23429ae737 (diff) | |
| download | kernel-565af1cda2d35fa481a732b7405959263f47cc9f.tar.gz | |
staging: lustre: ptlrpc: silence a shift wrapping warning
"svcpt->scp_hist_seq" is a u64 so static checkers complain that 1U
should be 1ULL. I looked at REQS_SEQ_SHIFT() a little and it seems to
be capped by the number of CPUs online and the amount of memory, but I
think it could go above 32 possibly.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
