From patchwork Mon Mar 15 13:54:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 400482 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3479172jai; Mon, 15 Mar 2021 07:36:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTMAqQ783z9I98eO2aK7eb/jrHYE/t0oJXOGA/urSMeqaoC3W0APvpS3PaGvKaPB8d/tdj X-Received: by 2002:a17:906:b159:: with SMTP id bt25mr23605128ejb.364.1615817486714; Mon, 15 Mar 2021 07:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615817486; cv=none; d=google.com; s=arc-20160816; b=vDZTM/pGEjAVT/dpBwyXj04eXInWevUoM6FCWUwHdqZgltIVRxA09ZCqHfoEBm/8JA JXaN4ExvmW/YAIu67ilsLgCFI55I0PHTZDSvzuqxgPoc2bvdwx6z13/1C0LK54HGYldy +lCJKizp59bVzHJAMi0U4iJAd5dND0rR58ziIHvv4nVQfo+RNjGMOYEgzgVDI0Ui2oaA u7yEa2GnA/DOHI24jQ1TEnEBWy8U2UU8YXM5sxmH+xiLFDFOth8i/cAnhyTZXmKQylvF KOheUAMhqiD1MOWNVW9lcsdeOmnB4iQUdMq5c2MTef49X/338ej4AYEOgzYKZRP0iLXl wTcw== 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=S9cHctyNBUClpYuhiG3gAMpokmGsuIKr1ZcUkD4lbymC5i+Hsd6gWgcL2qfY339+cu bkglfRQHJXWAShF46FO/hRjzfnbFzjelLwXlGCEIJzJcW0n01SfLEIZMnNTf2Kpzxx63 RbHOKOcnNmAfgvlQbX92btKPvmgv/2r9MlRreSM57u6RoqlD68yUFJMZE2R1onJE80t5 7twwmQBbukvt92Jot5qaP3RsOFJ7TIlxVJl6kHk6q8Lk1zBi1dG0fSmpXsAURsRDM8T1 T9YUiqSt2xCPSR6yB/smaEs6gcawJT0qxEnb6FPge1+wIPk2exnVwn0QeXrcvhrudSm+ P2SA== 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 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.11.26; Mon, 15 Mar 2021 07:11:26 -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=x8Gr0o5e; 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 S234841AbhCOOFt (ORCPT + 12 others); Mon, 15 Mar 2021 10:05:49 -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 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