Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2392569lqo; Mon, 20 May 2024 04:42:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAHixa8WUNgS6WJQtkUTzUDWDne1KXABXfhVIdzLm8C203aujPsdRvu5w/G/qhPrh4YrxvjSPKiRKbaE+dwFLJZTMABZy5PjvJrliRWA== X-Google-Smtp-Source: AGHT+IHBuLnwhNW/3OgHAgvDVJ1WTB1zmAuLgZhMYHQ/DbPlMDW6hZJVAXQa9Nv14XFNvsmSoE/B X-Received: by 2002:a05:620a:1270:b0:792:b9e7:2f1d with SMTP id af79cd13be357-792c7597dc9mr2728962285a.21.1716205325270; Mon, 20 May 2024 04:42:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716205325; cv=pass; d=google.com; s=arc-20160816; b=eFz+6SmwcbyozGNFFJHe/h9vYnOF9nZatWFJPKEqq1m72XwOS8RRhxgiez0VPChy/E EBeaPZet4Vqq92bxbWsLzX3Z1jlT4qPR4vKmcjNWdjPHTHytGxDCScvuOID+AL3IZA1u j5ioa5ybmseDZ8UyPEy/5zxEe03Xe0fSUS0SuYPyLuN37obzS81BQJA3dvVUJ35uxyud 5CHc7DDEnSCeK6d5RMGSV8W657yMm2hnOPsdNEOGZ7CgutX4JSd7sO329V9FT367d1vX ppxiPpHsT+RcYUXKgbEpq9uCbixXJiV1puxOO1dpWOzjEFC4WoGAA7RJ5njkc/aj4Nhs IORA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=a76NLsOqpAhT7UPR9aUmjJ2mg4WHgQRk5YjCt6+gAeM=; fh=YgNveS3yCsdmUzWHgoe7ZuJh+009J14K2cSWRmXqeB0=; b=BNEbFVOuhldkiU9plMDU1FMFofz5XBh7LdPXCsJ1xlV09VZ/6+0pwS9SRxhQF2oYKI IVaQXeDYJ2TWUr9BnwM4xkIYdcxOKCSfu/SrletImYYRMXLlqbF0pZwcnVxNWlk7hg6C 60yw88qj8fjDySRb3/AoHUz/WP3j0Y3/hEJndUMdPrswpIjLWLuA1c/G5zs3kTNIbKdi xtTN4s+UG0iEMkC3/0WlsdYWJPwCWR2lA6nh2gmRZigc7HGJbxJ7vaS+uAAKBj+s5kaT u8tw25C0hzUsI5zAYASQtB++20yyKjvGXbrU3UrNc9A++S68tPR5fMvQhdumel5eHN2q rEmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VwFnbDv5; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-183668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183668-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf335e2fsi2470738485a.384.2024.05.20.04.42.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 04:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VwFnbDv5; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-183668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183668-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0400D1C21E50 for ; Mon, 20 May 2024 11:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EF2A53E0A; Mon, 20 May 2024 11:41:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="VwFnbDv5" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 786A154670; Mon, 20 May 2024 11:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716205317; cv=none; b=s0GiQev//8QVDKKQnSR0RMeVGkhlLwSsyD29qkIDKK3NyKm2D30B6ilJyKCs2vzevDkAWJorO8+X1Kpd1o14id+Ybqt5aW0rrT9UxS1ibvJOZaStUJ0uVWuwVq+7izoOaQ5A4zFpNvIHH1XeKYldbkEz0tslPCbgAGCUF51GQ+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716205317; c=relaxed/simple; bh=joCspknWNfA6tUqmGbvbm5iNnV9qpT6aM/THrk/lSA8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=iIZeEriwNFGt4XHBGaqcSEkooMhZrSKsS0UfG8xFQE6tsbmpOSx7+CYoBcIsSQIw3KCafvZGz6YURAevC0X9oRPyurI44lSa9JtSuhkX+6ra/x0OycD4PgyoENlpvvewaV8zFcG//hyhWUE74NvvMLi8Dve2QANtIi8JzBxKe8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=VwFnbDv5; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44KBfRqK032177; Mon, 20 May 2024 06:41:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716205287; bh=a76NLsOqpAhT7UPR9aUmjJ2mg4WHgQRk5YjCt6+gAeM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=VwFnbDv5uflaIET3e5IHt6ObbQTtfqczMDLmIuuyRwkr+PMKbO6KDftOndM5S4Kk3 EFwR2f0t4y5Ky2JyTwmRMBI0sbHzhh9dvO0Ycjr5fxMiFRZ9XSTBtBokTWcx6QxG/l jVwN1nNzquaUcJv4fRQ8FtcRR7Zo1D83GZB/SvXI= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44KBfRQV120258 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 May 2024 06:41:27 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 20 May 2024 06:41:27 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 20 May 2024 06:41:26 -0500 Received: from [172.24.227.193] (devarsht.dhcp.ti.com [172.24.227.193] (may be forged)) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44KBfJ8A078373; Mon, 20 May 2024 06:41:19 -0500 Message-ID: <7b8cd37b-5b16-2d99-ab62-5d6876e6571c@ti.com> Date: Mon, 20 May 2024 17:11:18 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v8 07/10] lib: add basic KUnit test for lib/math Content-Language: en-US To: Andy Shevchenko , Daniel Latypov CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20240517171532.748684-1-devarsht@ti.com> <20240517173607.800549-1-devarsht@ti.com> From: Devarsh Thakkar In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Andy, Daniel, On 18/05/24 01:44, Andy Shevchenko wrote: > On Fri, May 17, 2024 at 11:06:07PM +0530, Devarsh Thakkar wrote: [..] > >> [devarsht: Rebase to 6.9 and change license to GPL] > > I'm not sure that you may change license. It needs the author's confirmation. > As per latest licensing doc [1], It quotes that GPL is same as GPL v2 and GPL v2 exists only for historical reasons as shared below : “GPL v2 Same as “GPL”. It exists for historic reasons." So I think it should be fine and more apt to use GPL. This is also highlighted in below commit: bf7fbeeae6db644ef5995085de2bc5c6121f8c8d module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity >> --- >> Changes since v6: >> * Rebase to linux-next, change license to GPL as suggested by checkpatch. > > Note, checkpatch.pl is not false positives free. Be careful > with what it suggests. > >> +#include >> +#include > >> +#include > > Do you know why this header is included? > It includes all the other required headers (including those you mentioned below), and header list is probably copied from other files in same directory. But it does suffice the requirements as I have verified the compilation. >> +#include > > + math.h // obviously > + module.h > >> +#include > > + types.h > All the above headers are already included as part of kernel.h Kindly let me know if any queries. [1]: https://docs.kernel.org/process/license-rules.html Regards Devarsh