XOR pt. 2

2015-12-11 Thread Michael McConville
Note that IFCAP_HWCSUM has two bits set. Because of this, it doesn't XOR cleanly in the current if-else condition, but I'm not sure whether that was intended. I just wanted to pass this by people in case it was a logical bug. --- dev/ixgb/if_ixgb.c.orig +++ dev/ixgb/if_ixgb.c @@ -599,10 +599,7

Re: [PATCH] XOR uses

2015-12-08 Thread Michael McConville
out using 4x the code to reimplement it every time. I don't feel strongly about the patches fate, though. > 2015-12-08 11:13 GMT+08:00 Michael McConville <mm...@mykolab.com>: > > > A minor simplification patch: > > > >

[PATCH] XOR uses

2015-12-07 Thread Michael McConville
A minor simplification patch: Index: sys/arm/allwinner/a10_gpio.c === --- sys/arm/allwinner/a10_gpio.c(revision 291978) +++ sys/arm/allwinner/a10_gpio.c(working copy) @@ -356,10 +356,7 @@ sc =