From owner-freebsd-stable@freebsd.org Sun Dec 4 13:12:47 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0A19C6334C for ; Sun, 4 Dec 2016 13:12:47 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A5C78A98 for ; Sun, 4 Dec 2016 13:12:47 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mailman.ysv.freebsd.org (Postfix) id A510CC6334B; Sun, 4 Dec 2016 13:12:47 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2FA5C6334A for ; Sun, 4 Dec 2016 13:12:47 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4311CA97 for ; Sun, 4 Dec 2016 13:12:46 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-wm0-f47.google.com with SMTP id t79so55216948wmt.0 for ; Sun, 04 Dec 2016 05:12:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=5v3AAVLhBx09tNd5a+pYLIq0O63WlL+ODiHzHs3XWGY=; b=Uk+0oHzMUwVK9DRbaLKwZFZvjqjiMVuP83fB7cyHWgaqdYp6EjeIwtr3unODAQ2DuL hepRdnsaSKjWfkC5ASxMVbyXeC//P6XMokkOYSM+XnmqWdgTG/AqXlWmtbwKYLjwRAHG B6MXT8x0NdCFZA0TX/VmBXOKXJxkJE33rbzJmSZEq4fEPSXrn0P7aFze6YEae4/dP5ZO +FUYEjr0t5JMuHnBDV04YoMOjWB9Eu2iFgF3rfpxDCWmPYc8hgz9EvEcOHCm/loXIARr XM8yHwzo+jr5Yf8wiesfeEV2oEXBdq1CLeeKeuqepz1MVXbkpSUPj59UcDIUy61kNgIb 3IXQ== X-Gm-Message-State: AKaTC02hM3u8Xmqwd99ZK72Uy7nGqCN3u2i7UJfSdq7qQr61R6drDHDEyDiR1R3sGLk7jQ== X-Received: by 10.46.1.74 with SMTP id 71mr26636410ljb.14.1480857158605; Sun, 04 Dec 2016 05:12:38 -0800 (PST) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id 206sm2163071ljj.32.2016.12.04.05.12.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Dec 2016 05:12:37 -0800 (PST) To: "stable@freebsd.org" , John Baldwin From: Andrey Chernov Subject: if_cxgbev build error on -stable Message-ID: Date: Sun, 4 Dec 2016 16:12:36 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 13:12:47 -0000 On recent i386 -stable I got: ... /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/t4_vf.c -o t4_vf.o In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/t4_vf.c:37: In file included from @/sys/counter.h:35: ./machine/counter.h:170:3: error: implicit declaration of function 'critical_enter' is invalid in C99 [-Werror,-Wimplicit-function-declaration] critical_enter(); ^ ./machine/counter.h:172:3: error: implicit declaration of function 'critical_exit' is invalid in C99 [-Werror,-Wimplicit-function-declaration] critical_exit(); ^ ./machine/counter.h:172:3: note: did you mean 'critical_enter'? ./machine/counter.h:170:3: note: 'critical_enter' declared here critical_enter(); ^ In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/t4_vf.c:47: In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/common/common.h:33: In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/common/t4_hw.h:33: In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/osdep.h:39: @/sys/systm.h:196:6: error: conflicting types for 'critical_enter' void critical_enter(void); ^ ./machine/counter.h:170:3: note: previous implicit declaration is here critical_enter(); ^ In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/t4_vf.c:47: In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/common/common.h:33: In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/common/t4_hw.h:33: In file included from /usr/src/sys/modules/cxgbe/if_cxgbev/../../../dev/cxgbe/osdep.h:39: @/sys/systm.h:197:6: error: conflicting types for 'critical_exit' void critical_exit(void); ^ ./machine/counter.h:172:3: note: previous implicit declaration is here critical_exit(); ^ 4 errors generated. *** Error code 1 Stop.