* [intel-linux-intel-lts:5.4/yocto 3/3] drivers/gpu/drm/hantro_driver/hantro.c:82:15: sparse: sparse: symbol 'ddr_dev' was not declared. Should it be
@ 2020-08-05 13:43 kernel test robot
2020-08-05 13:43 ` [RFC PATCH intel-linux-intel-lts] drm: ddr_dev can be static kernel test robot
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-08-05 13:43 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 51061 bytes --]
tree: https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: b8b4b73e4f7bffe85610b37cef411bf55b60fbe4
commit: b8b4b73e4f7bffe85610b37cef411bf55b60fbe4 [3/3] drm: Add Keembay media codec driver
config: i386-randconfig-s032-20200805 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-117-g8c7aee71-dirty
git checkout b8b4b73e4f7bffe85610b37cef411bf55b60fbe4
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/hantro_driver/hantro.c:82:15: sparse: sparse: symbol 'ddr_dev' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantro.c:542:16: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted vm_fault_t @@ got int @@
>> drivers/gpu/drm/hantro_driver/hantro.c:542:16: sparse: expected restricted vm_fault_t
>> drivers/gpu/drm/hantro_driver/hantro.c:542:16: sparse: got int
>> drivers/gpu/drm/hantro_driver/hantro.c:1439:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got void * @@
>> drivers/gpu/drm/hantro_driver/hantro.c:1439:34: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantro.c:1439:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantro.c:1442:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantro.c:1442:34: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hantro.c:1442:34: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantro.c:1509:6: sparse: sparse: symbol 'hantro_gem_vm_close' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantro.c:1952:13: sparse: sparse: symbol 'hantro_cleanup' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantro.c:1974:12: sparse: sparse: symbol 'hantro_init' was not declared. Should it be static?
--
>> drivers/gpu/drm/hantro_driver/hx280enc.c:45:18: sparse: sparse: symbol 'enc_core_sem' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hx280enc.c:92:13: sparse: sparse: symbol 'core_array' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hx280enc.c:98:12: sparse: sparse: symbol 'core_irq_names' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hx280enc.c:659:26: sparse: sparse: cast removes address space '<asn:2>' of expression
>> drivers/gpu/drm/hantro_driver/hx280enc.c:669:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
>> drivers/gpu/drm/hantro_driver/hx280enc.c:669:39: sparse: expected void [noderef] <asn:2> *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:669:39: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:709:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
>> drivers/gpu/drm/hantro_driver/hx280enc.c:709:34: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/gpu/drm/hantro_driver/hx280enc.c:709:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:713:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:713:18: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/gpu/drm/hantro_driver/hx280enc.c:713:18: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:773:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:773:31: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:773:31: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:775:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:775:39: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:775:39: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:728:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:728:45: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:728:45: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:731:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:731:46: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:731:46: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:735:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:735:42: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:735:42: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:743:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:743:37: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:743:37: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:747:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:747:38: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:747:38: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:751:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:751:34: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:751:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:248:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:248:48: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:248:48: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:250:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:250:48: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:250:48: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:393:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
>> drivers/gpu/drm/hantro_driver/hx280enc.c:393:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:393:17: sparse: got unsigned int [usertype] *__gu_ptr
>> drivers/gpu/drm/hantro_driver/hx280enc.c:398:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned long *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:398:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:398:17: sparse: got unsigned long *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:406:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:406:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:406:17: sparse: got unsigned int [usertype] *__gu_ptr
>> drivers/gpu/drm/hantro_driver/hx280enc.c:412:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:412:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:412:17: sparse: got unsigned int [usertype] *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:417:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned long *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:417:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:417:17: sparse: got unsigned long *__pu_ptr
>> drivers/gpu/drm/hantro_driver/hx280enc.c:420:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:420:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hx280enc.c:420:17: sparse: got unsigned int *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:423:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:423:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:423:17: sparse: got unsigned int *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:431:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:431:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:431:17: sparse: got unsigned int [usertype] *__gu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:434:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:434:25: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:434:25: sparse: got unsigned int [usertype] *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:440:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:440:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:440:17: sparse: got unsigned int [usertype] *__gu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:453:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:453:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:453:17: sparse: got unsigned int [usertype] *__gu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:457:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:457:25: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:457:25: sparse: got unsigned int *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:460:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hx280enc.c:460:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hx280enc.c:460:17: sparse: got unsigned int *__pu_ptr
drivers/gpu/drm/hantro_driver/hx280enc.c:558:31: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/gpu/drm/hantro_driver/hx280enc.c:563:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:563:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:563:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:564:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:564:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:564:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:565:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:565:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:565:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:566:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:566:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:566:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:567:51: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:567:51: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:567:51: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:568:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:568:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:568:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:575:59: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:575:59: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:575:59: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:576:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:576:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:576:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:578:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:578:32: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:578:32: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:579:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:579:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:579:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:580:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:580:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:580:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:581:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:581:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:581:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:582:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:582:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:582:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:583:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:583:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:583:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:629:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:629:31: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:629:31: sparse: got void *
drivers/gpu/drm/hantro_driver/hx280enc.c:630:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hx280enc.c:630:34: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hx280enc.c:630:34: sparse: got void *
--
>> drivers/gpu/drm/hantro_driver/hantrodec.c:146:7: sparse: sparse: symbol 'multicorebase' was not declared. Should it be static?
drivers/gpu/drm/hantro_driver/hantrodec.c:151:5: sparse: sparse: symbol 'irq' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantrodec.c:168:15: sparse: sparse: symbol 'multicorebase_actual' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1606:34: sparse: sparse: cast removes address space '<asn:2>' of expression
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1620:61: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned char [usertype] * @@
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1620:61: sparse: expected void const volatile [noderef] <asn:2> *addr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1620:61: sparse: got unsigned char [usertype] *
drivers/gpu/drm/hantro_driver/hantrodec.c:1623:70: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned char [usertype] * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1623:70: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/gpu/drm/hantro_driver/hantrodec.c:1623:70: sparse: got unsigned char [usertype] *
drivers/gpu/drm/hantro_driver/hantrodec.c:1647:69: sparse: sparse: cast removes address space '<asn:2>' of expression
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1683:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1683:34: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1683:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1687:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1687:18: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/gpu/drm/hantro_driver/hantrodec.c:1687:18: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1757:58: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1757:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1757:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1764:66: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1764:66: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1764:66: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1769:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1769:61: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1769:61: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1715:58: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1715:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1715:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1721:66: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1721:66: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1721:66: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:222:18: sparse: sparse: symbol 'dec_core_sem' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantrodec.c:223:18: sparse: sparse: symbol 'pp_core_sem' was not declared. Should it be static?
drivers/gpu/drm/hantro_driver/hantrodec.c:290:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:290:48: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:290:48: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:292:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:292:48: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:292:48: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:308:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:308:43: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:308:43: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:348:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:348:43: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:348:43: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:376:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:376:43: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:376:43: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:384:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:384:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:384:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:400:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:400:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:400:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:410:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:410:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:410:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:449:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:449:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:449:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:478:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:478:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:478:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:494:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:494:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:494:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:505:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:505:49: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:505:49: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:638:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:638:28: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:638:28: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:647:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:647:36: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:647:36: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:693:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:693:32: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:693:32: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:705:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:705:34: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:705:34: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:718:6: sparse: sparse: symbol 'ReserveDecPp' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantrodec.c:762:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got unsigned int [usertype] *regs @@
>> drivers/gpu/drm/hantro_driver/hantrodec.c:762:48: sparse: expected void const [noderef] <asn:1> *from
>> drivers/gpu/drm/hantro_driver/hantrodec.c:762:48: sparse: got unsigned int [usertype] *regs
drivers/gpu/drm/hantro_driver/hantrodec.c:772:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:772:45: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:772:45: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:775:37: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:775:37: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:775:37: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:788:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:788:45: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:788:45: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:790:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:1> *to @@ got unsigned int [usertype] *regs @@
>> drivers/gpu/drm/hantro_driver/hantrodec.c:790:32: sparse: expected void [noderef] <asn:1> *to
drivers/gpu/drm/hantro_driver/hantrodec.c:790:32: sparse: got unsigned int [usertype] *regs
>> drivers/gpu/drm/hantro_driver/hantrodec.c:849:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got unsigned int [usertype] * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:849:36: sparse: expected void const [noderef] <asn:1> *from
>> drivers/gpu/drm/hantro_driver/hantrodec.c:849:36: sparse: got unsigned int [usertype] *
drivers/gpu/drm/hantro_driver/hantrodec.c:854:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:854:60: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:854:60: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:880:60: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:880:60: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:880:60: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:883:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:1> *to @@ got unsigned int [usertype] * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:883:39: sparse: expected void [noderef] <asn:1> *to
drivers/gpu/drm/hantro_driver/hantrodec.c:883:39: sparse: got unsigned int [usertype] *
drivers/gpu/drm/hantro_driver/hantrodec.c:901:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got unsigned int [usertype] * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:901:36: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:901:36: sparse: got unsigned int [usertype] *
drivers/gpu/drm/hantro_driver/hantrodec.c:919:68: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:919:68: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:919:68: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:928:41: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:928:41: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:928:41: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:951:68: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:951:68: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:951:68: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:958:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:1> *to @@ got unsigned int [usertype] * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:958:39: sparse: expected void [noderef] <asn:1> *to
drivers/gpu/drm/hantro_driver/hantrodec.c:958:39: sparse: got unsigned int [usertype] *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1099:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1099:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1099:17: sparse: got unsigned int [usertype] *__gu_ptr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1103:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned long *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1103:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1103:17: sparse: got unsigned long *__pu_ptr
drivers/gpu/drm/hantro_driver/hantrodec.c:1109:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1109:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1109:17: sparse: got unsigned int [usertype] *__gu_ptr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1113:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1113:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1113:17: sparse: got unsigned int [usertype] *__pu_ptr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1118:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:1> *to @@ got unsigned long * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1118:37: sparse: expected void [noderef] <asn:1> *to
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1118:37: sparse: got unsigned long *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1128:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1128:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1128:17: sparse: got unsigned int *__pu_ptr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1136:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1136:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1136:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1149:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1149:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1149:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1161:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1161:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1161:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1172:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1172:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1172:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1182:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1182:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1182:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1192:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1192:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1192:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1231:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1231:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1231:34: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1241:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] <asn:1> *from @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1241:34: sparse: expected void const [noderef] <asn:1> *from
drivers/gpu/drm/hantro_driver/hantrodec.c:1241:34: sparse: got void *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1254:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got int *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1254:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1254:17: sparse: got int *__gu_ptr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1256:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got int *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1256:17: sparse: expected void const volatile [noderef] <asn:1> *
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1256:17: sparse: got int *__pu_ptr
drivers/gpu/drm/hantro_driver/hantrodec.c:1260:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__gu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1260:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1260:17: sparse: got unsigned int [usertype] *__gu_ptr
drivers/gpu/drm/hantro_driver/hantrodec.c:1263:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1263:32: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1263:32: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1264:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:1> * @@ got unsigned int [usertype] *__pu_ptr @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1264:17: sparse: expected void const volatile [noderef] <asn:1> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1264:17: sparse: got unsigned int [usertype] *__pu_ptr
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1303:5: sparse: sparse: symbol 'hantrodec_release' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantrodec.c:1362:44: sparse: sparse: Using plain integer as NULL pointer
drivers/gpu/drm/hantro_driver/hantrodec.c:1415:31: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/gpu/drm/hantro_driver/hantrodec.c:1420:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1420:32: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1420:32: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1421:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1421:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1421:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1422:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1422:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1422:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1423:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1423:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1423:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1424:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1424:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1424:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1425:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1425:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1425:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1426:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1426:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1426:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1427:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1427:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1427:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1434:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1434:60: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1434:60: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1435:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1435:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1435:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1437:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1437:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1437:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1438:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1438:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1438:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1439:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1439:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1439:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1440:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1440:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1440:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1441:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1441:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1441:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1442:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1442:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1442:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1443:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1443:58: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1443:58: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1444:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1444:9: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/hantro_driver/hantrodec.c:1444:9: sparse: got void *
drivers/gpu/drm/hantro_driver/hantrodec.c:1550:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned char [usertype] * @@
drivers/gpu/drm/hantro_driver/hantrodec.c:1550:49: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/gpu/drm/hantro_driver/hantrodec.c:1550:49: sparse: got unsigned char [usertype] *
--
>> drivers/gpu/drm/hantro_driver/hantro_fence.c:119:5: sparse: sparse: symbol 'hantro_waitfence' was not declared. Should it be static?
>> drivers/gpu/drm/hantro_driver/hantro_fence.c:218:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct dma_fence [usertype] *fence @@ got struct dma_fence [noderef] <asn:4> *fence_excl @@
>> drivers/gpu/drm/hantro_driver/hantro_fence.c:218:47: sparse: expected struct dma_fence [usertype] *fence
>> drivers/gpu/drm/hantro_driver/hantro_fence.c:218:47: sparse: got struct dma_fence [noderef] <asn:4> *fence_excl
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29766 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH intel-linux-intel-lts] drm: ddr_dev can be static
2020-08-05 13:43 [intel-linux-intel-lts:5.4/yocto 3/3] drivers/gpu/drm/hantro_driver/hantro.c:82:15: sparse: sparse: symbol 'ddr_dev' was not declared. Should it be kernel test robot
@ 2020-08-05 13:43 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-05 13:43 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 5361 bytes --]
Fixes: b8b4b73e4f7b ("drm: Add Keembay media codec driver")
Signed-off-by: kernel test robot <lkp@intel.com>
---
hantro.c | 8 ++++----
hantro_fence.c | 2 +-
hantrodec.c | 12 ++++++------
hx280enc.c | 6 +++---
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/hantro_driver/hantro.c b/drivers/gpu/drm/hantro_driver/hantro.c
index 5768b81d6d219..795981abc7c78 100644
--- a/drivers/gpu/drm/hantro_driver/hantro.c
+++ b/drivers/gpu/drm/hantro_driver/hantro.c
@@ -79,7 +79,7 @@ struct hantro_device_handle hantro_dev;
/* struct used for dynamic ddr allocations */
struct hantro_mem ddr1;
-struct device *ddr_dev;
+static struct device *ddr_dev;
#if KERNEL_VERSION(4, 13, 0) > LINUX_VERSION_CODE
void debug_dma_alloc_coherent(
@@ -1506,7 +1506,7 @@ static const struct file_operations hantro_fops = {
.compat_ioctl = drm_compat_ioctl,
};
-void hantro_gem_vm_close(struct vm_area_struct *vma)
+static void hantro_gem_vm_close(struct vm_area_struct *vma)
{
struct drm_gem_hantro_object *obj =
(struct drm_gem_hantro_object *)vma->vm_private_data;
@@ -1949,7 +1949,7 @@ static const struct platform_device_info hantro_platform_info = {
#if KERNEL_VERSION(4, 10, 0) > LINUX_VERSION_CODE
static int hantro_major = 1; /* dynamic */
#endif
-void __exit hantro_cleanup(void)
+static void __exit hantro_cleanup(void)
{
#if USE_HW == 1 /*hw cleanup*/
device_unregister(ddr1.dev);
@@ -1971,7 +1971,7 @@ void __exit hantro_cleanup(void)
platform_driver_unregister(&hantro_drm_platform_driver);
}
-int __init hantro_init(void)
+static int __init hantro_init(void)
{
int result;
diff --git a/drivers/gpu/drm/hantro_driver/hantro_fence.c b/drivers/gpu/drm/hantro_driver/hantro_fence.c
index 3244a63c15a2b..f80a32c440e85 100644
--- a/drivers/gpu/drm/hantro_driver/hantro_fence.c
+++ b/drivers/gpu/drm/hantro_driver/hantro_fence.c
@@ -116,7 +116,7 @@ int init_hantro_resv(
return 0;
}
-int hantro_waitfence(hantro_fence_t *pfence)
+static int hantro_waitfence(hantro_fence_t *pfence)
{
if (test_bit(HANTRO_FENCE_FLAG_SIGNAL_BIT, &pfence->flags))
return 0;
diff --git a/drivers/gpu/drm/hantro_driver/hantrodec.c b/drivers/gpu/drm/hantro_driver/hantrodec.c
index 100a34f126289..6d9472cf5929b 100644
--- a/drivers/gpu/drm/hantro_driver/hantrodec.c
+++ b/drivers/gpu/drm/hantro_driver/hantrodec.c
@@ -143,7 +143,7 @@ static const int DecHwId[] = {
0x8001 /* VDEC */
};
-ulong multicorebase[HXDEC_MAX_CORES] = {
+static ulong multicorebase[HXDEC_MAX_CORES] = {
SOCLE_LOGIC_0_BASE,
SOCLE_LOGIC_1_BASE
};
@@ -165,7 +165,7 @@ static u8 *page_lut_regs_read;
/* Because one core may contain multi-pipeline,
* so multicore base may be changed
*/
-unsigned long multicorebase_actual[HXDEC_MAX_CORES];
+static unsigned long multicorebase_actual[HXDEC_MAX_CORES];
int elements = 2;
static struct device *parent_dev;
static int hantro_dbg = -1;
@@ -219,8 +219,8 @@ static void dump_regs(struct hantrodec_t *dev);
static irqreturn_t hantrodec_isr(int irq, void *dev_id);
static u32 dec_regs[HXDEC_MAX_CORES][DEC_IO_SIZE_MAX / 4];
-struct semaphore dec_core_sem;
-struct semaphore pp_core_sem;
+static struct semaphore dec_core_sem;
+static struct semaphore pp_core_sem;
static int dec_irq;
static int pp_irq;
@@ -715,7 +715,7 @@ static void ReleasePostProcessor(struct hantrodec_t *dev, long core)
up(&pp_core_sem);
}
-long ReserveDecPp(struct hantrodec_t *dev, struct file *filp, unsigned long format)
+static long ReserveDecPp(struct hantrodec_t *dev, struct file *filp, unsigned long format)
{
/* reserve core 0, DEC+PP for pipeline */
unsigned long flags;
@@ -1300,7 +1300,7 @@ long hantrodec_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
*Return type : int
*----------------------------------------------------------------------------
*/
-int hantrodec_release(struct file *filp)
+static int hantrodec_release(struct file *filp)
{
int n;
struct hantrodec_t *dev = &hantrodec_data;
diff --git a/drivers/gpu/drm/hantro_driver/hx280enc.c b/drivers/gpu/drm/hantro_driver/hx280enc.c
index d7d86dddb1edc..1cba74bf92edf 100644
--- a/drivers/gpu/drm/hantro_driver/hx280enc.c
+++ b/drivers/gpu/drm/hantro_driver/hx280enc.c
@@ -42,7 +42,7 @@
#include <linux/irq.h>
#include <linux/clk.h>
-struct semaphore enc_core_sem;
+static struct semaphore enc_core_sem;
static DECLARE_WAIT_QUEUE_HEAD(enc_hw_queue);
static DEFINE_SPINLOCK(enc_owner_lock);
static DECLARE_WAIT_QUEUE_HEAD(enc_wait_queue);
@@ -89,13 +89,13 @@ static DECLARE_WAIT_QUEUE_HEAD(enc_wait_queue);
/*for all cores, the core info should be listed here for subsequent use*/
/*base_addr, iosize, irq, resource_shared*/
-CORE_CONFIG core_array[] = {
+static CORE_CONFIG core_array[] = {
{CORE_0_IO_ADDR, CORE_0_IO_SIZE, INT_PIN_CORE_0, RESOURCE_SHARED_INTER_CORES}, /* core_0, hevc and avc */
{CORE_1_IO_ADDR, CORE_1_IO_SIZE, INT_PIN_CORE_1, RESOURCE_SHARED_INTER_CORES} /* core_1, jpeg */
};
/* Interrupt Pin Name */
-const char *core_irq_names[] = {
+static const char *core_irq_names[] = {
"irq_hantro_videoencoder", /* core_0, hevc and avc */
"irq_hantro_jpegencoder" /* core_1, jpeg */
};
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-05 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-05 13:43 [intel-linux-intel-lts:5.4/yocto 3/3] drivers/gpu/drm/hantro_driver/hantro.c:82:15: sparse: sparse: symbol 'ddr_dev' was not declared. Should it be kernel test robot
2020-08-05 13:43 ` [RFC PATCH intel-linux-intel-lts] drm: ddr_dev can be static kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.