From: Liu Ying <gnuiyl@gmail.com>
To: <linux-media@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: [PATCH 1/3] [media] media-entity.h: Correct KernelDoc of media_entity_enum_empty()
Date: Thu, 11 Aug 2016 13:10:09 +0800 [thread overview]
Message-ID: <1470892211-31387-1-git-send-email-gnuiyl@gmail.com> (raw)
The function media_entity_enum_empty() returns true when the bitmap
of the input parameter media entity enumeration is empty instead of marked.
This patch corrects the return value description of the function.
Signed-off-by: Liu Ying <gnuiyl@gmail.com>
---
include/media/media-entity.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index 09b03c1..48b4b6b 100644
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -486,7 +486,7 @@ media_entity_enum_test_and_set(struct media_entity_enum *ent_enum,
*
* @ent_enum: Entity enumeration
*
- * Returns true if the entity was marked.
+ * Returns true if the entity was empty.
*/
static inline bool media_entity_enum_empty(struct media_entity_enum *ent_enum)
{
--
2.7.4
next reply other threads:[~2016-08-11 6:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 5:10 Liu Ying [this message]
2016-08-11 5:10 ` [PATCH 2/3] [media] media-entity.h: remove redundant macro definition for gobj_to_link() Liu Ying
2016-08-11 5:10 ` [PATCH 3/3] [media] media-entity.h: remove redundant macro definition for gobj_to_pad() Liu Ying
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=1470892211-31387-1-git-send-email-gnuiyl@gmail.com \
--to=gnuiyl@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/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