You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chaiman@cux:~$ mkdir SAA7160
chaiman@cux:~$ cd SAA7160
chaiman@cux:~/SAA7160$
chaiman@cux:~/SAA7160$ git clone https://github.com/ljalves/media_build.git
Cloning into 'media_build'...
remote: Counting objects: 3482, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 3482 (delta 24), reused 23 (delta 23), pack-reused 3454
Receiving objects: 100% (3482/3482), 691.13 KiB | 424.00 KiB/s, done.
Resolving deltas: 100% (2474/2474), done.
Checking connectivity... done.
chaiman@cux:~/SAA7160$ git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest ./media
Cloning into './media'...
remote: Counting objects: 60820, done.
remote: Compressing objects: 100% (57316/57316), done.
remote: Total 60820 (delta 5299), reused 17815 (delta 2603), pack-reused 0
Receiving objects: 100% (60820/60820), 159.98 MiB | 210.00 KiB/s, done.
Resolving deltas: 100% (5299/5299), done.
Checking connectivity... done.
Checking out files: 100% (57316/57316), done.
chaiman@cux:~/SAA7160$ cd media_build
chaiman@cux:~/SAA7160/media_build$ make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Entering directory '/home/chaiman/SAA7160/media_build/linux'
rm -rf drivers firmware include sound .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h
Searching in ../../media/Makefile for kernel version.
./use_dir.pl ../../media
sync file: include/uapi/linux/v4l2-dv-timings.h
sync file: include/linux/ti_wilink_st.h
sync file: firmware/vicam/firmware.H16
sync file: include/uapi/linux/v4l2-controls.h
sync file: include/uapi/linux/smiapp.h
sync file: include/uapi/linux/cec-funcs.h
sync file: include/misc/altera.h
sync file: include/linux/mmc/sdio_ids.h
sync file: include/uapi/linux/ivtvfb.h
sync file: include/uapi/linux/meye.h
sync file: include/linux/compiler-gcc.h
sync file: include/uapi/linux/v4l2-subdev.h
sync file: firmware/ttusb-budget/dspbootcode.bin.ihex
sync file: include/linux/fixp-arith.h
sync file: include/uapi/linux/ivtv.h
sync file: include/uapi/linux/lirc.h
sync file: include/uapi/linux/media-bus-format.h
sync file: include/linux/dma-buf.h
sync file: firmware/cpia2/stv0672_vp4.bin.ihex
sync file: include/linux/dma/xilinx_dma.h
sync file: include/uapi/linux/videodev2.h
sync file: include/uapi/linux/usb/video.h
sync file: sound/pci/bt87x.c
sync file: include/linux/of_graph.h
sync file: include/linux/via-core.h
sync file: firmware/ihex2fw.c
sync file: include/uapi/linux/cec.h
sync file: include/linux/dma-fence.h
sync file: include/uapi/linux/v4l2-mediabus.h
sync file: include/uapi/linux/uvcvideo.h
sync file: include/uapi/linux/media.h
sync file: include/trace/events/v4l2.h
sync file: include/linux/pci_ids.h
sync file: include/uapi/linux/v4l2-common.h
sync file: firmware/av7110/bootcode.bin.ihex
sync file: firmware/av7110/Boot.S
sync file: include/trace/events/vb2.h
sync file: include/linux/kconfig.h
sync file: include/linux/hdmi.h
sync file: include/sound/aci.h
sync file: include/uapi/linux/xilinx-v4l2-controls.h
sync dir: drivers/staging/media/
sync dir: include/dt-bindings/media/
sync dir: include/linux/platform_data/media/
sync dir: drivers/media/
sync dir: include/media/
sync dir: drivers/misc/altera-stapl/
sync dir: include/uapi/linux/dvb/
make[1]: Leaving directory '/home/chaiman/SAA7160/media_build/linux'
chaiman@cux:~/SAA7160/media_build$ make distclean
make -C /home/chaiman/SAA7160/media_build/v4l distclean
make[1]: Entering directory '/home/chaiman/SAA7160/media_build/v4l'
No version yet, using 4.13.0-37-generic
rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
config-compat.h Module.symvers Module.markers modules.order \
*.unsigned .*.ko.unsigned.cmd
make -C firmware clean
make[2]: Entering directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
rm -f .version .*.o.flags .*.o.d *.mod.gcno Makefile.media \
Kconfig Kconfig.kern .config .config.cmd .myconfig \
.kconfig.dep
rm -rf .tmp_versions .tmp*.ver .tmp*.o .*.gcno
rm -f scripts/lxdialog scripts/kconfig
make -C firmware distclean
make[2]: Entering directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
for i in av7110/ cpia2/ ttusb-budget/ vicam/; do if [ -d $i ]; then rm -rf $i; fi; done
make[2]: Leaving directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
make[1]: Leaving directory '/home/chaiman/SAA7160/media_build/v4l'
chaiman@cux:~/SAA7160/media_build$ make
make -C /home/chaiman/SAA7160/media_build/v4l
make[1]: Entering directory '/home/chaiman/SAA7160/media_build/v4l'
No version yet, using 4.13.0-37-generic
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/home/chaiman/SAA7160/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 4.13.0-37-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
Syncing with dir ../../media
make[2]: Leaving directory '/home/chaiman/SAA7160/media_build/linux'
Preparing to compile for kernel version 4.13.0
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
WARNING: This is the V4L/DVB backport tree, with experimental drivers
backported to run on legacy kernels from the development tree at:
http://git.linuxtv.org/media-tree.git.
It is generally safe to use it for testing a new driver or
feature, but its usage on production environments is risky.
Don't use it in production. You've been warned.
Created default (all yes) .config file
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.13.0-37-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
make[2]: Leaving directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory '/home/chaiman/SAA7160/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.13.0-37-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/chaiman/SAA7160/media_build/linux'
Syncing with dir ../../media
Patches for 4.13.0-37-generic already applied.
make[2]: Leaving directory '/home/chaiman/SAA7160/media_build/linux'
make -C /lib/modules/4.13.0-37-generic/build SUBDIRS=/home/chaiman/SAA7160/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.13.0-37-generic'
CC [M] /home/chaiman/SAA7160/media_build/v4l/cec-edid.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cec-core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cec-adap.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cec-api.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/cec.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/msp3400-driver.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/msp3400-kthreads.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/msp3400.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/smiapp-core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/smiapp-regs.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/smiapp-quirk.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/smiapp-limits.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/smiapp.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx25840-core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx25840-audio.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx25840-firmware.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx25840-vbi.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx25840-ir.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/cx25840.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m5mols_core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m5mols_controls.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m5mols_capture.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/m5mols.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/imx074.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9m001.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9t031.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9t112.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9v022.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov2640.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov5642.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov6650.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov772x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov9640.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov9740.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/rj54n1cb0c.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tw9910.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/aptina-pll.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tvaudio.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda7432.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa6588.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda9840.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tea6415c.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tea6420.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa7110.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa7115.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa717x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa7127.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa7185.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/saa6752hs.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ad5820.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7170.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7175.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7180.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7183.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7343.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7393.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7604.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7842.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ad9389b.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adv7511.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/vpx3220.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/vs6624.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/bt819.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/bt856.o
^[[A CC [M] /home/chaiman/SAA7160/media_build/v4l/bt866.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ks0127.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ths7303.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ths8200.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tvp5150.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tvp514x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tvp7002.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tw2804.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tw9903.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tw9906.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cs3308.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cs5345.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cs53l32a.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m52790.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tlv320aic23b.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/uda1342.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/wm8775.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/wm8739.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/vp27smpx.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/sony-btf-mpx.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/upd64031a.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/upd64083.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov7640.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov7670.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov9650.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9m032.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9m111.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9p031.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9t001.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9v011.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt9v032.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/sr030pc30.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/noon010pc30.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5k6aa.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5k6a3.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5k4ecgx.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5k5baf.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5c73m3-core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5c73m3-spi.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5c73m3-ctrls.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/s5c73m3.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/adp1653.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/as3645a.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lm3560.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lm3646.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/smiapp-pll.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ak881x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ir-kbd-i2c.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ml86v7667.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ov2659.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tc358743.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tuner-xc2028.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tuner-simple.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tuner-types.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt20xx.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda8290.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tea5767.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tea5761.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda9887.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda827x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18271-maps.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18271-common.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18271-fe.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/tda18271.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18273.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/xc5000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/xc4000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/msi001.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt2060.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt2063.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt2266.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/qt1010.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt2131.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mxl5005s.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mxl5007t.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mc44s803.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/max2165.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18218.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18212.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/e4000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/fc2580.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tua9001.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/si2157.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/fc0011.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/fc0012.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/fc0013.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/it913x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/r820t.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mxl301rf.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/qm1d1c0042.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m88rs6000t.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/av201x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv6120.o
/home/chaiman/SAA7160/media_build/v4l/stv6120.c: In function 'init_regs':
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:195:6: warning: unused variable 'bbmode' [-Wunused-variable]
u32 bbmode = 0xffffffff;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:194:6: warning: unused variable 'agcset' [-Wunused-variable]
u32 agcset = 0xffffffff;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:193:6: warning: unused variable 'agcref' [-Wunused-variable]
u32 agcref = 2;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:192:6: warning: unused variable 'agcmode' [-Wunused-variable]
u32 agcmode = 0;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:191:6: warning: unused variable 'clkdiv' [-Wunused-variable]
u32 clkdiv = 0;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c: In function 'set_lof':
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:324:6: warning: unused variable 'freq' [-Wunused-variable]
u32 freq = Frequency;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:322:10: warning: unused variable 'tmp' [-Wunused-variable]
u8 Icp, tmp;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:321:13: warning: unused variable 'psel' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:321:6: warning: unused variable 'p' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c: In function 'stv6120_attach':
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:547:6: warning: unused variable 'stat' [-Wunused-variable]
int stat = 0;
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c: At top level:
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:145:12: warning: 'read_regs' defined but not used [-Wunused-function]
static int read_regs(struct stv *state, u8 reg, u8 *val, int len)
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:445:12: warning: 'get_frequency' defined but not used [-Wunused-function]
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:451:12: warning: 'AGC_Gain' defined but not used [-Wunused-variable]
static u32 AGC_Gain[] = {
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:484:12: warning: 'get_rf_strength' defined but not used [-Wunused-function]
static int get_rf_strength(struct dvb_frontend *fe, u16 *st)
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:502:12: warning: 'get_if' defined but not used [-Wunused-function]
static int get_if(struct dvb_frontend *fe, u32 *frequency)
^
/home/chaiman/SAA7160/media_build/v4l/stv6120.c:508:12: warning: 'get_bandwidth' defined but not used [-Wunused-function]
static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
^
CC [M] /home/chaiman/SAA7160/media_build/v4l/r848.o
/home/chaiman/SAA7160/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel':
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch]
switch(R848_Standard) {
^
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch]
/home/chaiman/SAA7160/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch]
CC [M] /home/chaiman/SAA7160/media_build/v4l/dvb-pll.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0299.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stb0899_drv.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stb0899_algo.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/stb0899.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stb6100.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/sp8870.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx22700.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5h1432.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx24110.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda8083.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/l64781.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib3000mb.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib3000mc.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dibx000_common.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib7000m.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib7000p.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib8000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib9000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt312.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ves1820.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ves1x93.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda1004x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/sp887x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/nxt6000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mt352.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/zl10036.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/zl10039.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/zl10353.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx22702.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/drxd_firm.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/drxd_hard.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/drxd.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda10021.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda10023.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0297.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/nxt200x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/or51211.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/or51132.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/bcm3510.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5h1420.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lgdt330x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lgdt3305.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lgdt3306a.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lg2160.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx24123.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lnbh25.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lnbp21.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lnbp22.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/isl6405.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/isl6421.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda10086.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda826x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda8261.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib0070.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dib0090.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tua6100.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5h1409.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/itd1000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/au8522_common.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/au8522_dig.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/au8522_decoder.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda10048.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx24113.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s5h1411.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lgs8gl5.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda665x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/lgs8gxx.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/atbm8830.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/dvb_dummy_fe.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/af9013.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx24116.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx24117.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cx24120.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/si21xx.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/si2168.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0288.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stb6000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/s921.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv6110.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0900_core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0900_sw.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/stv0900.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv090x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv6110x.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m88ds3103.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mn88472.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mn88473.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/isl6422.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/isl6423.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ec100.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/hd29l2.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ds3000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ts2020.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mb86a16.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/drxj.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/drx39xyj.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mb86a20s.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ix2505v.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0367.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cxd2820r_core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cxd2820r_c.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cxd2820r_t.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cxd2820r_t2.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/cxd2820r.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/cxd2841er.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/drxk_hard.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/drxk.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda18271c2dd.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/si2165.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/a8293.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/sp2.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tda10071.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/rtl2830.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/rtl2832.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/rtl2832_sdr.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/m88rs2000.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/af9033.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/as102_fe.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/gp8psk-fe.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tc90522.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/horus3a.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/ascot2e.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/helene.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tas2101.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/mxl5xx.o
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c: In function 'config_ts':
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:992:18: warning: unused variable 'mxl561_xpt_ts_valid' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:988:18: warning: unused variable 'mxl561_xpt_ts_sync' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c: In function 'load_fw':
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:1169:44: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
stat = firmware_download(state, fw->size, fw->data);
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:776:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * const {aka const unsigned char * const}'
static int firmware_download(struct mxl *state, u32 mbinBufferSize,
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:1157:6: warning: unused variable 'buf' [-Wunused-variable]
u8 *buf;
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:1155:21: warning: unused variable 'cfg' [-Wunused-variable]
struct mxl5xx_cfg *cfg = state->base->cfg;
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c: In function 'probe':
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:1226:28: warning: unused variable 'mpegInterfaceCfg' [-Wunused-variable]
MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:1225:18: warning: unused variable 'j' [-Wunused-variable]
int fw, status, j;
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c: At top level:
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:162:12: warning: 'write_register_block' defined but not used [-Wunused-function]
static int write_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:231:12: warning: 'read_register_block' defined but not used [-Wunused-function]
static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:286:13: warning: 'extract_from_mnemonic' defined but not used [-Wunused-function]
static void extract_from_mnemonic(u32 regAddr, u8 lsbPos, u8 width,
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:929:12: warning: 'config_ts' defined but not used [-Wunused-function]
static int config_ts(struct mxl *state, MXL_HYDRA_DEMOD_ID_E demodId, MXL_HYDRA_MPEGOUT_PARAM_T *mpegOutParamPtr)
^
/home/chaiman/SAA7160/media_build/v4l/mxl5xx.c:1117:12: warning: 'config_mux' defined but not used [-Wunused-function]
static int config_mux(struct mxl *state)
^
CC [M] /home/chaiman/SAA7160/media_build/v4l/si2183.o
In file included from ./include/linux/printk.h:350:0,
from ./include/linux/kernel.h:13,
from ./include/linux/list.h:8,
from ./include/linux/preempt.h:10,
from ./include/linux/spinlock.h:50,
from ./include/linux/seqlock.h:35,
from ./include/linux/time.h:5,
from ./include/linux/input.h:11,
from /home/chaiman/SAA7160/media_build/v4l/compat.h:10,
from <command-line>:0:
/home/chaiman/SAA7160/media_build/v4l/si2183.c: In function 'si2183_probe':
./include/linux/dynamic_debug.h:134:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
/home/chaiman/SAA7160/media_build/v4l/si2183.c:1155:6: note: 'ret' was declared here
int ret;
^
CC [M] /home/chaiman/SAA7160/media_build/v4l/stv0910.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/avl6882.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/media-device.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/media-devnode.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/media-entity.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/media.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-dev.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-ioctl.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-device.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-fh.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-event.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-ctrls.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-subdev.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-clk.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-async.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-compat-ioctl32.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/vb2-trace.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-trace.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-mc.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/videodev.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-common.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-dv-timings.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/tuner-core.o
LD [M] /home/chaiman/SAA7160/media_build/v4l/tuner.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-mem2mem.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/v4l2-flash-led-class.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/videobuf-core.o
CC [M] /home/chaiman/SAA7160/media_build/v4l/videobuf-dma-sg.o
/home/chaiman/SAA7160/media_build/v4l/videobuf-dma-sg.c:456:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fault = videobuf_vm_fault,
^
/home/chaiman/SAA7160/media_build/v4l/videobuf-dma-sg.c:456:11: note: (near initialization for 'videobuf_vm_ops.fault')
cc1: some warnings being treated as errors
scripts/Makefile.build:315: recipe for target '/home/chaiman/SAA7160/media_build/v4l/videobuf-dma-sg.o' failed
make[3]: *** [/home/chaiman/SAA7160/media_build/v4l/videobuf-dma-sg.o] Error 1
Makefile:1550: recipe for target '_module_/home/chaiman/SAA7160/media_build/v4l' failed
make[2]: *** [_module_/home/chaiman/SAA7160/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.13.0-37-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/chaiman/SAA7160/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
chaiman@cux:~/SAA7160/media_build$
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: