From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 5/6] media: entity: Add support for ancillary links
Date: Tue, 01 Feb 2022 00:00:58 +0800 [thread overview]
Message-ID: <202201312326.TkliJ318-lkp@intel.com> (raw)
In-Reply-To: <20220130235821.48076-6-djrscally@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2535 bytes --]
Hi Daniel,
I love your patch! Perhaps something to improve:
[auto build test WARNING on media-tree/master]
[also build test WARNING on v5.17-rc2 next-20220131]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Daniel-Scally/Introduce-ancillary-links/20220131-080041
base: git://linuxtv.org/media_tree.git master
reproduce: make htmldocs
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> include/media/media-entity.h:1126: warning: expecting prototype for media_entity_call(). Prototype was for media_create_ancillary_link() instead
vim +1126 include/media/media-entity.h
1094
1095 /**
1096 * media_entity_call - Calls a struct media_entity_operations operation on
1097 * an entity
1098 *
1099 * @entity: entity where the @operation will be called
1100 * @operation: type of the operation. Should be the name of a member of
1101 * struct &media_entity_operations.
1102 *
1103 * This helper function will check if @operation is not %NULL. On such case,
1104 * it will issue a call to @operation\(@entity, @args\).
1105 */
1106
1107 /**
1108 * media_create_ancillary_link() - create an ancillary link between two
1109 * instances of &media_entity
1110 *
1111 * @primary: pointer to the primary &media_entity
1112 * @ancillary: pointer to the ancillary &media_entity
1113 *
1114 * Create an ancillary link between two entities, indicating that they
1115 * represent two connected pieces of hardware that form a single logical unit.
1116 * A typical example is a camera lens being linked to the sensor that it is
1117 * supporting.
1118 *
1119 * The function sets both MEDIA_LNK_FL_ENABLED and MEDIA_LNK_FL_IMMUTABLE for
1120 * the new link. This behaviour may be subject to change in the future, so
1121 * userspace applications using ancillary links should ensure that ancillary
1122 * links are enabled when in use.
1123 */
1124 struct media_link *
1125 media_create_ancillary_link(struct media_entity *primary,
> 1126 struct media_entity *ancillary);
1127
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Daniel Scally <djrscally@gmail.com>,
linux-media@vger.kernel.org, libcamera-devel@lists.libcamera.org
Cc: kbuild-all@lists.01.org, sakari.ailus@linux.intel.com,
laurent.pinchart@ideasonboard.com, hanlinchen@chromium.org,
tfiga@chromium.org, hdegoede@redhat.com,
kieran.bingham@ideasonboard.com, hpa@redhat.com
Subject: Re: [PATCH v2 5/6] media: entity: Add support for ancillary links
Date: Tue, 1 Feb 2022 00:00:58 +0800 [thread overview]
Message-ID: <202201312326.TkliJ318-lkp@intel.com> (raw)
In-Reply-To: <20220130235821.48076-6-djrscally@gmail.com>
Hi Daniel,
I love your patch! Perhaps something to improve:
[auto build test WARNING on media-tree/master]
[also build test WARNING on v5.17-rc2 next-20220131]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Daniel-Scally/Introduce-ancillary-links/20220131-080041
base: git://linuxtv.org/media_tree.git master
reproduce: make htmldocs
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> include/media/media-entity.h:1126: warning: expecting prototype for media_entity_call(). Prototype was for media_create_ancillary_link() instead
vim +1126 include/media/media-entity.h
1094
1095 /**
1096 * media_entity_call - Calls a struct media_entity_operations operation on
1097 * an entity
1098 *
1099 * @entity: entity where the @operation will be called
1100 * @operation: type of the operation. Should be the name of a member of
1101 * struct &media_entity_operations.
1102 *
1103 * This helper function will check if @operation is not %NULL. On such case,
1104 * it will issue a call to @operation\(@entity, @args\).
1105 */
1106
1107 /**
1108 * media_create_ancillary_link() - create an ancillary link between two
1109 * instances of &media_entity
1110 *
1111 * @primary: pointer to the primary &media_entity
1112 * @ancillary: pointer to the ancillary &media_entity
1113 *
1114 * Create an ancillary link between two entities, indicating that they
1115 * represent two connected pieces of hardware that form a single logical unit.
1116 * A typical example is a camera lens being linked to the sensor that it is
1117 * supporting.
1118 *
1119 * The function sets both MEDIA_LNK_FL_ENABLED and MEDIA_LNK_FL_IMMUTABLE for
1120 * the new link. This behaviour may be subject to change in the future, so
1121 * userspace applications using ancillary links should ensure that ancillary
1122 * links are enabled when in use.
1123 */
1124 struct media_link *
1125 media_create_ancillary_link(struct media_entity *primary,
> 1126 struct media_entity *ancillary);
1127
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-01-31 16:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-30 23:58 [PATCH v2 0/6] Introduce ancillary links Daniel Scally
2022-01-30 23:58 ` [PATCH v2 1/6] media: entity: Skip non-data links in graph iteration Daniel Scally
2022-01-30 23:58 ` [PATCH v2 2/6] media: media.h: Add new media link type Daniel Scally
2022-02-02 23:15 ` Laurent Pinchart
2022-01-30 23:58 ` [PATCH v2 3/6] media: docs: Add entries documenting ancillary links Daniel Scally
2022-02-02 23:25 ` Laurent Pinchart
2022-01-30 23:58 ` [PATCH v2 4/6] media: entity: Add link_type_name() helper Daniel Scally
2022-01-30 23:58 ` [PATCH v2 5/6] media: entity: Add support for ancillary links Daniel Scally
2022-01-31 16:00 ` kernel test robot [this message]
2022-01-31 16:00 ` kernel test robot
2022-02-02 23:32 ` Laurent Pinchart
2022-02-02 23:32 ` Laurent Pinchart
2022-01-30 23:58 ` [PATCH v2 6/6] media: v4l2-async: Create links during v4l2_async_match_notify() Daniel Scally
2022-02-02 16:38 ` Sakari Ailus
2022-02-02 21:48 ` Daniel Scally
2022-02-10 23:51 ` Daniel Scally
2022-02-11 11:26 ` Sakari Ailus
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=202201312326.TkliJ318-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.