lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202212221040.ojSDyihm-lkp@intel.com>
Date:   Thu, 22 Dec 2022 10:38:06 +0800
From:   kernel test robot <lkp@...el.com>
To:     Daniel Almeida <daniel.almeida@...labora.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        linux-media@...r.kernel.org, Hans Verkuil <hverkuil@...all.nl>
Subject: drivers/media/test-drivers/visl/visl-video.c:690:22: sparse: sparse:
 symbol 'visl_qops' was not declared. Should it be static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0a924817d2ed9396401e0557c6134276d2e26382
commit: 0c078e310b6d16b9b9489bbc7bc1476430d19a7c media: visl: add virtual stateless decoder driver
date:   4 weeks ago
config: nios2-randconfig-s043-20221218
compiler: nios2-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0c078e310b6d16b9b9489bbc7bc1476430d19a7c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 0c078e310b6d16b9b9489bbc7bc1476430d19a7c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/media/test-drivers/visl/

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

sparse warnings: (new ones prefixed by >>)
>> drivers/media/test-drivers/visl/visl-video.c:690:22: sparse: sparse: symbol 'visl_qops' was not declared. Should it be static?

vim +/visl_qops +690 drivers/media/test-drivers/visl/visl-video.c

   689	
 > 690	const struct vb2_ops visl_qops = {
   691		.queue_setup          = visl_queue_setup,
   692		.buf_out_validate     = visl_buf_out_validate,
   693		.buf_prepare          = visl_buf_prepare,
   694		.buf_queue            = visl_buf_queue,
   695		.start_streaming      = visl_start_streaming,
   696		.stop_streaming       = visl_stop_streaming,
   697		.wait_prepare         = vb2_ops_wait_prepare,
   698		.wait_finish          = vb2_ops_wait_finish,
   699		.buf_request_complete = visl_buf_request_complete,
   700	};
   701	

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

View attachment "config" of type "text/plain" (133160 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ