diff options
| author | Parav Pandit <[email protected]> | 2017-01-10 17:51:48 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2017-01-10 12:52:32 -0500 |
| commit | 7896dfb0a6180beb51bf34b32c9427984cb052c4 (patch) | |
| tree | 8e8a49aebc52e71158890029ba64738199a7dd32 /net/lapb/lapb_in.c | |
| parent | 9c1e67f941019907034d7e5584c891603cce2d8e (diff) | |
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 <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions