From: Shuah Khan <skhan@linuxfoundation.org>
To: David Gow <davidgow@google.com>,
Brendan Higgins <brendan.higgins@linux.dev>,
Rae Moar <rmoar@google.com>, Kees Cook <kees@kernel.org>,
Maxime Ripard <mripard@kernel.org>,
Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com,
linux-kernel@vger.kernel.org,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] kunit: Fix missing kerneldoc comment
Date: Thu, 5 Sep 2024 09:31:04 -0600 [thread overview]
Message-ID: <ec735866-7074-47a6-afae-50ec287df7c8@linuxfoundation.org> (raw)
In-Reply-To: <20240905024757.3600609-1-davidgow@google.com>
On 9/4/24 20:47, David Gow wrote:
> Add a missing kerneldoc comment for the 'test' test context parameter,
> fixing the following warning:
>
> include/kunit/test.h:492: warning: Function parameter or struct member 'test' not described in 'kunit_kfree_const'
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/lkml/20240827160631.67e121ed@canb.auug.org.au/
> Fixes: f2c6dbd22017 ("kunit: Device wrappers should also manage driver name")
> Signed-off-by: David Gow <davidgow@google.com>
> ---
> include/kunit/test.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/kunit/test.h b/include/kunit/test.h
> index 5ac237c949a0..34b71e42fb10 100644
> --- a/include/kunit/test.h
> +++ b/include/kunit/test.h
> @@ -484,6 +484,7 @@ static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp
>
> /**
> * kunit_kfree_const() - conditionally free test managed memory
> + * @test: The test context object.
> * @x: pointer to the memory
> *
> * Calls kunit_kfree() only if @x is not in .rodata section.
David,
I sent PR for 6.11-rc7 for the following since it is a critical
fix.
kunit: Device wrappers should also manage driver name
I will take this in once the pr clears applying for 6.12-rc1
thanks,
-- Shuah
next prev parent reply other threads:[~2024-09-05 15:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 2:47 [PATCH] kunit: Fix missing kerneldoc comment David Gow
2024-09-05 15:31 ` Shuah Khan [this message]
2024-09-05 16:56 ` Kees Cook
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=ec735866-7074-47a6-afae-50ec287df7c8@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=brendan.higgins@linux.dev \
--cc=davidgow@google.com \
--cc=kees@kernel.org \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mripard@kernel.org \
--cc=rmoar@google.com \
--cc=sfr@canb.auug.org.au \
/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