Message ID | 1078149119.0.1727563926365@boobie.home |
---|---|
State | New |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=KRGjRi1F; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=comcast.net header.i=@comcast.net header.a=rsa-sha256 header.s=20190202a header.b=bfe9oTMA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XGN0H3SXcz1xsc for <incoming@patchwork.ozlabs.org>; Sun, 29 Sep 2024 08:53:01 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:Message-ID:To:From :Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Vv4LWujF71mpdTE2F1Th7UGQg9wh6UJXioPgUxZs6Xw=; b=KRGjRi1FKcxRAc 7rm4MLnWvMRVCWgamo6ugHprFdaehWOQ06cGjts3nAYkrBGzKdLz5op7i4VByf9Wist1+EL0WX63h AujByaeEb4iOBKELrPcWtr8g3nK1ZaiyL3EMpvHVuRQjZ2qSWtB8E2xaS9RzrvjybEr0UmMpcPlTr sea3sYaF9KeM9n0ENcGSNFpTScK2H8GDpeG7Q96MD1Hk6wZt5098Hp5TLIniUi3LKYYobX+0RmveN ADLZx+27Ntf2RSzzKs8hY+GqravzoeY119xSD65PMv2R3tyOmq+d0dEWwIPUieskar3JXrXUSObsV kuz40f+RxIjH+qLlAHjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sugIS-0000000Dls4-1Wkj; Sat, 28 Sep 2024 22:52:16 +0000 Received: from resdmta-h2p-547626.sys.comcast.net ([2001:558:fd02:2446::e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sugIP-0000000DlrI-23RP for hostap@lists.infradead.org; Sat, 28 Sep 2024 22:52:15 +0000 Received: from resomta-h2p-555061.sys.comcast.net ([96.102.179.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resdmta-h2p-547626.sys.comcast.net with ESMTPS id ugFysLR8I70mJugIJsWvRQ; Sat, 28 Sep 2024 22:52:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1727563927; bh=Xve1ZzlXCgr2pZhiPK4Rb23YcnxDmEwM8sg6TBb6XWA=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type:Xfinity-Spam-Result; b=bfe9oTMAjsFflC+prCVMIn1H3Obn9CDSsWoHe0Qx7XWqpGUFDyBx2rfxuqhMe8eFb kYrt7o2unSNX3ivy9tXLEPn0LmWJbnbUrnyPjElk2Oh0OX78HhoDrRxAZ3QPNT5eSD GOSq/lD/D9qjcrDbSu+yNq2vlw8wxIne5vjKRdTzYSIHSqgR38gCBin0OlhJ1q/i1V KEcpGEQmy/EQfl5FEAZQIZ4lAQ8wmK9N6grru7f5Po/AWNSayxUnkh7cP4PCSHGdk5 GDTgf31uPSo6yY5U0qlVg7ucOSWx+vTkBsLq/2evu0Xgn9/7mWr5Z+9cnZDpyDq8j1 NpVlja2VeMAGA== Received: from boobie.home ([73.69.89.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-555061.sys.comcast.net with ESMTPSA id ugIGsAHup70HfugIHsxpHX; Sat, 28 Sep 2024 22:52:06 +0000 Date: Sat, 28 Sep 2024 18:52:06 -0400 (EDT) From: Ameer Antar <ameerantar@comcast.net> To: hostap@lists.infradead.org Message-ID: <1078149119.0.1727563926365@boobie.home> Subject: [PATCH] build config: Build fails with CONFIG_NO_STDOUT_DEBUG defined MIME-Version: 1.0 X-CMAE-Envelope: MS4xfO7pQooVRPsKyZpdcJvMoBLxDJz1b8l8mZcBSCh4LGxev+wigF2e6UdwjeVrDX6ojABA6zBu0CDI0oVIBKYbBvENjB9H8reaeXT+1l1kJ/4vKU4F4WWm rlaRoPYJ4sAtzxAvPWdDC1Q+fca2XkX7JFujRvtbNUCKYPh4MDU6h2DPj/6b3bxjvufUmvq6XVoFIw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240928_155213_582313_2E0FC9CA X-CRM114-Status: UNSURE ( 5.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When building with the no std output setting (CONFIG_NO_STDOUT_DEBUG), the build fails with an undefined reference for wpa_debug_stop_log. A simple patch is to define this as an empty function along w [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ameerantar(at)comcast.net] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
build config: Build fails with CONFIG_NO_STDOUT_DEBUG defined
|
expand
|
diff --git a/src/utils/wpa_debug.h b/src/utils/wpa_debug.h index 4c02ad3..bf8190f 100644 --- a/src/utils/wpa_debug.h +++ b/src/utils/wpa_debug.h @@ -36,6 +36,7 @@ #define wpa_debug_open_file(p) do { } while (0) #define wpa_debug_close_file() do { } while (0) #define wpa_debug_setup_stdout() do { } while (0) +#define wpa_debug_stop_log() do { } while (0) #define wpa_dbg(args...) do { } while (0) static inline int wpa_debug_reopen_file(void)
When building with the no std output setting (CONFIG_NO_STDOUT_DEBUG), the build fails with an undefined reference for wpa_debug_stop_log. A simple patch is to define this as an empty function along with the others at the top of wpa_debug.h in case no std out is configured. Signed-off-by: Ameer Antar <ameerantar@comcast.net> --- --