linux_dsm_epyc7002/drivers/media/usb/cx231xx
Anders Roxell 7cc31fae02 media: usb: cx231xx-417: include linux/slab.h header
cx231-417 uses kmalloc/kfree functions, so slab header needs to be
included in order to fix the following build errors:
drivers/media/usb/cx231xx/cx231xx-417.c: In function ‘cx231xx_bulk_copy’:
  CC      drivers/media/platform/qcom/venus/firmware.o
drivers/media/usb/cx231xx/cx231xx-417.c:1389:11: error: implicit declaration of function ‘kmalloc’; did you mean ‘vmalloc’? [-Werror=implicit-function-declaration]
  buffer = kmalloc(buffer_size, GFP_ATOMIC);
           ^~~~~~~
           vmalloc
drivers/media/usb/cx231xx/cx231xx-417.c:1389:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  buffer = kmalloc(buffer_size, GFP_ATOMIC);
         ^
drivers/media/usb/cx231xx/cx231xx-417.c:1400:2: error: implicit declaration of function ‘kfree’; did you mean ‘vfree’? [-Werror=implicit-function-declaration]
  kfree(buffer);
  ^~~~~
  vfree
drivers/media/usb/cx231xx/cx231xx-417.c: In function ‘mpeg_open’:
drivers/media/usb/cx231xx/cx231xx-417.c:1713:7: error: implicit declaration of function ‘kzalloc’; did you mean ‘vzalloc’? [-Werror=implicit-function-declaration]
  fh = kzalloc(sizeof(*fh), GFP_KERNEL);
       ^~~~~~~
       vzalloc
drivers/media/usb/cx231xx/cx231xx-417.c:1713:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  fh = kzalloc(sizeof(*fh), GFP_KERNEL);
     ^

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-11 11:37:57 -04:00
..
cx231xx-417.c media: usb: cx231xx-417: include linux/slab.h header 2018-05-11 11:37:57 -04:00
cx231xx-audio.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
cx231xx-avcore.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
cx231xx-cards.c media: cx231xx: Fix several incorrect demod addresses 2018-05-05 08:23:00 -04:00
cx231xx-conf-reg.h
cx231xx-core.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
cx231xx-dif.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx231xx-dvb.c media: cx231xx: remove a now unused var 2018-05-05 08:55:29 -04:00
cx231xx-i2c.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
cx231xx-input.c media: usb: add SPDX identifiers to some code I wrote 2017-12-11 07:41:11 -05:00
cx231xx-pcb-cfg.c media: cx231xx: Fix spelling mistake: "senario" -> "scenario" 2018-05-11 11:30:16 -04:00
cx231xx-pcb-cfg.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
cx231xx-reg.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
cx231xx-vbi.c media: usb: fix spelling mistake: "synchronuously" -> "synchronously" 2017-11-07 03:47:09 -05:00
cx231xx-vbi.h media: cx231xx: make cx231xx_vbi_qops const 2017-10-31 06:37:49 -04:00
cx231xx-video.c media: add tuner standby op, use where needed 2018-03-21 12:05:39 -04:00
cx231xx.h media: cx231xx: get rid of videobuf-dvb dependency 2018-05-04 10:56:57 -04:00
Kconfig media: cx231xx: Fix recursive dependency 2018-05-05 11:43:33 -04:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00