[ragnatech:media-tree 36/210] drivers/staging/media/tegra-video/vi.c:555:35: warning: unused variable 'vi_ctrl_ops'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxx>
:::::: CC: Thierry Reding <treding@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux