Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3524892pxf; Mon, 15 Mar 2021 11:29:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzomWaPpHGRCWVyTXRWpgFQAq1l9W8/+bxfkcRy5dsg8JaZ4OUxyuhXC9W18nu46pW+lOt3 X-Received: by 2002:a17:906:1519:: with SMTP id b25mr25391652ejd.254.1615832957327; Mon, 15 Mar 2021 11:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832957; cv=none; d=google.com; s=arc-20160816; b=D0IxK/wwurVdu13KMiH8OR7zo4CKxdLymsB+nFZP5LPkMkKzWqi5JhjVwr6EjGE6Gd o2LQq8IR7J6Eu/bU27MhawxSEYo8oPhX/L2qS9X3RrJMstRA7d+6nu1RGFzzqtvyGw/7 +JQjW8Vy/tnjubxzhPnYgv4PBAJ4hqm7tOk+3KQi8MT2NeUtQe9O2g9Lz7br1/3Upjtx GA/TJc0r3NshXCmOZM8M3LnC0uWr7aaEd+QhWSxUExuNrJFFJgVicKqjzOg9FBZFhftt XeOhYL6/YBG0L8sflkvKUGNzn4vgkq6XqMMz0HxjhT7LUl+e4gDH/TxsGVPdD8ZZbEEa +ghQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=b5ObHBZK8eg5Q/KCIhc1EpgYmixn/0b9mAE4mU9hbp8=; b=kngpr9a7MWj0k4+L090XSg+3Bt+3KnR2sio4wJ31JgDkyVwIzSSASMh3+agkGrhUAl WLYmFfdgoA1NOPhbIJOUp64CP9MWodN+Yk0VkoS+T+fI+CXNwt94GzOmWEQrqPngxnQS RHyi1xPbA70LF3SY/vwePi8qdWOyehwn6T5cqAR9IfBvNBMd9t6fwLkgg0F4bmO1V4CW uaal2N9y9xOrPMZwl5zYKrhAhB4T1acDbGEM0ceFs/pk6RkpaJ7eyIbrMwLjlA7IJihf Tsb+s6Yf1Mm+6+lqFH7+xvi6Ukct5U3x0/D01EMzD7Uw7ib8uyPJLRyt3h+Dbe+h0PMw y6EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=x8Gr0o5e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do3si11484873ejc.486.2021.03.15.11.28.46; Mon, 15 Mar 2021 11:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=x8Gr0o5e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239868AbhCOOdO (ORCPT + 99 others); Mon, 15 Mar 2021 10:33:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:37612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233106AbhCOOBR (ORCPT ); Mon, 15 Mar 2021 10:01:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B26464F47; Mon, 15 Mar 2021 14:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816854; bh=ensQVPdp1x56j3abJKC2wDhARCAQg4MNTzAYhAOB52o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x8Gr0o5e9I59Lnk8Xi3TuUPE9x7i5C/yJwnTqSXte1eH4RfCbuP150ZfApkDHrc0L cDAsTBVmbXeULhlgvtw4WKI6HIdLpZQa5w24Yax7IESzlOG0zhMyIL9ds63bK75HV1 MufqGtcbT5e/oC3qfIcpbEa0Ey/paUm92BPxeNEY= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Sasha Levin Subject: [PATCH 5.10 153/290] drivers/base: build kunit tests without structleak plugin Date: Mon, 15 Mar 2021 14:54:06 +0100 Message-Id: <20210315135547.094708395@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135541.921894249@linuxfoundation.org> References: <20210315135541.921894249@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: Greg Kroah-Hartman From: Arnd Bergmann [ Upstream commit 38009c766725a9877ea8866fc813a5460011817f ] The structleak plugin causes the stack frame size to grow immensely: drivers/base/test/property-entry-test.c: In function 'pe_test_reference': drivers/base/test/property-entry-test.c:481:1: error: the frame size of 2640 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 481 | } | ^ drivers/base/test/property-entry-test.c: In function 'pe_test_uints': drivers/base/test/property-entry-test.c:99:1: error: the frame size of 2592 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] Turn it off in this file. Signed-off-by: Arnd Bergmann Link: https://lore.kernel.org/r/20210125124533.101339-3-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/base/test/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/test/Makefile b/drivers/base/test/Makefile index 3ca56367c84b..2f15fae8625f 100644 --- a/drivers/base/test/Makefile +++ b/drivers/base/test/Makefile @@ -2,3 +2,4 @@ obj-$(CONFIG_TEST_ASYNC_DRIVER_PROBE) += test_async_driver_probe.o obj-$(CONFIG_KUNIT_DRIVER_PE_TEST) += property-entry-test.o +CFLAGS_REMOVE_property-entry-test.o += -fplugin-arg-structleak_plugin-byref -fplugin-arg-structleak_plugin-byref-all -- 2.30.1