linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ragnatech:media-tree 36/210] drivers/staging/media/tegra-video/vi.c:555:35: warning: unused variable 'vi_ctrl_ops'
@ 2020-08-30 16:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-30 16:38 UTC (permalink / raw)
  To: Sowjanya Komatineni
  Cc: kbuild-all, clang-built-linux, Mauro Carvalho Chehab,
	linux-media, Hans Verkuil

[-- Attachment #1: Type: text/plain, Size: 2745 bytes --]

tree:   git://git.ragnatech.se/linux media-tree
head:   07d999f0d9463ea0d1f76e0f8921ea363d805767
commit: 341187bf237cf3a67099781461636260dc645a17 [36/210] media: tegra-video: Enable TPG based on kernel config
config: arm64-randconfig-r022-20200830 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c10e63677f5d20f18010f8f68c631ddc97546f7d)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git checkout 341187bf237cf3a67099781461636260dc645a17
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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 >>):

>> drivers/staging/media/tegra-video/vi.c:555:35: warning: unused variable 'vi_ctrl_ops' [-Wunused-const-variable]
   static const struct v4l2_ctrl_ops vi_ctrl_ops = {
                                     ^
>> drivers/staging/media/tegra-video/vi.c:559:26: warning: unused variable 'vi_pattern_strings' [-Wunused-const-variable]
   static const char *const vi_pattern_strings[] = {
                            ^
   2 warnings generated.

git remote add ragnatech git://git.ragnatech.se/linux
git fetch --no-tags ragnatech media-tree
git checkout 341187bf237cf3a67099781461636260dc645a17
vim +/vi_ctrl_ops +555 drivers/staging/media/tegra-video/vi.c

3d8a97eabef088 Sowjanya Komatineni 2020-05-04  554  
3d8a97eabef088 Sowjanya Komatineni 2020-05-04 @555  static const struct v4l2_ctrl_ops vi_ctrl_ops = {
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  556  	.s_ctrl	= vi_s_ctrl,
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  557  };
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  558  
3d8a97eabef088 Sowjanya Komatineni 2020-05-04 @559  static const char *const vi_pattern_strings[] = {
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  560  	"Black/White Direct Mode",
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  561  	"Color Patch Mode",
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  562  };
3d8a97eabef088 Sowjanya Komatineni 2020-05-04  563  

:::::: The code at line 555 was first introduced by commit
:::::: 3d8a97eabef088393170a9ca46c12ff6021a3be4 media: tegra-video: Add Tegra210 Video input driver

:::::: TO: Sowjanya Komatineni <skomatineni@nvidia.com>
:::::: CC: Thierry Reding <treding@nvidia.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39704 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-30 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 16:38 [ragnatech:media-tree 36/210] drivers/staging/media/tegra-video/vi.c:555:35: warning: unused variable 'vi_ctrl_ops' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).