]> git.proxmox.com Git - qemu.git/commit
xilinx_axienet: Fix bit mask code
authorStefan Weil <sw@weilnetz.de>
Sun, 9 Jun 2013 20:56:20 +0000 (22:56 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Mon, 10 Jun 2013 11:00:41 +0000 (13:00 +0200)
commit4e298e46ddcbb3a2a653a582b54557b75180c625
tree22ecc9697f9ebce8d7c1f72492b29cd45f24f6aa
parent7387de16d0e4d2988df350926537cd12a8e34206
xilinx_axienet: Fix bit mask code

Obviously the code wanted to mask the lower bits but failed to do so
because of a missing "<".

cppcheck detected a conditional expression which was always true (1 < 7).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/net/xilinx_axienet.c