Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 21:46:49 +0200
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   One of FlexeLints best catches to date (if_de)
Message-ID:  <2242.1053460009@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2242.1053460009>