Author: arybchik
Date: Wed Dec  9 06:53:43 2015
New Revision: 292009
URL: https://svnweb.freebsd.org/changeset/base/292009

Log:
  sfxge: cleanup: fix (unused) EFX_OR_BYTE macro
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days

Modified:
  head/sys/dev/sfxge/common/efx_types.h

Modified: head/sys/dev/sfxge/common/efx_types.h
==============================================================================
--- head/sys/dev/sfxge/common/efx_types.h       Wed Dec  9 06:24:22 2015        
(r292008)
+++ head/sys/dev/sfxge/common/efx_types.h       Wed Dec  9 06:53:43 2015        
(r292009)
@@ -1584,7 +1584,7 @@ extern int fix_lint;
 
 #define        EFX_OR_BYTE(_byte1, _byte2)                                     
\
        do {                                                            \
-               (_byte1).eb_u8[0] &= (_byte2).eb_u8[0];                 \
+               (_byte1).eb_u8[0] |= (_byte2).eb_u8[0];                 \
        _NOTE(CONSTANTCONDITION)                                        \
        } while (B_FALSE)
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to