diff options
author | 2017-06-23 11:21:52 +0300 | |
---|---|---|
committer | 2017-06-23 14:15:09 -0400 | |
commit | 917501109cf4ea4c47991f593111338811369bf5 (patch) | |
tree | bc08c1254ab25ae80fffc4382c3f6e56d5917b6c /include/linux/phy.h | |
parent | net: ena: add hardware hints capability to the driver (diff) | |
download | wireguard-linux-917501109cf4ea4c47991f593111338811369bf5.tar.xz wireguard-linux-917501109cf4ea4c47991f593111338811369bf5.zip |
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 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions