Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5825017ybl; Tue, 14 Jan 2020 15:55:10 -0800 (PST) X-Google-Smtp-Source: APXvYqy/5JOOr/YbGqI+C/0cMqoCw+Z9OA+dBdG9lNTBScgrj0p+DJsccfDXaxmL0eQuP8t9Q4+l X-Received: by 2002:aca:c68f:: with SMTP id w137mr19491962oif.179.1579046110492; Tue, 14 Jan 2020 15:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579046110; cv=none; d=google.com; s=arc-20160816; b=KMmuM4UaeRvKDrCUj2uOt51xdP72kDNtIEl8FiXpNsHXjLfMliJVPT/aWWGbPb7iC/ 6QAKx3aY8xeHfjsm0mmzjAY+9Y+qromdQEgW0MfMoORYPH48a2Rt7AGNNE+uKyqTebtm qpYbFRBOrYjs2X5Q9+yOXp3HMUdhsDvrTBcCl+zck86EUTobVBMqoxVKmvSMs7XeRF/7 ineefRQKzREuIMX2Gbd6QQ/Ir6e6UxeT/mghpHiU7eLqmFN/MDpRA533P2aIsbpMoBUJ +M66OSqyr2ZnDxYKEueKXcShiLPBvO/Agx6tfERZInc2Qsi9MfM59rSP6JGbgFaEpkse sPZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=j2E7ZFy6aieNRC/FnnKvvkc+wJEJ/BlK5p7TcHenYqg=; b=cZR5tJ9BPP9D2Eiz4rNGyYuF6eLSmaCUXL2BXwGmW9xMKqBwVylUgmEqP5vAlOiwis D++tflBvOHrY9avwuOnS7qJChfIMrjne0JMqBkNA0Jt4CTJEdk9br7WD4nQNlPVt8B0i PjJSdjjh9hiGgEhGhjHwj/notc3m7vzlC8uPlDYKmwOT2jt/1XJXaY+bMNNxi7wnm4qb yNgpMk7yfesqUQU1X0pgPxXaVXnhwOiVArfbO9hFG+PGohfKoKk9IFUzwtEFH6vSJniK nGa7XXbzeSUuV7T7hJqxkbEAvBW2hke1J7i0O+4Z20Eo7Vrr22IiWEOMWn1BPHqnip+g bRbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Fb+1mHnY; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si10677229otk.221.2020.01.14.15.54.59; Tue, 14 Jan 2020 15:55:10 -0800 (PST) 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=@google.com header.s=20161025 header.b=Fb+1mHnY; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729064AbgANXxL (ORCPT + 99 others); Tue, 14 Jan 2020 18:53:11 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:51197 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729047AbgANXxL (ORCPT ); Tue, 14 Jan 2020 18:53:11 -0500 Received: by mail-pj1-f67.google.com with SMTP id r67so6467076pjb.0 for ; Tue, 14 Jan 2020 15:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j2E7ZFy6aieNRC/FnnKvvkc+wJEJ/BlK5p7TcHenYqg=; b=Fb+1mHnYFzLqwCbfsucuxwt0wY+h3w4IlMju1fc0DKE2j5G5drb/oMOhZOLjmhY6Cm UBSBLkcRwfQkWW3VcGlkbdZFmm/CxHmc/2Cyf3jsXzVSebCwPNJ3gbxegEJgO4vqXYuB O6G/wcmz551H/oc5Zazco/bimLiHWykwQs3jvWoCtz62t2knGN1/LLs8UoT4ZgOKAYWH xfsjM0/XnppMiz0cPvApP3BH8y6C9sq7q14LY5ZBZd7oVtj9doWc8+zZqozQo5urFXRP BYH5UgxcjFbZ66PDI/USdqohoUsrFnrXl82ZSjpngY7c4LxdgZrXmdEbjMwrrUsUffKQ DEwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j2E7ZFy6aieNRC/FnnKvvkc+wJEJ/BlK5p7TcHenYqg=; b=Tct7Xd3IEW935uofc09tltW3TGk28DJMvZNy3j72ek/ecpY5aWjEJ1HqZNigErO5Oj rcdmiwZiC1R4fCeMIR660MBXFnvlhMjnDbiXUf7dwQWoDfmG1KOZRkTCLtXRd8ViA92z MWXhZgKElsqSSE4lKb+Gq1UelHmpdvjCdewg/FrjfzOW9Gkc3chRJHd3W33ovtGPV3gi SF7EZr0rYQe7mYEQXuxrWmUqIetAKrADY+3hoeKCAUXdZsXNOG/o0mdTjpUcigkXT1fn S/pslTjIoBwjn9fZMDrdeehLCvp1er+QZzdn0R2e11YsMBYLo98rIjrFI7Rcw4hQqO4O MRaA== X-Gm-Message-State: APjAAAVGmaj5vZTmq5GuP2u74JjCnsyGFSV1/8PplTRE2kSohdmJLO2v SsL7N46QVZAh9i4dPugD9b4PXxXrtftGrjj3bCFO3A== X-Received: by 2002:a17:902:7d94:: with SMTP id a20mr22016821plm.297.1579045989763; Tue, 14 Jan 2020 15:53:09 -0800 (PST) MIME-Version: 1.0 References: <1579018183-14879-1-git-send-email-alan.maguire@oracle.com> <51d7d427-2ef6-b0cd-ad23-2fb75b06b763@infradead.org> <1973062.CA44Rh9njY@kreacher> In-Reply-To: <1973062.CA44Rh9njY@kreacher> From: Brendan Higgins Date: Tue, 14 Jan 2020 15:52:57 -0800 Message-ID: Subject: Re: [PATCH] software node: introduce CONFIG_KUNIT_DRIVER_PE_TEST To: "Rafael J. Wysocki" Cc: Randy Dunlap , Alan Maguire , Greg KH , Dmitry Torokhov , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , Shuah Khan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 14, 2020 at 2:43 PM Rafael J. Wysocki wrote: > > On Tuesday, January 14, 2020 5:45:56 PM CET Randy Dunlap wrote: > > On 1/14/20 8:42 AM, Alan Maguire wrote: > > > On Tue, 14 Jan 2020, Randy Dunlap wrote: > > > > > >> Hi Alan, > > >> > > >> On 1/14/20 8:09 AM, Alan Maguire wrote: > > >>> currently the property entry kunit tests are built if CONFIG_KUNIT=y. > > >>> This will cause warnings when merged with the kunit tree that now > > >>> supports tristate CONFIG_KUNIT. While the tests appear to compile > > >>> as a module, we get a warning about missing module license. > > >>> > > >>> It's better to have a per-test suite CONFIG variable so that > > >>> we can do selective building of kunit-based suites, and can > > >>> also avoid merge issues like this. > > >>> > > >>> Reported-by: Stephen Rothwell > > >> > > >> Reported-by: Randy Dunlap > > >> > > > > > > Apologies for missing you out here. > > > > > >>> Fixes: c032ace71c29 ("software node: add basic tests for property entries") > > >>> Signed-off-by: Alan Maguire > > >>> --- > > >>> drivers/base/test/Kconfig | 3 +++ > > >>> drivers/base/test/Makefile | 2 +- > > >>> 2 files changed, 4 insertions(+), 1 deletion(-) > > >>> > > >>> diff --git a/drivers/base/test/Kconfig b/drivers/base/test/Kconfig > > >>> index 86e85da..d29ae95 100644 > > >>> --- a/drivers/base/test/Kconfig > > >>> +++ b/drivers/base/test/Kconfig > > >>> @@ -8,3 +8,6 @@ config TEST_ASYNC_DRIVER_PROBE > > >>> The module name will be test_async_driver_probe.ko > > >>> > > >>> If unsure say N. > > >>> +config KUNIT_DRIVER_PE_TEST > > >>> + bool "KUnit Tests for property entry API" > > >>> + depends on KUNIT > > >> > > >> Why is this bool instead of tristate? > > >> > > > > > > The support for building kunit and kunit tests as modules has not merged > > > into linux-next yet, so if we set the option to tristate the build would > > > fail for allmodconfig builds. Once it's merged we can revisit though; I > > > should have mentioned this, thanks for reminding me! > > > > Oh. I see. Thanks. > > Patch applied, thanks! Cool, looks good. Thanks!