mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
162bd18eb5
Add return value for dim_calc_stats. This is an indication for the caller if curr_stats was assigned by the function. Avoid using curr_stats uninitialized over {rdma/net}_dim, when no time delta between samples. Coverity reported this potential use of an uninitialized variable. Fixes: |
||
---|---|---|
.. | ||
dim.c | ||
Makefile | ||
net_dim.c | ||
rdma_dim.c |