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 21:15:09 +0300 |
commit | 917501109cf4ea4c47991f593111338811369bf5 (patch) | |
tree | bc08c1254ab25ae80fffc4382c3f6e56d5917b6c /arch/sparc/crypto/sha512_asm.S | |
parent | 82ef30f13be0b4fea70a9c6215f7cff40bb3be63 (diff) | |
download | linux-917501109cf4ea4c47991f593111338811369bf5.tar.xz |
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 'arch/sparc/crypto/sha512_asm.S')
0 files changed, 0 insertions, 0 deletions