One of FlexeLints best catches to date (if_de)

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 20 May 2003 21:46:49 +0200
pci/if_devar.h:#define  TULIP_TXTIMER           4
pci/if_devar.h:    u_int32_t tulip_txtimer : 2; /* transmission timer */
pci/if_de.c:    sc->tulip_txtimer = TULIP_TXTIMER;

                            _
        sc->tulip_txtimer = TULIP_TXTIMER;
../../../pci/if_de.c  3783  Warning 542: Excessive size for bit field

I have no idea what the correct fix is...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue May 20 2003 - 10:46:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:08 UTC