From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57504C4167D for ; Mon, 25 Oct 2021 19:56:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 39AC0604DA for ; Mon, 25 Oct 2021 19:56:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240175AbhJYT6x (ORCPT ); Mon, 25 Oct 2021 15:58:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:42516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239261AbhJYTy2 (ORCPT ); Mon, 25 Oct 2021 15:54:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 46CCB6109D; Mon, 25 Oct 2021 19:45:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635191116; bh=L0u7HUqTqwVdoFGzgMF58jxJxOxxElco4x0A0WROda8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2SbKbdeFfwnJjrtxbUfryBzEiaNWkzKwlopfAq4J7HYfJjwc9vTmEkTD2aeD3VLnH Z6lnCPEP3cmHSeB244XQ38DufAXFEtNc2TfhBeMGD+bIV/0i2BIBUEca33k4reMCr7 v6lHwM3ebkkBbAlrsX6hScy+zNHr53co31qZEKIs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Brendan Higgins , Arnd Bergmann , Kees Cook , Jonathan Cameron , Shuah Khan , Sasha Levin Subject: [PATCH 5.14 128/169] iio/test-format: build kunit tests without structleak plugin Date: Mon, 25 Oct 2021 21:15:09 +0200 Message-Id: <20211025191033.937320016@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025191017.756020307@linuxfoundation.org> References: <20211025191017.756020307@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Brendan Higgins [ Upstream commit 2326f3cdba1d105b68cc1295e78f17ae8faa5a76 ] The structleak plugin causes the stack frame size to grow immensely when used with KUnit: ../drivers/iio/test/iio-test-format.c: In function ‘iio_test_iio_format_value_fixedpoint’: ../drivers/iio/test/iio-test-format.c:98:1: warning: the frame size of 2336 bytes is larger than 2048 bytes [-Wframe-larger-than=] Turn it off in this file. Signed-off-by: Brendan Higgins Suggested-by: Arnd Bergmann Reviewed-by: Kees Cook Acked-by: Jonathan Cameron Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- drivers/iio/test/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/test/Makefile b/drivers/iio/test/Makefile index f1099b495301..467519a2027e 100644 --- a/drivers/iio/test/Makefile +++ b/drivers/iio/test/Makefile @@ -5,3 +5,4 @@ # Keep in alphabetical order obj-$(CONFIG_IIO_TEST_FORMAT) += iio-test-format.o +CFLAGS_iio-test-format.o += $(DISABLE_STRUCTLEAK_PLUGIN) -- 2.33.0