From owner-freebsd-current@FreeBSD.ORG Tue May 20 12:46:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A33237B401 for ; Tue, 20 May 2003 12:46:52 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7470543F93 for ; Tue, 20 May 2003 12:46:51 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4KJkn98002243 for ; Tue, 20 May 2003 21:46:49 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org From: Poul-Henning Kamp Date: Tue, 20 May 2003 21:46:49 +0200 Message-ID: <2242.1053460009@critter.freebsd.dk> Subject: One of FlexeLints best catches to date (if_de) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 19:46:52 -0000 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.