linux/drivers/media/platform/qcom/venus
Mauro Carvalho Chehab ded7162671 media: hfi_parser: don't trick gcc with a wrong expected size
Smatch warns about small size on two structs:

	drivers/media/platform/qcom/venus/hfi_parser.c:103 parse_profile_level() error: memcpy() 'proflevel' too small (8 vs 128)
	drivers/media/platform/qcom/venus/hfi_parser.c: drivers/media/platform/qcom/venus/hfi_parser.c:129 parse_caps() error: memcpy() 'cap' too small (16 vs 512)

The reason is that the hfi_parser actually expects:
    - multiple data entries on hfi_capabilities
    - multiple profile_level on hfi_profile_level_supported

However, the structs trick gcc, making it to believe that
there's just one value for each.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-25 18:02:34 -04:00
..
Makefile media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
core.c media: venus: core: correct frequency table for sdm845 2019-01-25 18:43:24 -02:00
core.h media: platform: fix several typos 2019-03-01 09:35:21 -05:00
firmware.c media: venus: firmware: check fw size against DT memory region size 2019-01-25 18:41:35 -02:00
firmware.h media: venus: firmware: add no TZ boot and shutdown routine 2018-11-23 06:34:12 -05:00
helpers.c media: venus: helpers: drop setting of timestamp invalid flag 2019-01-25 18:43:55 -02:00
helpers.h media: venus: implementing multi-stream support 2018-07-25 09:16:11 -04:00
hfi.c media: venus: add HEVC codec support 2018-07-25 09:29:25 -04:00
hfi.h media: venus: hfi: update sequence event to handle more properties 2018-07-25 08:43:03 -04:00
hfi_cmds.c media: venus: handle peak bitrate set property 2018-11-27 13:57:55 -05:00
hfi_cmds.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
hfi_helper.h media: hfi_parser: don't trick gcc with a wrong expected size 2019-03-25 18:02:34 -04:00
hfi_msgs.c media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
hfi_msgs.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
hfi_parser.c media: venus: core: delete not used buffer mode flags 2018-07-25 08:52:04 -04:00
hfi_parser.h media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
hfi_venus.c media: venus: handle peak bitrate set property 2018-11-27 13:57:55 -05:00
hfi_venus.h [media] media: venus: hfi: add Venus HFI files 2017-06-20 08:53:40 -03:00
hfi_venus_io.h media: venus: firmware: add no TZ boot and shutdown routine 2018-11-23 06:34:12 -05:00
vdec.c media: venus: fix reported size of 0-length buffers 2018-12-03 13:20:27 -05:00
vdec.h
vdec_ctrls.c media: v4l2-ctrl: Change control for VP8 profile to menu control 2018-07-04 09:28:38 -04:00
venc.c media: venus: Support V4L2 QP parameters in Venus encoder 2018-12-07 08:27:29 -05:00
venc.h [media] media: venus: venc: add video encoder files 2017-06-20 08:53:39 -03:00
venc_ctrls.c media: venus: add support for key frame 2018-12-07 08:14:20 -05:00