diff options
author | Parav Pandit <pandit.parav@gmail.com> | 2017-01-10 18:51:48 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-01-10 18:52:32 +0100 |
commit | 7896dfb0a6180beb51bf34b32c9427984cb052c4 (patch) | |
tree | 8e8a49aebc52e71158890029ba64738199a7dd32 /crypto | |
parent | rdmacg: Added documentation for rdmacg (diff) | |
download | linux-7896dfb0a6180beb51bf34b32c9427984cb052c4.tar.xz linux-7896dfb0a6180beb51bf34b32c9427984cb052c4.zip |
rdmacg: Fixed uninitialized current resource usage
Fixed warning reported by kbuild test robot.
When reading current resource usage value, when no resources are
allocated, its possible that it can report a uninitialized value
for current resource usage.
This fix avoids it by initializing it to zero as no resource is
allocated.
Signed-off-by: Parav Pandit <pandit.parav@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions