diff options
author | Netanel Belgazal <netanel@amazon.com> | 2017-06-23 11:21:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-23 14:15:09 -0400 |
commit | 917501109cf4ea4c47991f593111338811369bf5 (patch) | |
tree | bc08c1254ab25ae80fffc4382c3f6e56d5917b6c /init/calibrate.c | |
parent | 82ef30f13be0b4fea70a9c6215f7cff40bb3be63 (diff) | |
download | linux-917501109cf4ea4c47991f593111338811369bf5.tar.bz2 |
net: ena: change sizeof() argument to be the type pointer
Instead of using:
memset(ptr, 0x0, sizeof(struct ...))
use:
memset(ptr, 0x0, sizeor(*ptr))
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions