From patchwork Mon Mar 15 13:53:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 400452 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3454527jai; Mon, 15 Mar 2021 07:09:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0L9CxNlWFpUAG5+yyFcyDqkvJnXRsbsaEIGKkL31JB7w60315npXdmKIjVQU6dw1WtFp0 X-Received: by 2002:a17:906:8593:: with SMTP id v19mr23870053ejx.32.1615817393873; Mon, 15 Mar 2021 07:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615817393; cv=none; d=google.com; s=arc-20160816; b=sfuKmM8LLpc0d2pd2HnQzJLuk0J1tzsOKm81Su12VEFJtR6MM+HooLkslaz0LlgnFN fHiFT1teqfQ7/ORIQnG0rS0MKt1Eups/PWDQkZ9cyOh2/rXZz/5/pcocusrpOzYU7ghM DzO2xVvKwvQOUbe6DGZnKrJ09NJsOlH3WqMUfJlV1vVetgq1d35yE7KSW6DJpyYzcgN7 pLD2lc0Wk7oBYMG2SMquFOR9DNFkz8X2eVe0hqBlbkpaWxDMCKai5bAvgijZKbcjxe71 TtmqdFKT4oMZCx2gVMhh4TGj+34ZvmP4oVVjL2Hx2hyFPI2d5kX3/XJhrpSzoX3ABWD4 HBmA== 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=l7Bg9xQRWdItLGzvju9QX2+AHol36frVS1UdyYTDRvN4e74mWbnZOaACM2Icz5MvfR rXdF8FC4nrFoybllmET3nWBEtcaKpW2q+yDh8I2wSvXYb4JFkPeN8RGjmHuylRPMmLOO rEW50CctLgpihatLwZwH5JNZwIjzJrqLM7t33uY4KaGVO5cq6xQQuZn6i0yTvQvErOF9 +JnXf1gtUGaKhRVsm9kLVGUsAbahyYC034ExCjgtVoqp+aNjc0onyOu2tHuxrnKnlfAI S9k34jNVYkZSfVxjnwyJOahOJ9bRxHfy9UaUSIzMovkL7L1tFvYg6y0kK+E1atdhHSM4 /3hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iFlIoJ8M; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 h21si993553ede.37.2021.03.15.07.09.53; Mon, 15 Mar 2021 07:09:53 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=iFlIoJ8M; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S234562AbhCOOEV (ORCPT + 12 others); Mon, 15 Mar 2021 10:04:21 -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 S233109AbhCOOAl (ORCPT ); Mon, 15 Mar 2021 10:00:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D85C64F3F; Mon, 15 Mar 2021 14:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816828; bh=ensQVPdp1x56j3abJKC2wDhARCAQg4MNTzAYhAOB52o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iFlIoJ8MDvx9gH6tIDIVvXkm/ZaWuRUNDnWlOaeaTiaHvJp5XkvIEH1Z4KjjLvgeQ bzvLXNXzEMI3itgKL/AlhsZWAO6ddK+NqcJbC+HbevX0lqe/CAn6R7mfQg1x88LkgH JvQNeSyk7Qok6kXprxLYlTpGYcvWTjA0DQgSvf0E= 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.11 149/306] drivers/base: build kunit tests without structleak plugin Date: Mon, 15 Mar 2021 14:53:32 +0100 Message-Id: <20210315135512.681329712@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135507.611436477@linuxfoundation.org> References: <20210315135507.611436477@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@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(+) -- 2.30.1 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