Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1640083ybe; Fri, 6 Sep 2019 23:30:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDPl7GqC2eI9mbE9bk/Yy6EzLbPLTaimT2pKpeak1Z1OAeQg33q/LhDjTNA4Qsk4Y2CZED X-Received: by 2002:a17:902:9349:: with SMTP id g9mr163890plp.16.1567837818175; Fri, 06 Sep 2019 23:30:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567837818; cv=pass; d=google.com; s=arc-20160816; b=AVX++dmg4SJuScPZtJdpueP2yI7q3ByOn/ncLrL2b9T0vYzcmoti3G9gq3q+X0vy7i qZI+7oB6bGRwniVNJI6csi2gRcJGXE+RXiw8Cd0bkpgDrTVOpt+ictWKYonpBawF0vmL 0QkQ3a7fFqEiajeF5DCyYwX4mTRzgNSX+mvqA+U4GCEzN7tgWMQsfW4C71exj4lQFfix +G96yYtkADgy5XU2gfpXR9+RXuR795l8wq7oAfbxFlnxg/qtpuXHk8Qu5Vqul1BnnjJT nkcdosyog8OEjdYsfqL1jky/2p5F1PhKzaoRIK7Qdi91VrwS2oz/mZozLSRKPHcDcqR1 rIzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=YyE+PxJ5TwXReCpIsuIrR1fYs1ELh5SA2r4ZGBnKs5c=; b=oWAmh/WjVhxWAriavYZz0nmlpbAyhPwZQDmgdpicyzBeCmgvOV0l3C2DuhRHBNvpa6 0ewkuSbTP9reK1tc1UzngacHmSyA8knDwqxTfuApkZdM/fxTpilC2Hcj2Zvt4axZ2jZ6 cK1SK+T/K2rOYGGNG2tyycya8tHJzuDKIs8JvbLkcBpwY45C7ce5md1QOaLB/08VRYH/ R2G0WTfsiPLIdyxkQtLHRwhhki2NpcfvL/r1E8kZgHUiwM/h4DwYVdINeVdINtHWs3p7 nrsW5NijcjxqBDznoG7qcpGn4rjS73mZxaWa4iVsJY17B5J16KHDSj3FK9fNxhhU1E3w NohQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Sony.onmicrosoft.com header.s=selector2-Sony-onmicrosoft-com header.b=MUFV9SjN; arc=pass (i=1 spf=pass spfdomain=sony.com dmarc=pass fromdomain=sony.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sony.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si6867690plf.111.2019.09.06.23.29.24; Fri, 06 Sep 2019 23:30:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Sony.onmicrosoft.com header.s=selector2-Sony-onmicrosoft-com header.b=MUFV9SjN; arc=pass (i=1 spf=pass spfdomain=sony.com dmarc=pass fromdomain=sony.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sony.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392690AbfIFPbi (ORCPT + 99 others); Fri, 6 Sep 2019 11:31:38 -0400 Received: from mail-eopbgr790104.outbound.protection.outlook.com ([40.107.79.104]:14752 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2392618AbfIFPbi (ORCPT ); Fri, 6 Sep 2019 11:31:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IMlpSL5YePak2aiAYzHzviaAZFM35skJObBUbiWZdnWMTv8utoH0cqw0TLUKDsyf3lk6ubY7tCvSYRRD5Vi8+lJxvXUyY19BSSIB0H192A8GXYsJdhFBGIfweAtyvIoyTd7S5pfZt8UXw0V/5eWfQ69ENmabIYhbBH8Ui0xZ8spFX9JRrKB75Ait4wL7EfC1Y1+5z1O3/T7EVAHhH7EqSRD+F72xwMYn2a8r4mCLaVSpJ+ZbsxpgKyd+g9u3k2TbNT0PI+1qKylpJ0e21vk7kwhwQ+m40f42n1k13A1cB1pmtAJTsH06sJelmCOnxT4QCrWBxoz8IRhCidb+QU9daQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YyE+PxJ5TwXReCpIsuIrR1fYs1ELh5SA2r4ZGBnKs5c=; b=YDI7OBezXDzz9XdiSO/0enarHksv6djNVx8ktYkttSay2FW+GEQdm4FPJqduZhbPD6QE+/6ApMvbEz6sZxMBoXpy/wAuZhIjo+efp3qKBesXY0COngNBo9h08/hYL7hPaXdfhx9pQvsdBS9zj/tjawj14xVjGpjoP+DJfjsSbNu54vWKuY7nOVieyDgcK2amsaiZkM+3uKFll7QV+WyoU6WlYoV4Rg+tRW1JJ+420WcHAPthrQvyc3zt+84WV2FUwPl/slhWJjdO77V9lIcKfNhX366UaOEiLqG4E6PHzCDf2wd5BU6l0axiO4H1eWLAye0GHiexC4U1b0IUdyB3Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 160.33.194.229) smtp.rcpttodomain=arndb.de smtp.mailfrom=sony.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=sony.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Sony.onmicrosoft.com; s=selector2-Sony-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YyE+PxJ5TwXReCpIsuIrR1fYs1ELh5SA2r4ZGBnKs5c=; b=MUFV9SjNFoSH1V+NTBjH3dHx0oGY4/M3kDuffq+oDpSZpfD0HJaxRSK8x0Zv8bV45voX1YAoHWLVAQhB6X3UpoqikWZ1DjmBN2Be9ZP+blJjUm+Y9kqiZpZfWjBeSkqet3seY0HVtnDgAJrhuE7//GO+j/1NBRdpmgOSXpdcM1E= Received: from DM5PR13CA0050.namprd13.prod.outlook.com (2603:10b6:3:117::12) by MWHPR13MB1839.namprd13.prod.outlook.com (2603:10b6:300:134::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.10; Fri, 6 Sep 2019 15:31:34 +0000 Received: from SN1NAM02FT031.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::208) by DM5PR13CA0050.outlook.office365.com (2603:10b6:3:117::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.9 via Frontend Transport; Fri, 6 Sep 2019 15:31:34 +0000 Authentication-Results: spf=pass (sender IP is 160.33.194.229) smtp.mailfrom=sony.com; arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=pass action=none header.from=sony.com; Received-SPF: Pass (protection.outlook.com: domain of sony.com designates 160.33.194.229 as permitted sender) receiver=protection.outlook.com; client-ip=160.33.194.229; helo=usculsndmail02v.am.sony.com; Received: from usculsndmail02v.am.sony.com (160.33.194.229) by SN1NAM02FT031.mail.protection.outlook.com (10.152.72.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.14 via Frontend Transport; Fri, 6 Sep 2019 15:31:33 +0000 Received: from usculsndmail13v.am.sony.com (usculsndmail13v.am.sony.com [146.215.230.104]) by usculsndmail02v.am.sony.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id x86FVWxp030012; Fri, 6 Sep 2019 15:31:32 GMT Received: from USCULXHUB07V.am.sony.com (hub.bc.in.sel.sony.com [146.215.231.168]) by usculsndmail13v.am.sony.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id x86FV7cH013061; Fri, 6 Sep 2019 15:31:31 GMT Received: from USCULXMSG01.am.sony.com ([fe80::b09d:6cb6:665e:d1b5]) by USCULXHUB07V.am.sony.com ([146.215.231.168]) with mapi id 14.03.0439.000; Fri, 6 Sep 2019 11:31:21 -0400 From: To: , CC: , , , , , , Subject: RE: [PATCH] kunit: add PRINTK dependency Thread-Topic: [PATCH] kunit: add PRINTK dependency Thread-Index: AQHVZMfa56x9Vc3vGku2oQRhqtfXBqcexmWQ Date: Fri, 6 Sep 2019 15:31:02 +0000 Message-ID: References: <20190906152800.1662489-1-arnd@arndb.de> In-Reply-To: <20190906152800.1662489-1-arnd@arndb.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.215.231.6] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:160.33.194.229;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10019020)(346002)(396003)(39860400002)(376002)(136003)(2980300002)(189003)(199004)(13464003)(246002)(54906003)(46406003)(8676002)(110136005)(14444005)(97756001)(102836004)(478600001)(106002)(4326008)(86362001)(229853002)(37786003)(4744005)(55016002)(316002)(8936002)(8746002)(5660300002)(7736002)(476003)(126002)(66066001)(11346002)(486006)(356004)(6666004)(3846002)(6116002)(47776003)(6246003)(305945005)(336012)(426003)(446003)(33656002)(55846006)(50466002)(26005)(186003)(76176011)(2906002)(7696005)(23726003)(2876002)(70206006)(70586007)(5001870100001);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR13MB1839;H:usculsndmail02v.am.sony.com;FPR:;SPF:Pass;LANG:en;PTR:mail.sonyusa.com,mail02.sonyusa.com;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 54bcd044-0d71-44a3-5437-08d732df4c7f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(4709080)(1401327)(4618075)(2017052603328)(7193020);SRVR:MWHPR13MB1839; X-MS-TrafficTypeDiagnostic: MWHPR13MB1839: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-Forefront-PRVS: 0152EBA40F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: /Bd7KzrEtCqDe8Jzwv5xGV7SA9xd0UNbCWrjt9+qsnldsp5NF7qxeXi8hRDtuDgMSnPQy5d/De4PzLktFA9gpasXuTDsceq8JGDNHNVAg4kPros6TXxpOIyVJ9KzBotlEfSZLfsbQsdJzYdAGViMZiLO0p9woLZU9v4858qUbHkdktLZ8xfGeRJ0qt3aENhVbfwE7PCZmTWdKXWtq6jFg0vW/XJ95/B9Z24Rsn2yUfxh3WlzpWCC/f7rwpYRPWFE5aYZpAi2AVzf0xzK/WU6k27rW2C1UP6aFaupiTMDz9hjtbo1rF1+43b+dmxRC+0W7+E3kLZ8Gi6QEFJ98eXUmZBagw6Z2cKffRj73We4+fGvMaXWhQKSAZZPik8MVsboF4URgNrcn8y6PIr86FFqZwl/Fa12Hb6Wzu5dTu7X8Lo= X-OriginatorOrg: sony.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2019 15:31:33.4109 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 54bcd044-0d71-44a3-5437-08d732df4c7f X-MS-Exchange-CrossTenant-Id: 66c65d8a-9158-4521-a2d8-664963db48e4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=66c65d8a-9158-4521-a2d8-664963db48e4;Ip=[160.33.194.229];Helo=[usculsndmail02v.am.sony.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR13MB1839 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Minor spelling nit.. > -----Original Message----- > From: Arnd Bergmann >=20 > The vprintk_emit() function is not available when CONFIG_PRINTK > is disabled: >=20 > kunit/test.c:22:9: error: implicit declaration of function 'vprintk_emit'= [- > Werror,-Wimplicit-function-declaration] >=20 > I suppose without printk(), there is not much use in kunit > either, so add a Kconfig depenedency here. depenedency -> dependency >=20 > Signed-off-by: Arnd Bergmann > --- > kunit/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/kunit/Kconfig b/kunit/Kconfig > index 8541ef95b65a..e80d8af00454 100644 > --- a/kunit/Kconfig > +++ b/kunit/Kconfig > @@ -6,6 +6,7 @@ menu "KUnit support" >=20 > config KUNIT > bool "Enable support for unit tests (KUnit)" > + depends on PRINTK > help > Enables support for kernel unit tests (KUnit), a lightweight unit > testing and mocking framework for the Linux kernel. These tests are > -- > 2.20.0