public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kyrie wu <kyrie.wu@mediatek.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Hans Verkuil <hverkuil@xs4all.nl>,
	irui wang <irui.wang@mediatek.com>
Subject: [hverkuil-media-tree:for-v6.1n 3/15] drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1529:35: error: 'mtk_jpeg_match' undeclared here (not in a function); did you mean 'mtk_jpeg_parse'?
Date: Wed, 7 Sep 2022 04:28:38 +0800	[thread overview]
Message-ID: <202209070432.kPOHuBAP-lkp@intel.com> (raw)

tree:   git://linuxtv.org/hverkuil/media_tree.git for-v6.1n
head:   da25a9a630c28cda51840e500cdf23d083f1a109
commit: e2175d01f345fff1f66b4769efc812d49cb26e7b [3/15] mtk-jpegenc: support jpegenc multi-hardware
config: arm-randconfig-r036-20220906 (https://download.01.org/0day-ci/archive/20220907/202209070432.kPOHuBAP-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
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
        git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media-tree for-v6.1n
        git checkout e2175d01f345fff1f66b4769efc812d49cb26e7b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/media/platform/mediatek/jpeg/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1529:35: error: 'mtk_jpeg_match' undeclared here (not in a function); did you mean 'mtk_jpeg_parse'?
    1529 |                 .of_match_table = mtk_jpeg_match,
         |                                   ^~~~~~~~~~~~~~
         |                                   mtk_jpeg_parse
   drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1489:38: warning: 'mtk_jpeg_drvdata' defined but not used [-Wunused-const-variable=]
    1489 | static const struct mtk_jpeg_variant mtk_jpeg_drvdata = {
         |                                      ^~~~~~~~~~~~~~~~
   drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1474:38: warning: 'mt8173_jpeg_drvdata' defined but not used [-Wunused-const-variable=]
    1474 | static const struct mtk_jpeg_variant mt8173_jpeg_drvdata = {
         |                                      ^~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
   Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
   Selected by [y]:
   - QCOM_RPMPD [=y] && PM [=y] && QCOM_SMD_RPM [=y]


vim +1529 drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c

b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1523  
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1524  static struct platform_driver mtk_jpeg_driver = {
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1525  	.probe = mtk_jpeg_probe,
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1526  	.remove = mtk_jpeg_remove,
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1527  	.driver = {
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1528  		.name           = MTK_JPEG_NAME,
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14 @1529  		.of_match_table = mtk_jpeg_match,
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1530  		.pm             = &mtk_jpeg_pm_ops,
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1531  	},
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1532  };
b2f0d2724ba477 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c Rick Chang 2016-12-14  1533  

:::::: The code at line 1529 was first introduced by commit
:::::: b2f0d2724ba477d326e9d654d4db1c93e98f8b93 [media] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

:::::: TO: Rick Chang <rick.chang@mediatek.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@s-opensource.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-09-06 20:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202209070432.kPOHuBAP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hverkuil@xs4all.nl \
    --cc=irui.wang@mediatek.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kyrie.wu@mediatek.com \
    --cc=linux-kernel@vger.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