Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1052165pxx; Tue, 27 Oct 2020 07:12:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHXyV93nwp637eVyKztr20b+gHl84vEUUjD8E3x9uzOqiBewISm51TtQcj5fumf/QPrfV3 X-Received: by 2002:aa7:c608:: with SMTP id h8mr2398120edq.16.1603807973420; Tue, 27 Oct 2020 07:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603807973; cv=none; d=google.com; s=arc-20160816; b=BEH6argeMrsOX6jG9mvOba1e1GHN/QhumZxBR9qWsepy1EE8PHZQYgN1q9/vBFFLp8 MF4D4hRxi70PTus31ozTYh5eowPXukcdWlV6Q5WP24jzmO46mfijdBwu3i5+b0fO0V/u 6n3U9lZR7vxA+QlqwEo66yc9CQtPIZ7qegMI4Q4mdM2ef88L3DwF+nK5b0OZakZzak+C yQoVrDtYjjVJyNbs0hmQpmNmNOWRUxz3Xw4kGoeqVxT4AoJihV8rIGPgJkTscBAfLw+o FrHDT/5DZEtpngCVJaz/ownXotfkqrZP1sbDviKlENE8Knjmah9bKuPS3nWAos4TbDhO gJNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=MfowExY2M2X/2s1QHjhgoi8PsO3M+98xml+DmfUlIhA=; b=f5MDdUMPVWqZp6ngDDXCxFud3FirtHM4nlv1hwUcvN99ScG6MKaxPKuMw32qpVztqZ rvexQkfwbe3TZEMgshWVuTK3EZSZ0bCgdwXqzoch9gWU2tng/U8PFKf3p+SKO2YW4/PA TKXLA0ky5sEaHqAI/MPf9Vp1AaY1EURhS+T4aoYRDcuXAda50Feot2eQ7H2RId/BLsUN KZVAFfOWJAchzSO1C7en1QFisDRxU3YSms/x9AyfO0KPTZjuhX2V1lsWMi13BQsOAePl ln23ZQzdZ3jf5KMeWnfc6dKHOkNl9vCqRTmDU9dsYbWVQ8HTbffzk2MLIa6kPp8ZgoPu ZBAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=vqgG6QEd; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj25si924254edb.516.2020.10.27.07.12.20; Tue, 27 Oct 2020 07:12:53 -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=@amazon.com header.s=amazon201209 header.b=vqgG6QEd; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2507471AbgJ0HTl (ORCPT + 99 others); Tue, 27 Oct 2020 03:19:41 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:42518 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728828AbgJ0HTi (ORCPT ); Tue, 27 Oct 2020 03:19:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1603783178; x=1635319178; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=MfowExY2M2X/2s1QHjhgoi8PsO3M+98xml+DmfUlIhA=; b=vqgG6QEdHUYbkFCBgt3rEM2FkRUbmjXMtGLOPjDthEOemGhiTbSJPnr8 XsnOcCO0ekck4KKNMYKWKxMTafI7X8Zp1TsLn4/nHWA9cANWzCaZGgw39 Clb17FncWluVYx106Oob9vi6wJVgrs5Y+SXvPEEm5L40sc/BsUH3tSHCz w=; X-IronPort-AV: E=Sophos;i="5.77,422,1596499200"; d="scan'208";a="61107540" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-af6a10df.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 27 Oct 2020 07:19:31 +0000 Received: from EX13D31EUB001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-1a-af6a10df.us-east-1.amazon.com (Postfix) with ESMTPS id 0CA6CA1F1C; Tue, 27 Oct 2020 07:19:28 +0000 (UTC) Received: from u3f2cd687b01c55.ant.amazon.com (10.43.160.67) by EX13D31EUB001.ant.amazon.com (10.43.166.210) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 27 Oct 2020 07:19:24 +0000 From: SeongJae Park To: Brendan Higgins CC: Andy Shevchenko , SeongJae Park , SeongJae Park , Shuah Khan , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , Linux Kernel Mailing List Subject: Re: [PATCH 2/2] kunit: tool: Mark 'kunittest_config' as constant again Date: Tue, 27 Oct 2020 08:19:08 +0100 Message-ID: <20201027071908.26454-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.67] X-ClientProxiedBy: EX13D23UWA001.ant.amazon.com (10.43.160.68) To EX13D31EUB001.ant.amazon.com (10.43.166.210) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Oct 2020 13:44:33 -0700 Brendan Higgins wrote: > On Sun, Oct 25, 2020 at 5:45 AM wrote: > > > > On Thu, Oct 22, 2020 at 08:35:26AM +0200, SeongJae Park wrote: > > > On Wed, 21 Oct 2020 14:32:52 -0700 Brendan Higgins wrote: > > > > > > > On Mon, Oct 12, 2020 at 3:27 AM SeongJae Park wrote: > > > > > > > > > > From: SeongJae Park > > > > > > > > > > 'kunit_kernel.kunittest_config' was constant at first, and therefore it > > > > > used UPPER_SNAKE_CASE naming convention that usually means it is > > > > > constant in Python world. But, commit e3212513a8f0 ("kunit: Create > > > > > default config in '--build_dir'") made it modifiable to fix a use case > > > > > of the tool and thus the naming also changed to lower_snake_case. > > > > > However, this resulted in a confusion. As a result, some successing > > > > > changes made the tool unittest fail, and a fix[1] of it again incurred > > > > > the '--build_dir' use case failure. > > > > > > > > > > As the previous commit fixed the '--build_dir' use case without > > > > > modifying the variable again, this commit marks the variable as constant > > > > > again with UPPER_SNAKE_CASE, to reduce future confusions. > > > > > > > > > > [1] Commit d43c7fb05765 ("kunit: tool: fix improper treatment of file location") > > > > > > > > > > Signed-off-by: SeongJae Park > > > > > > > > Reviewed-by: Brendan Higgins > > > > > > Thanks :) > > > > > > > > > > > Thanks for this! This is something I meant to fix a while ago and forgot about. > > > > > > > > One minor issue, this patch does not apply on torvalds/master right > > > > now. Could you please rebase this? > > > > > > Surely of course, I will send next version soon. > > > > May I ask what happened to [1]? > > I mean it seems these two are goind to collide. > > > > Brendan? > > > > [1]: https://lore.kernel.org/linux-kselftest/20201015152348.65147-1-andriy.shevchenko@linux.intel.com/ > > Sorry for the confusion here. After an initial glance at your patches > (before I did the review end of last week) I thought only the first > patch from SeongJae would potentially conflict with yours (Andy's) > (hence why I hadn't reviewed it yet, I was waiting until after I > looked at yours). > > I noticed on Friday that SeongJae's changes were actually fully > encompassed by Andy's, so I am taking Andy's not SongJae's. Sorry, I > was going to notify SongJae today, but you beat me to it. > > Sorry everyone. It's ok, I understand the situation and respect your decision. After all, what I really wanted was just fixing the problem by whoever. I would like to say thank you to Andy for fixing it instead of me :) Also, thank you Brendan, for maintaining the cool Kunit ;) Thanks, SeongJae Park