summaryrefslogtreecommitdiff
path: root/ipc/mq_sysctl.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-08-23 06:40:28 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-04 21:14:08 (GMT)
commit1e9ee6f7b6ad68dc67444fff13bb7324087874e3 (patch)
treefd4947fb9f200308e514a86c82b89dac51bb1db4 /ipc/mq_sysctl.c
parent73ee07faeec88b15ef4ffa412622fc2c021ca8ff (diff)
downloadlinux-fsl-qoriq-1e9ee6f7b6ad68dc67444fff13bb7324087874e3.tar.xz
staging: r8712u: use is_zero_ether_addr() instead of memcmp()
Using is_zero_ether_addr() instead of directly use memcmp(addr, "\x00\x00\x00\x00\x00\x00", ETH_ALEN) to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions