Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3219028ybk; Mon, 18 May 2020 22:04:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaKZ710quqCkKfknXKheIin9srQlZRGo2cwvxNSFfFUVOwHjbRF93HGD6EFlO42h+EQrSW X-Received: by 2002:a17:906:dbef:: with SMTP id yd15mr18006960ejb.5.1589864697759; Mon, 18 May 2020 22:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589864697; cv=none; d=google.com; s=arc-20160816; b=omuafDlD0CeIZmyUsghCa/LUTUuWLM0hfJjNeruYzm/OHJbwDDI5iFQaoKf6DNLEdP UcxlYcEKynFkku3g+5vwP+KwJd58i3P+ogEtpGvJ2d4pkSqfMLNvWmcjdxPqeojANZb/ PWW2mSeA6TKV2xxKzku0Jdvi9Ja5yKDz0M6FSXLjrkJYB6baucHicogxJWOkH535bga6 ruON1Oor66GvmiqZaYd32ldxZ7Co1kfJwAC88SqzKfRVxm8U9Z/pldIzZmQRFuVxFeLD guNijPC5hpJCcTU20T5BwICLCW1TiwUYNrc68wIrChRCiiZnDDxVkbdpAsNA+V+uEuX2 oxwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wJNoHTo4CqPlnuq9j1susMrKwpP9fnXUCDtlxh+o2Dg=; b=DFBpfubmCMMG5OKngQEsqgaCu5SNOCq/a7wpAYP2K5BYGOXuQMz+tUx92Y7tDiq1R7 HYTwpPllOwLCizCkIO8qao0KdzrylWlou9OU0SiqZ4nfXbnbAGvSpK+7q/GbQR1E3wD7 mDfMpTOLwx0tzIywZvMc8kuLzKQllaMFU5srPh5Fy/rTKALjKhD/q98zqkibyHepia80 vbwlyDK4IcS7n0yNUmGJ8mQPFcsMnxll7/uPHKk0qBBZclSVT8AaJvt56/xHpTawMZsD Nn9xqflh2k0vE3oEC9+0UeWqtCqbp46B5eogJlbi24ZPAbT2pYonGphh1i1pJj3B0rdN HXoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si1162493edv.4.2020.05.18.22.04.25; Mon, 18 May 2020 22:04:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726859AbgESFDx (ORCPT + 99 others); Tue, 19 May 2020 01:03:53 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:47094 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgESFDx (ORCPT ); Tue, 19 May 2020 01:03:53 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id A426E2A112D From: Gabriel Krisman Bertazi To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu, kernel@collabora.com, Gabriel Krisman Bertazi , =?UTF-8?q?Ricardo=20Ca=C3=B1uelo?= , kbuild test robot Subject: [PATCH] unicode: Allow building kunit test suite as a module Date: Tue, 19 May 2020 01:03:46 -0400 Message-Id: <20200519050346.3983998-1-krisman@collabora.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Starting on commit c475c77d5b56 ("kunit: allow kunit tests to be loaded as a module") kunit testsuites need to be buildable as modules, to prevent the undefined references below, in case KUNIT itself was made a module: utf8-test.c:(.text+0x48): undefined reference to `kunit_ptr_not_err_assert_format' >> sparc64-linux-ld: utf8-test.c:(.text+0x50): undefined reference to `kunit_ptr_not_err_assert_format' >> sparc64-linux-ld: utf8-test.c:(.text+0xb4): undefined reference to `kunit_do_assertion' >> sparc64-linux-ld: utf8-test.c:(.text+0xbc): undefined reference to `kunit_binary_assert_format' This was found by 0-day on linux-next and fixes the allmodconfig build CC: Ricardo CaƱuelo Fixes: d269543a1dcb ("unicode: implement utf8 unit tests as a KUnit test suite") Reported-by: kbuild test robot Signed-off-by: Gabriel Krisman Bertazi --- fs/unicode/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/unicode/Kconfig b/fs/unicode/Kconfig index a8865891c3bd..eb30ef469567 100644 --- a/fs/unicode/Kconfig +++ b/fs/unicode/Kconfig @@ -9,7 +9,7 @@ config UNICODE support. config UNICODE_KUNIT_TESTS - bool "KUnit tests for Unicode normalization and casefolding support" + tristate "KUnit tests for Unicode normalization and casefolding support" depends on UNICODE && KUNIT default n help -- 2.26.2