[xilinx-xlnx:xlnx_rebase_v5.15_LTS 579/1129] drivers/media/mc/mc-entity.c:308: warning: expecting prototype for media_entity_graph_walk_init(). Prototype was for media_graph_walk_init() instead
kernel test robot
lkp at intel.com
Fri May 6 10:21:25 PDT 2022
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 3076249fc30bf463f8390f89009de928ad3e95ff
commit: 8b578fae9aba7b82a2af5e1bce0edc9189ca9b79 [579/1129] media: entity: Add media_entity_has_route() function
config: hexagon-randconfig-r045-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070140.t1FZimiv-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e004fb787698440a387750db7f8028e7cb14cfc)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Xilinx/linux-xlnx/commit/8b578fae9aba7b82a2af5e1bce0edc9189ca9b79
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout 8b578fae9aba7b82a2af5e1bce0edc9189ca9b79
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/mc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/mc/mc-entity.c:308: warning: expecting prototype for media_entity_graph_walk_init(). Prototype was for media_graph_walk_init() instead
vim +308 drivers/media/mc/mc-entity.c
8b578fae9aba7b drivers/media/mc/mc-entity.c Laurent Pinchart 2014-03-26 294
8b578fae9aba7b drivers/media/mc/mc-entity.c Laurent Pinchart 2014-03-26 295 /**
8b578fae9aba7b drivers/media/mc/mc-entity.c Laurent Pinchart 2014-03-26 296 * media_entity_graph_walk_init - Allocate resources for graph walk
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 297 * @graph: Media graph structure that will be used to walk the graph
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 298 * @mdev: Media device
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 299 *
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 300 * Reserve resources for graph walk in media device's current
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 301 * state. The memory must be released using
20b852273642f4 drivers/media/media-entity.c Sakari Ailus 2016-11-21 302 * media_graph_walk_free().
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 303 *
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 304 * Returns error on failure, zero on success.
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 305 */
20b852273642f4 drivers/media/media-entity.c Sakari Ailus 2016-11-21 306 __must_check int media_graph_walk_init(
20b852273642f4 drivers/media/media-entity.c Sakari Ailus 2016-11-21 307 struct media_graph *graph, struct media_device *mdev)
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 @308 {
29d8da02d13020 drivers/media/media-entity.c Sakari Ailus 2015-12-16 309 return media_entity_enum_init(&graph->ent_enum, mdev);
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 310 }
20b852273642f4 drivers/media/media-entity.c Sakari Ailus 2016-11-21 311 EXPORT_SYMBOL_GPL(media_graph_walk_init);
e03d220336dd69 drivers/media/media-entity.c Sakari Ailus 2015-12-16 312
:::::: The code at line 308 was first introduced by commit
:::::: e03d220336dd69292370393f5eee98ac17eda308 [media] media: Amend media graph walk API by init and cleanup functions
:::::: TO: Sakari Ailus <sakari.ailus at iki.fi>
:::::: CC: Mauro Carvalho Chehab <mchehab at osg.samsung.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the linux-arm-kernel
mailing list