From patchwork Mon Jan 25 12:45:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 370585 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp4644513jam; Mon, 25 Jan 2021 21:42:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxW7ovb3oqwup8UDdO2KjzJ9R2D7PCZxmwhlrOnmCTbTddGhYlCLY91PYjq7EHX62Fh9ju X-Received: by 2002:a17:906:d8b4:: with SMTP id qc20mr2518541ejb.451.1611639726081; Mon, 25 Jan 2021 21:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611639726; cv=none; d=google.com; s=arc-20160816; b=ZdOLf9XbA2MXp3ePRBK8OIXEjIfOiOzFosyVBMTc+nsDwPs8Kda77uG8H6lUPPgMUW lqTBCMnqdas+JRnCHeQs2tgZuUyxfSQ6ZcdM2euf21Yf2x9jdnvjZvwtscmdclJInHpd 3C5V0co6stXvgleGx4z1u1aIM9FEmwV/J6OLiym1KOAxgbSZkEUYwXCVv6FvF/9thDnj 1Pl2HrUOrfNcUrxWYAE4YLSkQdUTQRAJZNSPP9UKEysOeXaz2hBvfWGuLNRpYSYkDR76 hjK+6Qvd9zlp1huPAERapzxcvZ5PoDfOfJeB0mqcDuOJs0brOuWIaxSHP0bTU/IuPuVP 63qg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oxcu5zf5JJNoH4R6mOfyAlgoxEJo8dcuKkPd2NdO02o=; b=ktJBR1L1f+3YFf+YNEiiodtgF+9DF4vtQBFW5so7JfEVeON3r4v3TccVGRlllbp7C3 Gcm6t9Fdo4P6DxucPNzVzeq/5v6IbfhTCQGzckXapFROyYhUyAo+l4GFViyjDfsWKNV9 t7CtbneXzj6KzbuxutOPSew5rhCUm0JYzPGxZho0WH+x4vbfAssuxFYt1/77ucOipZK4 GTJa9C7Sqw44iVPBRNBgCFqJuMpaCHeP5d2gLC/f1SAcGjQpEue6AuMlyev9PqZt5ql2 Z5YmGI8bjxFIPRuPs56ZEJbbDCLgeHTWu8El/L3paQKUly4GLjt6ghC9x3Bia+YQAt3X g2Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DXTCMseC; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc42si6593821ejc.750.2021.01.25.21.42.05; Mon, 25 Jan 2021 21:42:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-usb-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=@kernel.org header.s=k20201202 header.b=DXTCMseC; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732305AbhAZFlV (ORCPT + 3 others); Tue, 26 Jan 2021 00:41:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:39732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728292AbhAYMr1 (ORCPT ); Mon, 25 Jan 2021 07:47:27 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B8EB622D04; Mon, 25 Jan 2021 12:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611578806; bh=kXFZkQ9+v70aH3YVPuA5/lu+eenOiEeGF4vdN+dLFXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DXTCMseCI/Zpe+8B3NRpfNUmZER45GKnjtDKktN9SOa5UxRqf7GzeMm26nh7vHuzB a1vxPTVpUEG3IS8mGE/i695PZBWod8q4jJKIcWH5d5wgIPBxbpGTJV/c8Gxh8k9oJR lZGpFG2I1enjOqDI7LYKBuArgdxcJcuN/jhMLEN0qt6b3GVquUJEDWlwQhWxNwIvis bubRTpFAdqO4LuM8OB2fmrZHyuOs4XhU4zCVbDYasw46qtiSq+2SEg3bMvH/5iCX8R ReLQ+Li7judC1UxCNTvdGb97OGiO+bLO1RK4szwMpzgfJULqIM5mYRMY+wUy4YNLgG EoeAvpQdDw+JA== From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Kees Cook , Brendan Higgins , Shuah Khan , Geert Uytterhoeven , Alan Maguire , Dmitry Torokhov , Mika Westerberg , Vitor Massaru Iha , linux-hardening@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Andreas Noever , linux-usb@vger.kernel.org Subject: [RFC 3/3] thunderbolt: build kunit tests without structleak plugin Date: Mon, 25 Jan 2021 13:45:28 +0100 Message-Id: <20210125124533.101339-4-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210125124533.101339-1-arnd@kernel.org> References: <20210125124533.101339-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Arnd Bergmann The structleak plugin causes the stack frame size to grow immensely: drivers/thunderbolt/test.c:1529:1: error: the frame size of 1176 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] Turn it off in this file. Signed-off-by: Arnd Bergmann --- drivers/thunderbolt/Makefile | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/thunderbolt/Makefile b/drivers/thunderbolt/Makefile index 7aa48f6c41d9..e571c0495a84 100644 --- a/drivers/thunderbolt/Makefile +++ b/drivers/thunderbolt/Makefile @@ -7,6 +7,7 @@ thunderbolt-objs += nvm.o retimer.o quirks.o thunderbolt-${CONFIG_ACPI} += acpi.o thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o +CFLAGS_REMOVE_test.o += -fplugin-arg-structleak_plugin-byref -fplugin-arg-structleak_plugin-byref-all thunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o obj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o