From: kernel test robot <lkp@intel.com>
To: Marvin Lin <milkfafa@gmail.com>,
mchehab@kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: kwliu@nuvoton.com, kbuild-all@lists.01.org, tmaimon77@gmail.com,
avifishman70@gmail.com, openbmc@lists.ozlabs.org,
tali.perry1@gmail.com, kflin@nuvoton.com
Subject: Re: [PATCH v2 5/5] drivers: media: platform: Add NPCM Video Capture/Encode Engine driver
Date: Fri, 13 May 2022 18:30:53 +0800 [thread overview]
Message-ID: <202205131804.AMALhZXJ-lkp@intel.com> (raw)
In-Reply-To: <20220513033450.7038-6-kflin@nuvoton.com>
Hi Marvin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on linux/master linus/master v5.18-rc6]
[cannot apply to media-tree/master next-20220512]
[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/intel-lab-lkp/linux/commits/Marvin-Lin/Support-Nuvoton-NPCM-Video-Capture-Encode-Engine/20220513-113806
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220513/202205131804.AMALhZXJ-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.3.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
# https://github.com/intel-lab-lkp/linux/commit/7fa1f7750e7317479ce2c2c043b44fa19c46b1a8
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Marvin-Lin/Support-Nuvoton-NPCM-Video-Capture-Encode-Engine/20220513-113806
git checkout 7fa1f7750e7317479ce2c2c043b44fa19c46b1a8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/media/platform/nuvoton/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_buf_queue':
drivers/media/platform/nuvoton/npcm-video.c:1776:13: warning: variable 'empty' set but not used [-Wunused-but-set-variable]
1776 | int empty;
| ^~~~~
drivers/media/platform/nuvoton/npcm-video.c: At top level:
>> drivers/media/platform/nuvoton/npcm-video.c:2060:1: error: expected ',' or ';' before 'static'
2060 | static struct platform_driver nuvoton_video_driver = {
| ^~~~~~
In file included from drivers/media/platform/nuvoton/npcm-video.c:24:
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_driver_init':
>> drivers/media/platform/nuvoton/npcm-video.c:2069:24: error: 'nuvoton_video_driver' undeclared (first use in this function); did you mean 'nuvoton_video_probe'?
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~
include/linux/platform_device.h:222:36: note: in definition of macro 'platform_driver_register'
222 | __platform_driver_register(drv, THIS_MODULE)
| ^~~
include/linux/platform_device.h:252:9: note: in expansion of macro 'module_driver'
252 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:24: note: each undeclared identifier is reported only once for each function it appears in
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~
include/linux/platform_device.h:222:36: note: in definition of macro 'platform_driver_register'
222 | __platform_driver_register(drv, THIS_MODULE)
| ^~~
include/linux/platform_device.h:252:9: note: in expansion of macro 'module_driver'
252 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/device.h:32,
from drivers/media/platform/nuvoton/npcm-video.c:14:
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_driver_exit':
>> drivers/media/platform/nuvoton/npcm-video.c:2069:24: error: 'nuvoton_video_driver' undeclared (first use in this function); did you mean 'nuvoton_video_probe'?
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~
include/linux/device/driver.h:267:24: note: in definition of macro 'module_driver'
267 | __unregister(&(__driver) , ##__VA_ARGS__); \
| ^~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_driver_init':
include/linux/device/driver.h:263:1: error: control reaches end of non-void function [-Werror=return-type]
263 | } \
| ^
include/linux/platform_device.h:252:9: note: in expansion of macro 'module_driver'
252 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
drivers/media/platform/nuvoton/npcm-video.c:2030:12: warning: 'nuvoton_video_remove' defined but not used [-Wunused-function]
2030 | static int nuvoton_video_remove(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:1954:12: warning: 'nuvoton_video_probe' defined but not used [-Wunused-function]
1954 | static int nuvoton_video_probe(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +2060 drivers/media/platform/nuvoton/npcm-video.c
2059
> 2060 static struct platform_driver nuvoton_video_driver = {
2061 .driver = {
2062 .name = DEVICE_NAME,
2063 .of_match_table = nuvoton_video_match,
2064 },
2065 .probe = nuvoton_video_probe,
2066 .remove = nuvoton_video_remove,
2067 };
2068
> 2069 module_platform_driver(nuvoton_video_driver);
2070
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Marvin Lin <milkfafa@gmail.com>,
mchehab@kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, openbmc@lists.ozlabs.org,
avifishman70@gmail.com, tmaimon77@gmail.com,
tali.perry1@gmail.com, kwliu@nuvoton.com, kflin@nuvoton.com
Subject: Re: [PATCH v2 5/5] drivers: media: platform: Add NPCM Video Capture/Encode Engine driver
Date: Fri, 13 May 2022 18:30:53 +0800 [thread overview]
Message-ID: <202205131804.AMALhZXJ-lkp@intel.com> (raw)
In-Reply-To: <20220513033450.7038-6-kflin@nuvoton.com>
Hi Marvin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on linux/master linus/master v5.18-rc6]
[cannot apply to media-tree/master next-20220512]
[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/intel-lab-lkp/linux/commits/Marvin-Lin/Support-Nuvoton-NPCM-Video-Capture-Encode-Engine/20220513-113806
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220513/202205131804.AMALhZXJ-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.3.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
# https://github.com/intel-lab-lkp/linux/commit/7fa1f7750e7317479ce2c2c043b44fa19c46b1a8
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Marvin-Lin/Support-Nuvoton-NPCM-Video-Capture-Encode-Engine/20220513-113806
git checkout 7fa1f7750e7317479ce2c2c043b44fa19c46b1a8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/media/platform/nuvoton/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_buf_queue':
drivers/media/platform/nuvoton/npcm-video.c:1776:13: warning: variable 'empty' set but not used [-Wunused-but-set-variable]
1776 | int empty;
| ^~~~~
drivers/media/platform/nuvoton/npcm-video.c: At top level:
>> drivers/media/platform/nuvoton/npcm-video.c:2060:1: error: expected ',' or ';' before 'static'
2060 | static struct platform_driver nuvoton_video_driver = {
| ^~~~~~
In file included from drivers/media/platform/nuvoton/npcm-video.c:24:
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_driver_init':
>> drivers/media/platform/nuvoton/npcm-video.c:2069:24: error: 'nuvoton_video_driver' undeclared (first use in this function); did you mean 'nuvoton_video_probe'?
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~
include/linux/platform_device.h:222:36: note: in definition of macro 'platform_driver_register'
222 | __platform_driver_register(drv, THIS_MODULE)
| ^~~
include/linux/platform_device.h:252:9: note: in expansion of macro 'module_driver'
252 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:24: note: each undeclared identifier is reported only once for each function it appears in
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~
include/linux/platform_device.h:222:36: note: in definition of macro 'platform_driver_register'
222 | __platform_driver_register(drv, THIS_MODULE)
| ^~~
include/linux/platform_device.h:252:9: note: in expansion of macro 'module_driver'
252 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/device.h:32,
from drivers/media/platform/nuvoton/npcm-video.c:14:
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_driver_exit':
>> drivers/media/platform/nuvoton/npcm-video.c:2069:24: error: 'nuvoton_video_driver' undeclared (first use in this function); did you mean 'nuvoton_video_probe'?
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~
include/linux/device/driver.h:267:24: note: in definition of macro 'module_driver'
267 | __unregister(&(__driver) , ##__VA_ARGS__); \
| ^~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c: In function 'nuvoton_video_driver_init':
include/linux/device/driver.h:263:1: error: control reaches end of non-void function [-Werror=return-type]
263 | } \
| ^
include/linux/platform_device.h:252:9: note: in expansion of macro 'module_driver'
252 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:2069:1: note: in expansion of macro 'module_platform_driver'
2069 | module_platform_driver(nuvoton_video_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
drivers/media/platform/nuvoton/npcm-video.c:2030:12: warning: 'nuvoton_video_remove' defined but not used [-Wunused-function]
2030 | static int nuvoton_video_remove(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~~
drivers/media/platform/nuvoton/npcm-video.c:1954:12: warning: 'nuvoton_video_probe' defined but not used [-Wunused-function]
1954 | static int nuvoton_video_probe(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +2060 drivers/media/platform/nuvoton/npcm-video.c
2059
> 2060 static struct platform_driver nuvoton_video_driver = {
2061 .driver = {
2062 .name = DEVICE_NAME,
2063 .of_match_table = nuvoton_video_match,
2064 },
2065 .probe = nuvoton_video_probe,
2066 .remove = nuvoton_video_remove,
2067 };
2068
> 2069 module_platform_driver(nuvoton_video_driver);
2070
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-05-13 10:33 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 3:34 [PATCH v2 0/5] Support Nuvoton NPCM Video Capture/Encode Engine Marvin Lin
2022-05-13 3:34 ` Marvin Lin
2022-05-13 3:34 ` [PATCH v2 1/5] arm: dts: Add node for " Marvin Lin
2022-05-13 3:34 ` Marvin Lin
2022-05-13 5:22 ` Paul Menzel
2022-05-13 5:22 ` Paul Menzel
2022-05-17 1:55 ` Kun-Fa Lin
2022-05-17 1:55 ` Kun-Fa Lin
2022-05-13 3:34 ` [PATCH v2 2/5] dt-bindings: media: Add dt-bindings " Marvin Lin
2022-05-13 3:34 ` Marvin Lin
2022-05-13 3:34 ` [PATCH v2 3/5] dt-bindings: arm/npcm: Add dt-bindings for Graphics Core Information Marvin Lin
2022-05-13 3:34 ` Marvin Lin
2022-05-13 3:34 ` [PATCH v2 4/5] media: Add HEXTILE compressed format Marvin Lin
2022-05-13 3:34 ` Marvin Lin
2022-05-13 3:34 ` [PATCH v2 5/5] drivers: media: platform: Add NPCM Video Capture/Encode Engine driver Marvin Lin
2022-05-13 3:34 ` Marvin Lin
2022-05-13 5:46 ` Paul Menzel
2022-05-13 5:46 ` Paul Menzel
2022-05-17 2:59 ` Kun-Fa Lin
2022-05-17 2:59 ` Kun-Fa Lin
2022-06-06 2:42 ` Kun-Fa Lin
2022-06-06 2:42 ` Kun-Fa Lin
2022-05-13 9:09 ` kernel test robot
2022-05-13 9:09 ` kernel test robot
2022-05-13 10:30 ` kernel test robot [this message]
2022-05-13 10:30 ` kernel test robot
2022-05-14 10:41 ` kernel test robot
2022-05-14 10:41 ` kernel test robot
2022-05-17 13:30 ` Jonathan Neuschäfer
2022-05-17 13:30 ` Jonathan Neuschäfer
2022-05-19 5:39 ` Kun-Fa Lin
2022-05-19 5:39 ` Kun-Fa Lin
2022-05-19 10:12 ` Jonathan Neuschäfer
2022-05-19 10:12 ` Jonathan Neuschäfer
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=202205131804.AMALhZXJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=avifishman70@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=kflin@nuvoton.com \
--cc=kwliu@nuvoton.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=milkfafa@gmail.com \
--cc=openbmc@lists.ozlabs.org \
--cc=tali.perry1@gmail.com \
--cc=tmaimon77@gmail.com \
/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.