Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1899214pxa; Mon, 3 Aug 2020 01:58:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfdmw5hRNI4Mpq8AWkBvV48OW173bPgyevyH58B4fs673wASou4oYveHbrMoFT6RnrkmfK X-Received: by 2002:a17:906:9382:: with SMTP id l2mr15215457ejx.513.1596445086380; Mon, 03 Aug 2020 01:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596445086; cv=none; d=google.com; s=arc-20160816; b=V7yV0eQUlEJQS6mUYbo3fawJ6S/6DuqorPpTm+GtWVN1p0Qg96UQ+3BQz5qbIzwV2d KyZKv/GuOtQFhUITYBsYYzm9UraH6uuyCiv2E3zAwha5KNG4OP7llQaJZRpIkq0Mem+4 ICbu0gY8CM0PGQpIERdswLPdNc899/JYcaL4TgG5ZpfApSQx35YQCP0MTvEVqM6rVMOq neXq22KciYiS7LJrfcNz2tTZpnrWy/2xJhulDcPhplSpUufPRmkWxVorTDn5jDJDYfyD Se+sJY/qZGXr9s9IgIbAgx6sBZhDZJ95CkM0wS8Rj8vIhkZatLXa1QwDdhvhSe0jn78O VWyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=gU73MhLCcmq1+gjGZVKcrwqhQyyOsr4j5IRlikxwQd8=; b=o6WfECtcKHMdnYfKOxBcMpuY/kYyCxYmNyD+lck0iWKHOHLvXreartId29hb6vJw77 hM7ZSwaZxwsX7YSYpBrmO1SYxtOsmX31nEfDleM2z2g5TX/Q7CrfQlA9dHabP2ETyakq l/2r6YInjlXQ69mUp2UIbwYZ3jzqgIryg4ZfqScge9AacFgqgryGJFjsVRQpOFSyRisy VjzwTpREtZW6VReAGV8kvD8H01yqIcNib26XLxvYEucuNIgf7K+yi7UYXsCFUwktAR/a UgkvfcnOueFqMSjnzCj/NqK/EijFAebzmzasgdCetCXGnPgISSofsI9IxHX4cj429wO/ AboQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si8773904edr.226.2020.08.03.01.57.44; Mon, 03 Aug 2020 01:58:06 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbgHCI51 (ORCPT + 99 others); Mon, 3 Aug 2020 04:57:27 -0400 Received: from mga17.intel.com ([192.55.52.151]:51372 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbgHCI50 (ORCPT ); Mon, 3 Aug 2020 04:57:26 -0400 IronPort-SDR: 7fUg7uEm7MtdQAe5vwUgi0R/xAYEtx4a19YRhi5c0Eo+QXTGePYKfLE1pC1viTxF+fY2yng/Km bxnPfx97SgSA== X-IronPort-AV: E=McAfee;i="6000,8403,9701"; a="132126589" X-IronPort-AV: E=Sophos;i="5.75,429,1589266800"; d="scan'208";a="132126589" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2020 01:57:25 -0700 IronPort-SDR: JK5u0nRI6ANficLgflI38qkeaJUkSIEq5iob74fmR3fksiXcD3CCwuq0KTyBu2bO7ciksosoe+ J9ZAbCPwSYbA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,429,1589266800"; d="scan'208";a="323978428" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga002.fm.intel.com with ESMTP; 03 Aug 2020 01:57:22 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1k2WHZ-005tfH-PH; Mon, 03 Aug 2020 11:57:21 +0300 Date: Mon, 3 Aug 2020 11:57:21 +0300 From: Andy Shevchenko To: Brendan Higgins Cc: Vitor Massaru Iha , KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , Shuah Khan , linux-kernel-mentees@lists.linuxfoundation.org, Greg KH , Thomas Gleixner , fkostenzer@live.at, Geert Uytterhoeven , Paul Gortmaker , Andrew Morton , Linus Torvalds Subject: Re: [PATCH v2] lib: kunit: Convert test_sort to KUnit test Message-ID: <20200803085721.GX3703480@smile.fi.intel.com> References: <20200729191151.476368-1-vitor@massaru.org> <20200729191948.GZ3703480@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 12:59:28PM -0700, Brendan Higgins wrote: > On Wed, Jul 29, 2020 at 12:19 PM Andy Shevchenko > wrote: > > On Wed, Jul 29, 2020 at 04:11:51PM -0300, Vitor Massaru Iha wrote: ... > > > lib/{test_sort.c => sort_kunit.c} | 31 +++++++++++++++---------------- > > > > Still opened question why kunit is a suffix? Can't we leave same name? Can't we > > do it rather prefix? > > Sorry to jump in now; I thought Vitor's reply with a link to the new > proposed documentation[1] addressed this. The naming convention issue > came up about a month ago[2]. The people in the discussion (including > myself) came to an agreement on _kunit.c. That being said, the > documentation hasn't been accepted yet, so if you really feel strongly > about it, now is the time to change it. My argument is to do something like - ls .../test* vs. ls .../*_kunit.c - use shell completion vs. no completion when looking if there is a test module for something But I agree that this is matter of style. > All that being said, I would rather not discuss that issue here for > the benefit of the participants in the preceding discussions. > > I posted lore links for the relevant threads, which should be easy > enough to In-Reply-To your way into. Nevertheless, if it makes it > easier, let me know and I can CC you into the discussions. No need. I think you have enough clever folks and good ideas behind this. Just put a reference to all these conversion patches to the summary of pros and cons of renaming. > [1] https://lore.kernel.org/linux-kselftest/20200620054944.167330-1-davidgow@google.com/T/#u > [2] https://lore.kernel.org/linux-kselftest/202006141005.BA19A9D3@keescook/t/#u -- With Best Regards, Andy Shevchenko