summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorShyam Saini <mayhs11saini@gmail.com>2017-01-16 09:26:21 +0530
committerDavid S. Miller <davem@davemloft.net>2017-01-16 11:46:54 -0500
commit4b5b1ac5c0b7e565ea5ef0031439bffedce12ff9 (patch)
tree92e55d5942b02558d6d02cb8d27156be63d659c9 /security
parentdbeaa8c2a4bad2295b2383a79a9749e3638ccf01 (diff)
downloadblackbird-op-linux-4b5b1ac5c0b7e565ea5ef0031439bffedce12ff9.tar.gz
blackbird-op-linux-4b5b1ac5c0b7e565ea5ef0031439bffedce12ff9.zip
sfc: Replace memset with eth_zero_addr
Use eth_zero_addr to assign zero address to the given address array instead of memset when the second argument in memset is address of zero which makes the code clearer and also add header file linux/etherdevice.h Signed-off-by: Shyam Saini <mayhs11saini@gmail.com> Acked-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud