]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: wilc1000: replaces memcmp with ether_addr_equal_unaligned
authorLeo Kim <leo.kim@atmel.com>
Fri, 25 Mar 2016 12:16:53 +0000 (21:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commitfa63394152e9675c6d9ce32e57fbe00094efb4b8
tree652c99ca9b46ae90c2c3f3ada2f0020f45b54c92
parente944ad751ff4fbbd0278ba4dd8595bf7fa3c7e9e
staging: wilc1000: replaces memcmp with ether_addr_equal_unaligned

This patch replaces memcmp with ether_addr_equal_unaligned.
Warning reported by checkpatch.pl
 - Prefer ether_addr_equal() or ether_addr_equal_unaligned() over memcmp()

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c