public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
From: Shuah Khan <skhan@linuxfoundation.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Luis Felipe Hernandez <luis.hernandez093@gmail.com>,
	brendan.higgins@linux.dev, davidgow@google.com,
	linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com,
	ricardo@marliere.net,
	linux-kernel-mentees@lists.linuxfoundation.org,
	andriy.shevchenko@linux.intel.com,
	Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH v3] lib/math: Add int_sqrt test suite
Date: Thu, 31 Oct 2024 20:25:56 -0600	[thread overview]
Message-ID: <388a8b6c-1acf-413c-bbf4-3b23156117f8@linuxfoundation.org> (raw)
In-Reply-To: <20241031173941.3487ccbfd7421d81d9b0cb97@linux-foundation.org>

On 10/31/24 18:39, Andrew Morton wrote:
> On Thu, 31 Oct 2024 11:50:16 -0600 Shuah Khan <skhan@linuxfoundation.org> wrote:
> 
>> On 10/30/24 07:43, Luis Felipe Hernandez wrote:
>>> Adds test suite for integer based square root function.
>>>
>>> The test suite is designed to verify the correctness of the int_sqrt()
>>> math library function.
>>>
>>> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
>>> ---
>>> Changes in v2
>>>     - Add new line at the end of int_sqrt_kunit.c
>>>     - Add explicit header includes for MODULE_* macros, strscpy, and ULONG_MAX
>>>
>>> Changes in v3
>>>     - Remove unnecesary new line after Kconfig entry for INT_SQRT_KUNIT_TEST
>>>     - Correct int_sqrt instances with int_sqrt() in commit message and kconfig
>>> entry desc
>>>     - Fix limits.h header include path
>>
>> Adding Andrew to the thread.
> 
> Thanks.
> 
>> I think this depends on the other lib kunit
>> content that is already in next.
> 
> Actually the patch applies cleanly to 6.12-rc5.
> 
>>> --- a/lib/math/Makefile
>>> +++ b/lib/math/Makefile
>>> @@ -9,3 +9,4 @@ obj-$(CONFIG_INT_POW_TEST)  += tests/int_pow_kunit.o
>>>    obj-$(CONFIG_TEST_DIV64)	+= test_div64.o
>>>    obj-$(CONFIG_TEST_MULDIV64)	+= test_mul_u64_u64_div_u64.o
>>>    obj-$(CONFIG_RATIONAL_KUNIT_TEST) += rational-test.o
>>> +obj-y  += tests/
> 
> What's this change about?  It seems somewhat unrelated to adding a
> single test.  I mean, there's an unrelated test listed in
> lib/math/tests/Makefile so what change does this patch have upon that
> one?
> 

I think this is a new test. I can take this for 6.13-rc1

I thought the conflicts might persist in case you have any 6.13 material
already in linux-next. Doesn't look like it if you could apply to 6.12-rc5

Sorry for the confusion.  I can take this for 6.13-rc1

thanks,
-- Shuah

  reply	other threads:[~2024-11-01  2:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 13:43 [PATCH v3] lib/math: Add int_sqrt test suite Luis Felipe Hernandez
2024-10-31 17:50 ` Shuah Khan
2024-11-01  0:39   ` Andrew Morton
2024-11-01  2:25     ` Shuah Khan [this message]
2024-11-01  2:28       ` Andrew Morton
2024-11-01  4:27       ` Andrew Morton
2024-11-01 21:01     ` Luis Felipe Hernandez
2024-11-11  3:39 ` Luis Felipe Hernandez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=388a8b6c-1acf-413c-bbf4-3b23156117f8@linuxfoundation.org \
    --to=skhan@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=brendan.higgins@linux.dev \
    --cc=davidgow@google.com \
    --cc=kunit-dev@googlegroups.com \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=luis.hernandez093@gmail.com \
    --cc=ricardo@marliere.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox