[Bug 230571] src/sys/dev/e1000/if_em.c:796]: (style) Same expression on both sides of '|'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 12 20:24:07 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230571

            Bug ID: 230571
           Summary: src/sys/dev/e1000/if_em.c:796]: (style) Same
                    expression on both sides of '|'
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: dcb314 at hotmail.com

Source code is

                scctx->isc_tx_csum_flags = CSUM_TCP | CSUM_UDP | CSUM_TSO |
CSUM_IP6_TCP \
                        | CSUM_IP6_UDP | CSUM_IP6_TCP;

Maybe better code

                scctx->isc_tx_csum_flags = CSUM_TCP | CSUM_UDP | CSUM_TSO |
CSUM_IP6_TCP \
                        | CSUM_IP6_UDP | CSUM_IP6_TSO;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list