Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3523402pxf; Mon, 15 Mar 2021 11:27:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2WGNOZdrnjJ2c5h8AHsHSN0z1agQf3y9BtgHHKZsFwKYdCVFC8vMpGiVT91goSt4cipOz X-Received: by 2002:a17:907:37a:: with SMTP id rs26mr25192086ejb.336.1615832846600; Mon, 15 Mar 2021 11:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832846; cv=none; d=google.com; s=arc-20160816; b=UrXPIwK6N3l1onCnC/Z57Nqj9N9yXaZKz4oHD+F7cEZIJACk6qxX++chy6GoE9aUz+ QS0XMNyiirhoteUhveRhhhZzqrV0aObr2vgv6SuHwW8yjcGUJv7ogXwl3DkzmFh65Htf sC00dYd1sEY6XzojUMz/5WA7ANYVCclzej3U1gHen6aaGijeLxfv842Oz0iWmWjhNzwR QswucxnPuJ/h/zt5mL0pIbRxd4wMDMu+M0u+vWjO329D1oKu9u9iKTaPoWLNUH9SaYjT uom/ThZT959wOFeQv57txF//PG1duMk+/BqzL3YovhCObyUhPxAcKCsIJXMAFkn5KwGL 2+FQ== 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=XHywMDlkzGzGuoN1ozxWie3VpW3r4y4+ZQvhOCPZD8ALmQDbPp/eq/2wkwSrsmPbgA HXfxvqF8RTZsAKjjygau/uSicL05HVZs6XRZyHDKFLIEhaB18gQ4pf5vUhBUMiYJs22g XU4Tkl8N4AjSt0zvidGpA6K6PpKpoTCLHZtk9XPkydZDReA0dNncHn4AJ1RYUxpM2I9r HCWO/K+fKb1LNVnOqEdd9a4Dow52gaSt9CMHugKenqB/JeDRHA0WpxTRssi/J25cjdX3 oKb56iAWNQFMLOZ3A+71qvYqbYme9wPZ/1OTWq1F8Q7YKGDJl0fkgtY1Zu6oTWXs6KSJ 5bNw== 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 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 h1si12089406ejf.242.2021.03.15.11.26.58; Mon, 15 Mar 2021 11:27:26 -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=iFlIoJ8M; 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 S239184AbhCOO1z (ORCPT + 99 others); Mon, 15 Mar 2021 10:27:55 -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 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