arch/arm64/kernel/acpi.c:99:30: sparse: sparse: incorrect type in return expression (different address spaces)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dd0d718152e4c65b173070d48ea9dfc06894c3e5
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date: 4 days ago
config: arm64-randconfig-s031-20200622 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-18-g27caae40-dirty
git checkout 670d0a4b10704667765f7d18f7592993d02783aa
# save the attached .config to linux build tree
make W=1 C=1 ARCH=arm64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kernel/acpi.c:99:30: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
>> arch/arm64/kernel/acpi.c:99:30: sparse: expected void [noderef] __iomem *
arch/arm64/kernel/acpi.c:99:30: sparse: got void *
>> arch/arm64/kernel/acpi.c:107:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *map @@
arch/arm64/kernel/acpi.c:107:24: sparse: expected void *addr
>> arch/arm64/kernel/acpi.c:107:24: sparse: got void [noderef] __iomem *map
--
net/802/mrp.c:864:9: sparse: sparse: cast removes address space '__rcu' of expression
>> net/802/mrp.c:864:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile *p @@ got struct mrp_applicant [noderef] __rcu *[noderef] __rcu *__p @@
net/802/mrp.c:864:9: sparse: expected void const volatile *p
>> net/802/mrp.c:864:9: sparse: got struct mrp_applicant [noderef] __rcu *[noderef] __rcu *__p
net/802/mrp.c:864:9: sparse: sparse: dereference of noderef expression
net/802/mrp.c:864:9: sparse: sparse: dereference of noderef expression
--
>> drivers/pci/controller/dwc/pcie-hisi.c:66:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *reg_base @@ got void *priv @@
>> drivers/pci/controller/dwc/pcie-hisi.c:66:37: sparse: expected void [noderef] __iomem *reg_base
drivers/pci/controller/dwc/pcie-hisi.c:66:37: sparse: got void *priv
>> drivers/pci/controller/dwc/pcie-hisi.c:103:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem *[assigned] reg_base @@
drivers/pci/controller/dwc/pcie-hisi.c:103:19: sparse: expected void *priv
>> drivers/pci/controller/dwc/pcie-hisi.c:103:19: sparse: got void [noderef] __iomem *[assigned] reg_base
--
>> drivers/phy/qualcomm/phy-qcom-ufs.c:84:21: sparse: sparse: cast removes address space '__iomem' of expression
drivers/phy/qualcomm/phy-qcom-ufs.c:85:32: sparse: sparse: cast removes address space '__iomem' of expression
drivers/phy/qualcomm/phy-qcom-ufs.c:96:21: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/firmware/efi/test/efi_test.c:157:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long *[addressable] data_size @@
>> drivers/firmware/efi/test/efi_test.c:157:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:157:13: sparse: got unsigned long *[addressable] data_size
drivers/firmware/efi/test/efi_test.c:160:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@
drivers/firmware/efi/test/efi_test.c:160:61: sparse: expected void const [noderef] __user *from
drivers/firmware/efi/test/efi_test.c:160:61: sparse: got struct guid_t [usertype] *[addressable] vendor_guid
drivers/firmware/efi/test/efi_test.c:167:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@
drivers/firmware/efi/test/efi_test.c:167:60: sparse: expected unsigned short [noderef] [usertype] __user *src
drivers/firmware/efi/test/efi_test.c:167:60: sparse: got unsigned short [usertype] *[addressable] variable_name
>> drivers/firmware/efi/test/efi_test.c:187:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:187:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:187:13: sparse: got unsigned long [usertype] *[addressable] status
drivers/firmware/efi/test/efi_test.c:194:35: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long *[addressable] data_size @@
drivers/firmware/efi/test/efi_test.c:194:35: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:194:35: sparse: got unsigned long *[addressable] data_size
drivers/firmware/efi/test/efi_test.c:209:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *[addressable] data @@
drivers/firmware/efi/test/efi_test.c:209:45: sparse: expected void [noderef] __user *to
drivers/firmware/efi/test/efi_test.c:209:45: sparse: got void *[addressable] data
>> drivers/firmware/efi/test/efi_test.c:215:19: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *__p @@ got unsigned int [usertype] *[addressable] attributes @@
>> drivers/firmware/efi/test/efi_test.c:215:19: sparse: expected unsigned int [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:215:19: sparse: got unsigned int [usertype] *[addressable] attributes
drivers/firmware/efi/test/efi_test.c:220:19: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long *[addressable] data_size @@
drivers/firmware/efi/test/efi_test.c:220:19: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:220:19: sparse: got unsigned long *[addressable] data_size
drivers/firmware/efi/test/efi_test.c:243:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@
drivers/firmware/efi/test/efi_test.c:243:53: sparse: expected void const [noderef] __user *from
drivers/firmware/efi/test/efi_test.c:243:53: sparse: got struct guid_t [usertype] *[addressable] vendor_guid
drivers/firmware/efi/test/efi_test.c:248:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@
drivers/firmware/efi/test/efi_test.c:248:60: sparse: expected unsigned short [noderef] [usertype] __user *src
drivers/firmware/efi/test/efi_test.c:248:60: sparse: got unsigned short [usertype] *[addressable] variable_name
drivers/firmware/efi/test/efi_test.c:253:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __user * @@ got void *[addressable] data @@
drivers/firmware/efi/test/efi_test.c:253:39: sparse: expected void const [noderef] __user *
drivers/firmware/efi/test/efi_test.c:253:39: sparse: got void *[addressable] data
drivers/firmware/efi/test/efi_test.c:263:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:263:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:263:13: sparse: got unsigned long [usertype] *[addressable] status
drivers/firmware/efi/test/efi_test.c:292:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:292:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:292:13: sparse: got unsigned long [usertype] *[addressable] status
drivers/firmware/efi/test/efi_test.c:301:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local @@ got struct efi_time_cap_t [usertype] * @@
drivers/firmware/efi/test/efi_test.c:301:27: sparse: expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local
drivers/firmware/efi/test/efi_test.c:301:27: sparse: got struct efi_time_cap_t [usertype] *
drivers/firmware/efi/test/efi_test.c:308:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct efi_time_t [usertype] *[addressable] time @@
drivers/firmware/efi/test/efi_test.c:308:41: sparse: expected void [noderef] __user *to
drivers/firmware/efi/test/efi_test.c:308:41: sparse: got struct efi_time_t [usertype] *[addressable] time
drivers/firmware/efi/test/efi_test.c:325:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_time_t [usertype] *[addressable] time @@
drivers/firmware/efi/test/efi_test.c:325:46: sparse: expected void const [noderef] __user *from
drivers/firmware/efi/test/efi_test.c:325:46: sparse: got struct efi_time_t [usertype] *[addressable] time
drivers/firmware/efi/test/efi_test.c:330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:330:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:330:13: sparse: got unsigned long [usertype] *[addressable] status
drivers/firmware/efi/test/efi_test.c:354:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:354:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:354:13: sparse: got unsigned long [usertype] *[addressable] status
>> drivers/firmware/efi/test/efi_test.c:360:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char [noderef] __user *__p @@ got unsigned char [usertype] *[addressable] enabled @@
>> drivers/firmware/efi/test/efi_test.c:360:38: sparse: expected unsigned char [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:360:38: sparse: got unsigned char [usertype] *[addressable] enabled
drivers/firmware/efi/test/efi_test.c:365:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct efi_time_t [usertype] *[addressable] time @@
drivers/firmware/efi/test/efi_test.c:365:47: sparse: expected void [noderef] __user *to
drivers/firmware/efi/test/efi_test.c:365:47: sparse: got struct efi_time_t [usertype] *[addressable] time
drivers/firmware/efi/test/efi_test.c:389:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_time_t [usertype] *[addressable] time @@
drivers/firmware/efi/test/efi_test.c:389:60: sparse: expected void const [noderef] __user *from
drivers/firmware/efi/test/efi_test.c:389:60: sparse: got struct efi_time_t [usertype] *[addressable] time
drivers/firmware/efi/test/efi_test.c:397:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:397:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:397:13: sparse: got unsigned long [usertype] *[addressable] status
>> drivers/firmware/efi/test/efi_test.c:421:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long *[addressable] variable_name_size @@
drivers/firmware/efi/test/efi_test.c:421:21: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:421:21: sparse: got unsigned long *[addressable] variable_name_size
drivers/firmware/efi/test/efi_test.c:429:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@
drivers/firmware/efi/test/efi_test.c:429:52: sparse: expected void const [noderef] __user *from
drivers/firmware/efi/test/efi_test.c:429:52: sparse: got struct guid_t [usertype] *[addressable] vendor_guid
drivers/firmware/efi/test/efi_test.c:439:52: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@
drivers/firmware/efi/test/efi_test.c:439:52: sparse: expected unsigned short [noderef] [usertype] __user *src
drivers/firmware/efi/test/efi_test.c:439:52: sparse: got unsigned short [usertype] *[addressable] variable_name
drivers/firmware/efi/test/efi_test.c:452:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@
drivers/firmware/efi/test/efi_test.c:452:52: sparse: expected unsigned short [noderef] [usertype] __user *src
drivers/firmware/efi/test/efi_test.c:452:52: sparse: got unsigned short [usertype] *[addressable] variable_name
drivers/firmware/efi/test/efi_test.c:461:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:461:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:461:13: sparse: got unsigned long [usertype] *[addressable] status
drivers/firmware/efi/test/efi_test.c:468:35: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long *[addressable] variable_name_size @@
drivers/firmware/efi/test/efi_test.c:468:35: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:468:35: sparse: got unsigned long *[addressable] variable_name_size
drivers/firmware/efi/test/efi_test.c:479:62: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *dst @@ got unsigned short [usertype] *[addressable] variable_name @@
drivers/firmware/efi/test/efi_test.c:479:62: sparse: expected unsigned short [noderef] [usertype] __user *dst
drivers/firmware/efi/test/efi_test.c:479:62: sparse: got unsigned short [usertype] *[addressable] variable_name
drivers/firmware/efi/test/efi_test.c:487:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long *[addressable] variable_name_size @@
drivers/firmware/efi/test/efi_test.c:487:21: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:487:21: sparse: got unsigned long *[addressable] variable_name_size
drivers/firmware/efi/test/efi_test.c:494:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct guid_t [usertype] *[addressable] vendor_guid @@
drivers/firmware/efi/test/efi_test.c:494:53: sparse: expected void [noderef] __user *to
drivers/firmware/efi/test/efi_test.c:494:53: sparse: got struct guid_t [usertype] *[addressable] vendor_guid
drivers/firmware/efi/test/efi_test.c:522:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:522:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:522:13: sparse: got unsigned long [usertype] *[addressable] status
>> drivers/firmware/efi/test/efi_test.c:529:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *__p @@ got unsigned int [usertype] *[addressable] high_count @@
drivers/firmware/efi/test/efi_test.c:529:13: sparse: expected unsigned int [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:529:13: sparse: got unsigned int [usertype] *[addressable] high_count
drivers/firmware/efi/test/efi_test.c:546:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __user * @@ got void * @@
drivers/firmware/efi/test/efi_test.c:546:37: sparse: expected void const [noderef] __user *
drivers/firmware/efi/test/efi_test.c:546:37: sparse: got void *
drivers/firmware/efi/test/efi_test.c:575:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] status @@
drivers/firmware/efi/test/efi_test.c:575:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:575:13: sparse: got unsigned long [usertype] *[addressable] status
>> drivers/firmware/efi/test/efi_test.c:581:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long [noderef] __user *__p @@ got unsigned long long [usertype] *[addressable] maximum_variable_storage_size @@
>> drivers/firmware/efi/test/efi_test.c:581:13: sparse: expected unsigned long long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:581:13: sparse: got unsigned long long [usertype] *[addressable] maximum_variable_storage_size
>> drivers/firmware/efi/test/efi_test.c:585:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long [noderef] __user *__p @@ got unsigned long long [usertype] *[addressable] remaining_variable_storage_size @@
drivers/firmware/efi/test/efi_test.c:585:13: sparse: expected unsigned long long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:585:13: sparse: got unsigned long long [usertype] *[addressable] remaining_variable_storage_size
drivers/firmware/efi/test/efi_test.c:589:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long [noderef] __user *__p @@ got unsigned long long [usertype] *[addressable] maximum_variable_size @@
drivers/firmware/efi/test/efi_test.c:589:13: sparse: expected unsigned long long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:589:13: sparse: got unsigned long long [usertype] *[addressable] maximum_variable_size
>> drivers/firmware/efi/test/efi_test.c:625:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct efi_capsule_header_t [usertype] *[noderef] __user *__p @@ got struct efi_capsule_header_t [usertype] ** @@
>> drivers/firmware/efi/test/efi_test.c:625:21: sparse: expected struct efi_capsule_header_t [usertype] *[noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:625:21: sparse: got struct efi_capsule_header_t [usertype] **
drivers/firmware/efi/test/efi_test.c:629:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_capsule_header_t [usertype] *[assigned] c @@
drivers/firmware/efi/test/efi_test.c:629:50: sparse: expected void const [noderef] __user *from
drivers/firmware/efi/test/efi_test.c:629:50: sparse: got struct efi_capsule_header_t [usertype] *[assigned] c
>> drivers/firmware/efi/test/efi_test.c:643:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *__p @@ got unsigned long [usertype] *[addressable] [assigned] status @@
drivers/firmware/efi/test/efi_test.c:643:13: sparse: expected unsigned long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:643:13: sparse: got unsigned long [usertype] *[addressable] [assigned] status
>> drivers/firmware/efi/test/efi_test.c:653:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long [noderef] __user *__p @@ got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size @@
drivers/firmware/efi/test/efi_test.c:653:13: sparse: expected unsigned long long [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:653:13: sparse: got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size
>> drivers/firmware/efi/test/efi_test.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int [noderef] __user *__p @@ got int *[addressable] [assigned] reset_type @@
>> drivers/firmware/efi/test/efi_test.c:658:13: sparse: expected int [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:658:13: sparse: got int *[addressable] [assigned] reset_type
drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *s @@ got unsigned short [noderef] [usertype] __user *str @@
drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *s
drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str
>> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [noderef] __user *__p @@ got unsigned short [usertype] * @@
>> drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected unsigned short [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] *
drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [noderef] __user *__p @@ got unsigned short [usertype] * @@
drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected unsigned short [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] *
drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *[assigned] s @@ got unsigned short [noderef] [usertype] __user *str @@
drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *[assigned] s
drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str
>> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [noderef] __user *__p @@ got unsigned short [usertype] * @@
>> drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected unsigned short [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] *
drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [noderef] __user *__p @@ got unsigned short [usertype] * @@
drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected unsigned short [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] *
drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *[assigned] s @@ got unsigned short [noderef] [usertype] __user *str @@
drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *[assigned] s
drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str
>> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [noderef] __user *__p @@ got unsigned short [usertype] * @@
>> drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected unsigned short [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] *
drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [noderef] __user *__p @@ got unsigned short [usertype] * @@
drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected unsigned short [noderef] __user *__p
drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] *
--
>> drivers/hwspinlock/omap_hwspinlock.c:39:39: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *lock_addr @@ got void *priv @@
>> drivers/hwspinlock/omap_hwspinlock.c:39:39: sparse: expected void [noderef] __iomem *lock_addr
drivers/hwspinlock/omap_hwspinlock.c:39:39: sparse: got void *priv
drivers/hwspinlock/omap_hwspinlock.c:47:39: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *lock_addr @@ got void *priv @@
drivers/hwspinlock/omap_hwspinlock.c:47:39: sparse: expected void [noderef] __iomem *lock_addr
drivers/hwspinlock/omap_hwspinlock.c:47:39: sparse: got void *priv
>> drivers/hwspinlock/omap_hwspinlock.c:132:30: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@
drivers/hwspinlock/omap_hwspinlock.c:132:30: sparse: expected void *priv
>> drivers/hwspinlock/omap_hwspinlock.c:132:30: sparse: got void [noderef] __iomem *
vim +99 arch/arm64/kernel/acpi.c
b10d79f76085b5 Al Stone 2015-03-24 89
37655163ce1a3e Al Stone 2015-03-24 90 /*
37655163ce1a3e Al Stone 2015-03-24 91 * __acpi_map_table() will be called before page_init(), so early_ioremap()
37655163ce1a3e Al Stone 2015-03-24 92 * or early_memremap() should be called here to for ACPI table mapping.
37655163ce1a3e Al Stone 2015-03-24 93 */
6c9a58e84e59a2 Andy Shevchenko 2017-07-18 94 void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size)
37655163ce1a3e Al Stone 2015-03-24 95 {
37655163ce1a3e Al Stone 2015-03-24 96 if (!size)
37655163ce1a3e Al Stone 2015-03-24 97 return NULL;
37655163ce1a3e Al Stone 2015-03-24 98
37655163ce1a3e Al Stone 2015-03-24 @99 return early_memremap(phys, size);
37655163ce1a3e Al Stone 2015-03-24 100 }
37655163ce1a3e Al Stone 2015-03-24 101
6c9a58e84e59a2 Andy Shevchenko 2017-07-18 102 void __init __acpi_unmap_table(void __iomem *map, unsigned long size)
37655163ce1a3e Al Stone 2015-03-24 103 {
37655163ce1a3e Al Stone 2015-03-24 104 if (!map || !size)
37655163ce1a3e Al Stone 2015-03-24 105 return;
37655163ce1a3e Al Stone 2015-03-24 106
37655163ce1a3e Al Stone 2015-03-24 @107 early_memunmap(map, size);
37655163ce1a3e Al Stone 2015-03-24 108 }
37655163ce1a3e Al Stone 2015-03-24 109
:::::: The code at line 99 was first introduced by commit
:::::: 37655163ce1a3ef2635a9bba0ad614f25e01484e ARM64 / ACPI: Get RSDP and ACPI boot-time tables
:::::: TO: Al Stone <al.stone(a)linaro.org>
:::::: CC: Will Deacon <will.deacon(a)arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
[RFT PATCH] ia64: Fix build error with !COREDUMP
by Krzysztof Kozlowski
Fix linkage error when CONFIG_BINFMT_ELF is selected but CONFIG_COREDUMP
is not:
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_phdrs':
elfcore.c:(.text+0x172): undefined reference to `dump_emit'
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_data':
elfcore.c:(.text+0x2b2): undefined reference to `dump_emit'
Cc: <stable(a)vger.kernel.org>
Fixes: 1fcccbac89f5 ("elf coredump: replace ELF_CORE_EXTRA_* macros by functions")
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk(a)kernel.org>
---
Please let kbuild test it for a while before applying. I built it only
on few configurations.
This is similar fix to commit 42d91f612c87 ("um: Fix build error and
kconfig for i386") although I put different fixes tag - the commit which
introduced this part of code.
---
arch/ia64/kernel/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile
index 1a8df6669eee..18d6008b151f 100644
--- a/arch/ia64/kernel/Makefile
+++ b/arch/ia64/kernel/Makefile
@@ -41,7 +41,7 @@ obj-y += esi_stub.o # must be in kernel proper
endif
obj-$(CONFIG_INTEL_IOMMU) += pci-dma.o
-obj-$(CONFIG_BINFMT_ELF) += elfcore.o
+obj-$(CONFIG_ELF_CORE) += elfcore.o
# fp_emulate() expects f2-f5,f16-f31 to contain the user-level state.
CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31
--
2.17.1
1 year, 11 months
Re: [PATCH 3/6] soc: ti: omap-prm: Configure sgx power domain for am3 and am4
by kernel test robot
Hi Tony,
I love your patch! Perhaps something to improve:
[auto build test WARNING on omap/for-next]
[also build test WARNING on robh/for-next keystone/next v5.8-rc3 next-20200629]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Tony-Lindgren/Add-initial-genpd-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git for-next
config: arm-randconfig-r011-20200629 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a28d38a6bca1726d56c9b373f4c7dc5264fc7716)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/soc/ti/omap_prm.c:98:21: warning: attribute declaration must precede definition [-Wignored-attributes]
static const struct __maybe_unused omap_prm_domain_map omap_prm_noinact = {
^
include/linux/compiler_attributes.h:259:56: note: expanded from macro '__maybe_unused'
#define __maybe_unused __attribute__((__unused__))
^
drivers/soc/ti/omap_prm.c:30:8: note: previous definition is here
struct omap_prm_domain_map {
^
drivers/soc/ti/omap_prm.c:105:21: warning: attribute declaration must precede definition [-Wignored-attributes]
static const struct __maybe_unused omap_prm_domain_map omap_prm_onoff_noauto = {
^
include/linux/compiler_attributes.h:259:56: note: expanded from macro '__maybe_unused'
#define __maybe_unused __attribute__((__unused__))
^
drivers/soc/ti/omap_prm.c:30:8: note: previous definition is here
struct omap_prm_domain_map {
^
2 warnings generated.
vim +98 drivers/soc/ti/omap_prm.c
97
> 98 static const struct __maybe_unused omap_prm_domain_map omap_prm_noinact = {
99 .usable_modes = BIT(OMAP_PRMD_ON_ACTIVE) | BIT(OMAP_PRMD_RETENTION) |
100 BIT(OMAP_PRMD_OFF),
101 .statechange = 1,
102 .logicretstate = 1,
103 };
104
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH V2] arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs
by kernel test robot
Hi Anshuman,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v5.8-rc3]
[also build test WARNING on next-20200629]
[cannot apply to arm64/for-next/core]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/arm64-hugetlb-...
base: 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/mm/hugetlbpage.c:40:13: warning: no previous prototype for 'arm64_hugetlb_cma_reserve' [-Wmissing-prototypes]
40 | void __init arm64_hugetlb_cma_reserve(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/arm64_hugetlb_cma_reserve +40 arch/arm64/mm/hugetlbpage.c
21
22 /*
23 * HugeTLB Support Matrix
24 *
25 * ---------------------------------------------------
26 * | Page Size | CONT PTE | PMD | CONT PMD | PUD |
27 * ---------------------------------------------------
28 * | 4K | 64K | 2M | 32M | 1G |
29 * | 16K | 2M | 32M | 1G | |
30 * | 64K | 2M | 512M | 16G | |
31 * ---------------------------------------------------
32 */
33
34 /*
35 * Reserve CMA areas for the largest supported gigantic
36 * huge page when requested. Any other smaller gigantic
37 * huge pages could still be served from those areas.
38 */
39 #ifdef CONFIG_CMA
> 40 void __init arm64_hugetlb_cma_reserve(void)
41 {
42 int order;
43
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH 07/30] misc: vmw_vmci_defs: 'struct vmci_handle VMCI_ANON_SRC_HANDLE' cannot be static
by kernel test robot
Hi Lee,
I love your patch! Yet something to improve:
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on soc/for-next usb/usb-testing linus/master v5.8-rc3 next-20200630]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Lee-Jones/Last-batch-of-patches-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git ba2104c24aba1fa7e19d53f08c985526a6786d8b
config: i386-randconfig-m021-20200630 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> ld: drivers/misc/vmw_vmci/vmci_datagram.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_doorbell.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_driver.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_event.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_guest.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_handle_array.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_host.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_queue_pair.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_resource.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_route.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
make[4]: *** [scripts/Makefile.build:431: drivers/misc/vmw_vmci/vmw_vmci.o] Error 1
make[4]: Target '__build' not remade because of errors.
--
>> ld: drivers/misc/vmw_vmci/vmci_datagram.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_doorbell.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_driver.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_event.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_guest.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_handle_array.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_host.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_queue_pair.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_resource.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_route.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
--
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Excess function parameter 'data' description in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'tx_packets' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'total_collisions' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:5079: warning: Excess function parameter 'downshift' description in 'e1000_check_downshift'
In file included from drivers/gpu/drm/amd/amdgpu/atombios_dp.c:29:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/atombios_dp.c:29:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'spi' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'test' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'tx' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'rx' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'spi' not described in 'spi_test_run_test'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'test' not described in 'spi_test_run_test'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'tx' not described in 'spi_test_run_test'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'rx' not described in 'spi_test_run_test'
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c:30:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c:30:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
lib/decompress_unlzo.c: In function 'parse_header':
lib/decompress_unlzo.c:46:5: warning: variable 'level' set but not used [-Wunused-but-set-variable]
46 | u8 level = 0;
| ^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:26:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:26:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
lib/dump_stack.c:86: warning: cannot understand function prototype: 'atomic_t dump_lock = ATOMIC_INIT(-1); '
drivers/gpu/drm/gma500/cdv_intel_crt.c:138: warning: Function parameter or member 'connector' not described in 'cdv_intel_crt_detect_hotplug'
drivers/gpu/drm/gma500/cdv_intel_crt.c:138: warning: Function parameter or member 'force' not described in 'cdv_intel_crt_detect_hotplug'
>> ld: drivers/misc/vmw_vmci/vmci_datagram.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_doorbell.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_driver.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_event.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_guest.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_handle_array.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_host.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_queue_pair.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_resource.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_route.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
make[4]: *** [scripts/Makefile.build:431: drivers/misc/vmw_vmci/vmw_vmci.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/misc/vmw_vmci] Error 2
drivers/acpi/video_detect.c:486:13: warning: no previous prototype for 'acpi_video_detect_exit' [-Wmissing-prototypes]
486 | void __exit acpi_video_detect_exit(void)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/gma500/cdv_intel_display.c:559: warning: Function parameter or member 'dev' not described in 'cdv_intel_panel_fitter_pipe'
drivers/acpi/acpi_video.c:2238:6: warning: no previous prototype for 'acpi_video_unregister_backlight' [-Wmissing-prototypes]
2238 | void acpi_video_unregister_backlight(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c: In function 'amdgpu_atombios_encoder_init_backlight':
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:174:5: warning: variable 'backlight_level' set but not used [-Wunused-but-set-variable]
174 | u8 backlight_level;
| ^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:31:
At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:31:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c:45:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c:45:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:27:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:27:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
--
910 | void __init early_xdbc_register_console(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/early/xhci-dbc.c:10: warning: Function parameter or member 'fmt' not described in 'pr_fmt'
drivers/net/ethernet/intel/e1000/e1000_hw.c:1907: warning: Excess function parameter 'mii_reg' description in 'e1000_config_mac_to_phy'
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Function parameter or member 'phy_data' not described in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:2930: warning: Excess function parameter 'data' description in 'e1000_write_phy_reg'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'tx_packets' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:4788: warning: Excess function parameter 'total_collisions' description in 'e1000_update_adaptive'
drivers/net/ethernet/intel/e1000/e1000_hw.c:5079: warning: Excess function parameter 'downshift' description in 'e1000_check_downshift'
In file included from drivers/gpu/drm/amd/amdgpu/atombios_dp.c:29:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/atombios_dp.c:29:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'spi' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'test' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'tx' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'rx' not described in 'spi_test_execute_msg'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'spi' not described in 'spi_test_run_test'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'test' not described in 'spi_test_run_test'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'tx' not described in 'spi_test_run_test'
drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'rx' not described in 'spi_test_run_test'
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c:30:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c:30:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:26:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c:26:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
drivers/gpu/drm/gma500/cdv_intel_crt.c:138: warning: Function parameter or member 'connector' not described in 'cdv_intel_crt_detect_hotplug'
drivers/gpu/drm/gma500/cdv_intel_crt.c:138: warning: Function parameter or member 'force' not described in 'cdv_intel_crt_detect_hotplug'
>> ld: drivers/misc/vmw_vmci/vmci_datagram.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_doorbell.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_driver.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_event.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_guest.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_handle_array.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_host.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_queue_pair.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_resource.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
ld: drivers/misc/vmw_vmci/vmci_route.o:include/linux/vmw_vmci_defs.h:162: multiple definition of `VMCI_ANON_SRC_HANDLE'; drivers/misc/vmw_vmci/vmci_context.o:include/linux/vmw_vmci_defs.h:162: first defined here
make[4]: *** [scripts/Makefile.build:431: drivers/misc/vmw_vmci/vmw_vmci.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/misc/vmw_vmci] Error 2
drivers/acpi/video_detect.c:486:13: warning: no previous prototype for 'acpi_video_detect_exit' [-Wmissing-prototypes]
486 | void __exit acpi_video_detect_exit(void)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/gma500/cdv_intel_display.c:559: warning: Function parameter or member 'dev' not described in 'cdv_intel_panel_fitter_pipe'
drivers/acpi/acpi_video.c:2238:6: warning: no previous prototype for 'acpi_video_unregister_backlight' [-Wmissing-prototypes]
2238 | void acpi_video_unregister_backlight(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c: In function 'amdgpu_atombios_encoder_init_backlight':
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:174:5: warning: variable 'backlight_level' set but not used [-Wunused-but-set-variable]
174 | u8 backlight_level;
| ^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:31:
At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:31:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c:45:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c:45:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:27:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:27:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
..
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
[drm:not-butter 9/12] drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:9:29: error: field 'tv' has incomplete type
by kernel test robot
tree: git://people.freedesktop.org/~airlied/linux.git not-butter
head: f9de02ab2d4b7fc8d05e5fff0d5b4d8e474bbba5
commit: 94b5191f7aeb937b75a085b9804da8072a2e1c96 [9/12] i915/ttm: start adding execbuffer
config: i386-randconfig-m021-20200630 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../powerplay/renoir_ppt.c:578: warning: Function parameter or member 'clock_table' not described in 'renoir_get_dpm_clock_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c: In function 'navi10_is_dpm_running':
drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:1141:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1141 | int ret = 0;
| ^~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:32:
At top level:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smu_v11_0.h:68:43: warning: 'smu11_thermal_policy' defined but not used [-Wunused-const-variable=]
68 | static const struct smu_temperature_range smu11_thermal_policy[] =
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:26:
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:26:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c: In function 'vega20_is_dpm_running':
drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:2852:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2852 | int ret = 0;
| ^~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:30:
At top level:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smu_v11_0.h:68:43: warning: 'smu11_thermal_policy' defined but not used [-Wunused-const-variable=]
68 | static const struct smu_temperature_range smu11_thermal_policy[] =
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:25:
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:25:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from include/drm/drm_mm.h:49,
from include/drm/drm_vma_manager.h:26,
from include/drm/drm_gem.h:40,
from drivers/gpu/drm/i915/i915_drv.h:53,
from drivers/gpu/drm/i915/display/intel_fbdev.c:44:
drivers/gpu/drm/i915/display/intel_fbdev.c: In function 'intelfb_create':
drivers/gpu/drm/i915/display/intel_fbdev.c:350:30: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=]
350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | ifbdev->fb->base.width, ifbdev->fb->base.height,
352 | vma ? i915_ggtt_offset(vma) : i915_ttm_bo_gpu_offset(bo));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| u64 {aka long long unsigned int}
include/drm/drm_print.h:436:38: note: in definition of macro 'drm_dbg_kms'
436 | drm_dev_dbg((drm)->dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/i915/display/intel_fbdev.c:350:56: note: format string is defined here
350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n",
| ~~~^
| |
| unsigned int
| %08llx
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/i915/display/intel_fbdev.o] Error 1
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega20_hwmgr.c:776: warning: Function parameter or member 'hwmgr' not described in 'vega20_init_smc_table'
In file included from <command-line>:
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:9:29: error: field 'tv' has incomplete type
9 | struct ttm_validate_buffer tv;
| ^~
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:13:18: error: field 'rhead' has incomplete type
13 | struct rcu_head rhead;
| ^~~~~
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:14:14: error: field 'refcount' has incomplete type
14 | struct kref refcount;
| ^~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:46:18: error: 'struct list_head' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
46 | struct list_head *validated);
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [drivers/gpu/drm/i915/Makefile:309: drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.hdrtest] Error 1
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:551: warning: Function parameter or member 'hwmgr' not described in 'vega10_get_evv_voltages'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:609: warning: Function parameter or member 'hwmgr' not described in 'vega10_patch_with_vdd_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:609: warning: Function parameter or member 'voltage' not described in 'vega10_patch_with_vdd_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:609: warning: Function parameter or member 'leakage_table' not described in 'vega10_patch_with_vdd_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:637: warning: Function parameter or member 'hwmgr' not described in 'vega10_patch_lookup_table_with_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:637: warning: Function parameter or member 'lookup_table' not described in 'vega10_patch_lookup_table_with_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:637: warning: Function parameter or member 'leakage_table' not described in 'vega10_patch_lookup_table_with_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1013: warning: Function parameter or member 'hwmgr' not described in 'vega10_trim_voltage_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1013: warning: Function parameter or member 'vol_table' not described in 'vega10_trim_voltage_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1160: warning: Function parameter or member 'hwmgr' not described in 'vega10_construct_voltage_tables'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'hwmgr' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'gfx_clock' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'current_gfxclk_level' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'acg_freq' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1613: warning: Cannot understand * @brief Populates single SMC SOCCLK structure using the provided clock.
on line 1613 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1667: warning: Function parameter or member 'hwmgr' not described in 'vega10_populate_all_graphic_levels'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1750: warning: Cannot understand * @brief Populates single SMC GFXCLK structure using the provided clock.
on line 1750 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1811: warning: Cannot understand * @brief Populates all SMC MCLK levels' structure based on the trimmed allowed dpm memory clock states.
on line 1811 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:2496: warning: Function parameter or member 'hwmgr' not described in 'vega10_init_smc_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:2867: warning: Cannot understand * @brief Tell SMC to enabled the supported DPMs.
on line 2867 - I thought it was a doc line
drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.c: In function 'i915_ttm_bo_list_get_list':
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.c:101:23: error: unused variable 'bo' [-Werror=unused-variable]
101 | struct i915_ttm_bo *bo = ttm_to_i915_bo(e->tv.bo);
| ^~
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.c:98:11: error: unused variable 'i' [-Werror=unused-variable]
98 | unsigned i;
| ^
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.o] Error 1
drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c: In function 'i915_ttm_list_validate':
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:309:27: error: unused variable 'ctx' [-Werror=unused-variable]
309 | struct ttm_operation_ctx ctx = { true, false };
| ^~~
drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c: In function 'i915_ttm_do_execbuffer':
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:447:23: error: unused variable 'bo' [-Werror=unused-variable]
447 | struct i915_ttm_bo *bo = ttm_to_i915_bo(e->tv.bo);
| ^~
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:412:15: error: unused variable 'i' [-Werror=unused-variable]
412 | unsigned int i;
| ^
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:410:36: error: unused variable 'exec2_list' [-Werror=unused-variable]
410 | struct drm_i915_gem_exec_object2 *exec2_list;
| ^~~~~~~~~~
At top level:
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:372:13: error: 'eb_request_add' defined but not used [-Werror=unused-function]
372 | static void eb_request_add(struct i915_ttm_execbuffer *eb)
| ^~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:335:1: error: 'eb_submit' defined but not used [-Werror=unused-function]
335 | eb_submit(struct i915_ttm_execbuffer *eb)
| ^~~~~~~~~
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:148:13: error: 'eb_unpin_engine' defined but not used [-Werror=unused-function]
148 | static void eb_unpin_engine(struct i915_ttm_execbuffer *eb)
| ^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/ttm/i915_ttm.h:5,
from <command-line>:
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:9:29: error: field 'tv' has incomplete type
9 | struct ttm_validate_buffer tv;
| ^~
In file included from <command-line>:
drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_bo_reserve':
drivers/gpu/drm/i915/ttm/i915_ttm.h:32:34: error: implicit declaration of function 'to_i915_ttm_dev' [-Werror=implicit-function-declaration]
32 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev);
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.h:32:34: error: initialization of 'struct drm_i915_private *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
In file included from include/linux/device.h:15,
from include/drm/drm_print.h:32,
from include/drm/drm_mm.h:49,
from include/drm/drm_vma_manager.h:26,
from include/drm/drm_gem.h:40,
from include/drm/ttm/ttm_bo_api.h:34,
from drivers/gpu/drm/i915/ttm/i915_ttm_object_types.h:4,
from drivers/gpu/drm/i915/ttm/i915_ttm.h:4,
from <command-line>:
drivers/gpu/drm/i915/ttm/i915_ttm.h:38:16: error: dereferencing pointer to incomplete type 'struct drm_i915_private'
38 | dev_err(i915->drm.dev, "%p reserve failed\n", bo);
| ^~
include/linux/dev_printk.h:104:11: note: in definition of macro 'dev_err'
104 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
In file included from <command-line>:
drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_mem_type_to_region':
drivers/gpu/drm/i915/ttm/i915_ttm.h:59:10: error: 'REGION_LMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'?
59 | return REGION_LMEM;
| ^~~~~~~~~~~
| REGION_MIXED
drivers/gpu/drm/i915/ttm/i915_ttm.h:59:10: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_init':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:20:6: error: unused variable 'ret' [-Werror=unused-variable]
20 | int ret;
| ^~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:17:27: error: unused variable 'i915' [-Werror=unused-variable]
17 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_init_mem_type':
drivers/gpu/drm/i915/ttm/i915_ttm.c:28:27: error: unused variable 'i915' [-Werror=unused-variable]
28 | struct drm_i915_private *i915 = to_i915_ttm_dev(bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_evict_flags':
drivers/gpu/drm/i915/ttm/i915_ttm.c:67:32: error: unused variable 'placements' [-Werror=unused-variable]
67 | static const struct ttm_place placements = {
| ^~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c:65:27: error: unused variable 'i915' [-Werror=unused-variable]
65 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_destroy':
drivers/gpu/drm/i915/ttm/i915_ttm.c:440:27: error: unused variable 'i915' [-Werror=unused-variable]
440 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm.c:503:5: error: no previous prototype for 'i915_ttm_bo_create' [-Werror=missing-prototypes]
503 | int i915_ttm_bo_create(struct drm_i915_private *i915,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_fini':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:35:27: error: unused variable 'i915' [-Werror=unused-variable]
35 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:52:6: error: no previous prototype for 'i915_ttm_gtt_mgr_has_gart_addr' [-Werror=missing-prototypes]
52 | bool i915_ttm_gtt_mgr_has_gart_addr(struct ttm_mem_reg *mem)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_alloc':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:64:27: error: unused variable 'i915' [-Werror=unused-variable]
64 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_new':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:105:17: error: unused variable 'mm' [-Werror=unused-variable]
105 | struct drm_mm *mm = &mgr->mm;
| ^~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:103:27: error: unused variable 'i915' [-Werror=unused-variable]
103 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_del':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:148:27: error: unused variable 'i915' [-Werror=unused-variable]
148 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.h:61:10: error: 'REGION_SMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'?
61 | return REGION_SMEM;
| ^~~~~~~~~~~
| REGION_MIXED
drivers/gpu/drm/i915/ttm/i915_ttm.h: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm.h:91:17: error: 'struct drm_i915_gem_execbuffer2' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
91 | struct drm_i915_gem_execbuffer2 *args,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_placement_from_region':
drivers/gpu/drm/i915/ttm/i915_ttm.c:521:27: error: unused variable 'i915' [-Werror=unused-variable]
521 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm.c:816:5: error: no previous prototype for 'i915_ttm_bo_pin_restricted' [-Werror=missing-prototypes]
816 | int i915_ttm_bo_pin_restricted(struct i915_ttm_bo *bo, u32 region,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c:995:6: error: no previous prototype for 'i915_ttm_gem_object_free' [-Werror=missing-prototypes]
995 | void i915_ttm_gem_object_free(struct drm_gem_object *gobj)
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [drivers/gpu/drm/i915/Makefile:309: drivers/gpu/drm/i915/ttm/i915_ttm.hdrtest] Error 1
--
drivers/gpu/drm/amd/amdgpu/../powerplay/renoir_ppt.c:578: warning: Function parameter or member 'clock_table' not described in 'renoir_get_dpm_clock_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c: In function 'navi10_is_dpm_running':
drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:1141:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1141 | int ret = 0;
| ^~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:32:
At top level:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smu_v11_0.h:68:43: warning: 'smu11_thermal_policy' defined but not used [-Wunused-const-variable=]
68 | static const struct smu_temperature_range smu11_thermal_policy[] =
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:26:
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:26:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c: In function 'vega20_is_dpm_running':
drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:2852:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2852 | int ret = 0;
| ^~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:30:
At top level:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smu_v11_0.h:68:43: warning: 'smu11_thermal_policy' defined but not used [-Wunused-const-variable=]
68 | static const struct smu_temperature_range smu11_thermal_policy[] =
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:25:
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:25:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
In file included from include/drm/drm_mm.h:49,
from include/drm/drm_vma_manager.h:26,
from include/drm/drm_gem.h:40,
from drivers/gpu/drm/i915/i915_drv.h:53,
from drivers/gpu/drm/i915/display/intel_fbdev.c:44:
drivers/gpu/drm/i915/display/intel_fbdev.c: In function 'intelfb_create':
drivers/gpu/drm/i915/display/intel_fbdev.c:350:30: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=]
350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | ifbdev->fb->base.width, ifbdev->fb->base.height,
352 | vma ? i915_ggtt_offset(vma) : i915_ttm_bo_gpu_offset(bo));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| u64 {aka long long unsigned int}
include/drm/drm_print.h:436:38: note: in definition of macro 'drm_dbg_kms'
436 | drm_dev_dbg((drm)->dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/i915/display/intel_fbdev.c:350:56: note: format string is defined here
350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n",
| ~~~^
| |
| unsigned int
| %08llx
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/i915/display/intel_fbdev.o] Error 1
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega20_hwmgr.c:776: warning: Function parameter or member 'hwmgr' not described in 'vega20_init_smc_table'
In file included from <command-line>:
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:9:29: error: field 'tv' has incomplete type
9 | struct ttm_validate_buffer tv;
| ^~
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:13:18: error: field 'rhead' has incomplete type
13 | struct rcu_head rhead;
| ^~~~~
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:14:14: error: field 'refcount' has incomplete type
14 | struct kref refcount;
| ^~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:46:18: error: 'struct list_head' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
46 | struct list_head *validated);
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [drivers/gpu/drm/i915/Makefile:309: drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.hdrtest] Error 1
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:551: warning: Function parameter or member 'hwmgr' not described in 'vega10_get_evv_voltages'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:609: warning: Function parameter or member 'hwmgr' not described in 'vega10_patch_with_vdd_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:609: warning: Function parameter or member 'voltage' not described in 'vega10_patch_with_vdd_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:609: warning: Function parameter or member 'leakage_table' not described in 'vega10_patch_with_vdd_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:637: warning: Function parameter or member 'hwmgr' not described in 'vega10_patch_lookup_table_with_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:637: warning: Function parameter or member 'lookup_table' not described in 'vega10_patch_lookup_table_with_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:637: warning: Function parameter or member 'leakage_table' not described in 'vega10_patch_lookup_table_with_leakage'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1013: warning: Function parameter or member 'hwmgr' not described in 'vega10_trim_voltage_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1013: warning: Function parameter or member 'vol_table' not described in 'vega10_trim_voltage_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1160: warning: Function parameter or member 'hwmgr' not described in 'vega10_construct_voltage_tables'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'hwmgr' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'gfx_clock' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'current_gfxclk_level' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1558: warning: Function parameter or member 'acg_freq' not described in 'vega10_populate_single_gfx_level'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1613: warning: Cannot understand * @brief Populates single SMC SOCCLK structure using the provided clock.
on line 1613 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1667: warning: Function parameter or member 'hwmgr' not described in 'vega10_populate_all_graphic_levels'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1750: warning: Cannot understand * @brief Populates single SMC GFXCLK structure using the provided clock.
on line 1750 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:1811: warning: Cannot understand * @brief Populates all SMC MCLK levels' structure based on the trimmed allowed dpm memory clock states.
on line 1811 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:2496: warning: Function parameter or member 'hwmgr' not described in 'vega10_init_smc_table'
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_hwmgr.c:2867: warning: Cannot understand * @brief Tell SMC to enabled the supported DPMs.
on line 2867 - I thought it was a doc line
drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.c: In function 'i915_ttm_bo_list_get_list':
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.c:101:23: error: unused variable 'bo' [-Werror=unused-variable]
101 | struct i915_ttm_bo *bo = ttm_to_i915_bo(e->tv.bo);
| ^~
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.c:98:11: error: unused variable 'i' [-Werror=unused-variable]
98 | unsigned i;
| ^
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.o] Error 1
drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c: In function 'i915_ttm_list_validate':
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:309:27: error: unused variable 'ctx' [-Werror=unused-variable]
309 | struct ttm_operation_ctx ctx = { true, false };
| ^~~
drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c: In function 'i915_ttm_do_execbuffer':
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:447:23: error: unused variable 'bo' [-Werror=unused-variable]
447 | struct i915_ttm_bo *bo = ttm_to_i915_bo(e->tv.bo);
| ^~
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:412:15: error: unused variable 'i' [-Werror=unused-variable]
412 | unsigned int i;
| ^
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:410:36: error: unused variable 'exec2_list' [-Werror=unused-variable]
410 | struct drm_i915_gem_exec_object2 *exec2_list;
| ^~~~~~~~~~
At top level:
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:372:13: error: 'eb_request_add' defined but not used [-Werror=unused-function]
372 | static void eb_request_add(struct i915_ttm_execbuffer *eb)
| ^~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:335:1: error: 'eb_submit' defined but not used [-Werror=unused-function]
335 | eb_submit(struct i915_ttm_execbuffer *eb)
| ^~~~~~~~~
>> drivers/gpu/drm/i915/ttm/i915_ttm_execbuffer.c:148:13: error: 'eb_unpin_engine' defined but not used [-Werror=unused-function]
148 | static void eb_unpin_engine(struct i915_ttm_execbuffer *eb)
| ^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/ttm/i915_ttm.h:5,
from <command-line>:
>> drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h:9:29: error: field 'tv' has incomplete type
9 | struct ttm_validate_buffer tv;
| ^~
In file included from <command-line>:
drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_bo_reserve':
drivers/gpu/drm/i915/ttm/i915_ttm.h:32:34: error: implicit declaration of function 'to_i915_ttm_dev' [-Werror=implicit-function-declaration]
32 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev);
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.h:32:34: error: initialization of 'struct drm_i915_private *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
In file included from include/linux/device.h:15,
from include/drm/drm_print.h:32,
from include/drm/drm_mm.h:49,
from include/drm/drm_vma_manager.h:26,
from include/drm/drm_gem.h:40,
from include/drm/ttm/ttm_bo_api.h:34,
from drivers/gpu/drm/i915/ttm/i915_ttm_object_types.h:4,
from drivers/gpu/drm/i915/ttm/i915_ttm.h:4,
from <command-line>:
drivers/gpu/drm/i915/ttm/i915_ttm.h:38:16: error: dereferencing pointer to incomplete type 'struct drm_i915_private'
38 | dev_err(i915->drm.dev, "%p reserve failed\n", bo);
| ^~
include/linux/dev_printk.h:104:11: note: in definition of macro 'dev_err'
104 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
In file included from <command-line>:
drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_mem_type_to_region':
drivers/gpu/drm/i915/ttm/i915_ttm.h:59:10: error: 'REGION_LMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'?
59 | return REGION_LMEM;
| ^~~~~~~~~~~
| REGION_MIXED
drivers/gpu/drm/i915/ttm/i915_ttm.h:59:10: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_init':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:20:6: error: unused variable 'ret' [-Werror=unused-variable]
20 | int ret;
| ^~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:17:27: error: unused variable 'i915' [-Werror=unused-variable]
17 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_init_mem_type':
drivers/gpu/drm/i915/ttm/i915_ttm.c:28:27: error: unused variable 'i915' [-Werror=unused-variable]
28 | struct drm_i915_private *i915 = to_i915_ttm_dev(bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_evict_flags':
drivers/gpu/drm/i915/ttm/i915_ttm.c:67:32: error: unused variable 'placements' [-Werror=unused-variable]
67 | static const struct ttm_place placements = {
| ^~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c:65:27: error: unused variable 'i915' [-Werror=unused-variable]
65 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_destroy':
drivers/gpu/drm/i915/ttm/i915_ttm.c:440:27: error: unused variable 'i915' [-Werror=unused-variable]
440 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm.c:503:5: error: no previous prototype for 'i915_ttm_bo_create' [-Werror=missing-prototypes]
503 | int i915_ttm_bo_create(struct drm_i915_private *i915,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_fini':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:35:27: error: unused variable 'i915' [-Werror=unused-variable]
35 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:52:6: error: no previous prototype for 'i915_ttm_gtt_mgr_has_gart_addr' [-Werror=missing-prototypes]
52 | bool i915_ttm_gtt_mgr_has_gart_addr(struct ttm_mem_reg *mem)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_alloc':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:64:27: error: unused variable 'i915' [-Werror=unused-variable]
64 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_new':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:105:17: error: unused variable 'mm' [-Werror=unused-variable]
105 | struct drm_mm *mm = &mgr->mm;
| ^~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:103:27: error: unused variable 'i915' [-Werror=unused-variable]
103 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_del':
drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:148:27: error: unused variable 'i915' [-Werror=unused-variable]
148 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.h:61:10: error: 'REGION_SMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'?
61 | return REGION_SMEM;
| ^~~~~~~~~~~
| REGION_MIXED
drivers/gpu/drm/i915/ttm/i915_ttm.h: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm.h:91:17: error: 'struct drm_i915_gem_execbuffer2' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
91 | struct drm_i915_gem_execbuffer2 *args,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_placement_from_region':
drivers/gpu/drm/i915/ttm/i915_ttm.c:521:27: error: unused variable 'i915' [-Werror=unused-variable]
521 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev);
| ^~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level:
drivers/gpu/drm/i915/ttm/i915_ttm.c:816:5: error: no previous prototype for 'i915_ttm_bo_pin_restricted' [-Werror=missing-prototypes]
816 | int i915_ttm_bo_pin_restricted(struct i915_ttm_bo *bo, u32 region,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/ttm/i915_ttm.c:995:6: error: no previous prototype for 'i915_ttm_gem_object_free' [-Werror=missing-prototypes]
995 | void i915_ttm_gem_object_free(struct drm_gem_object *gobj)
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [drivers/gpu/drm/i915/Makefile:309: drivers/gpu/drm/i915/ttm/i915_ttm.hdrtest] Error 1
..
vim +/tv +9 drivers/gpu/drm/i915/ttm/i915_ttm_bo_list.h
7
8 struct i915_ttm_bo_list_entry {
> 9 struct ttm_validate_buffer tv;
10 };
11
12 struct i915_ttm_bo_list {
> 13 struct rcu_head rhead;
> 14 struct kref refcount;
15 unsigned num_entries;
16 };
17
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
[chao-linux:f2fs-dev 9/9] fs/f2fs/gc.c:588:6: sparse: sparse: symbol 'release_victim_entry' was not declared. Should it be
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git f2fs-dev
head: 3071cd33e669ffcb435bdc108c975407ebcbcb48
commit: 3071cd33e669ffcb435bdc108c975407ebcbcb48 [9/9] f2fs: support age threshold based garbage collection
config: i386-randconfig-s001-20200630 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-3-gfa153962-dirty
git checkout 3071cd33e669ffcb435bdc108c975407ebcbcb48
# 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(a)intel.com>
sparse warnings: (new ones prefixed by >>)
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:790: warning: Function parameter or member 'file' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'cmd' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'arg' not described in 'compat_ptr_ioctl'
In file included from fs/btrfs/file.c:19:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/gfs2/util.c:52: warning: Function parameter or member 'verbose' not described in 'check_journal_clean'
fs/gfs2/util.c:326: warning: Function parameter or member 'sdp' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'assertion' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'function' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'file' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'line' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'delayed' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'sdp' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'assertion' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'function' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'file' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'line' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'sdp' not described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'function' not described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'file' not described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'line' not described in 'gfs2_consist_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'ip' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'function' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'file' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'line' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'rgd' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'function' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'file' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'line' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:441: warning: Function parameter or member 'sdp' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'bh' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'type' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'function' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'file' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'line' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'sdp' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'bh' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'type' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 't' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'function' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'file' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'line' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:484: warning: Function parameter or member 'sdp' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'function' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'file' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'line' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'sdp' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'bh' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'function' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'file' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'line' not described in 'gfs2_io_error_bh_i'
fs/gfs2/quota.c:1542: warning: Function parameter or member 'data' not described in 'gfs2_quotad'
fs/gfs2/quota.c:1542: warning: Excess function parameter 'sdp' description in 'gfs2_quotad'
In file included from fs/btrfs/tree-defrag.c:7:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs-writeback.c:2189:50: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void * @@ got void [noderef] <asn:1> *buffer @@
fs/fs-writeback.c:2189:50: sparse: expected void *
fs/fs-writeback.c:2189:50: sparse: got void [noderef] <asn:1> *buffer
fs/fs-writeback.c:2184:5: sparse: sparse: symbol 'dirtytime_interval_handler' redeclared with different type (incompatible argument 3 (different address spaces)):
fs/fs-writeback.c:2184:5: sparse: int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... )
include/linux/writeback.h:374:5: sparse: note: previously declared as:
include/linux/writeback.h:374:5: sparse: int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... )
fs/fs-writeback.c:1705:17: sparse: sparse: context imbalance in 'writeback_sb_inodes' - unexpected unlock
fs/fs-writeback.c:2197:9: sparse: sparse: context imbalance in 'block_dump___mark_inode_dirty' - different lock contexts for basic block
In file included from fs/btrfs/inode.c:34:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/f2fs/super.c:1051:35: sparse: sparse: context imbalance in 'f2fs_drop_inode' - unexpected unlock
fs/d_path.c:155:9: sparse: sparse: context imbalance in 'prepend_path' - wrong count at exit
include/linux/err.h:24:20: sparse: sparse: context imbalance in '__dentry_path' - different lock contexts for basic block
In file included from fs/btrfs/extent_map.c:6:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/sysfs.c:533:9: sparse: sparse: context imbalance in 'btrfs_show_u64' - different lock contexts for basic block
fs/btrfs/extent_map.c:399: warning: Function parameter or member 'modified' not described in 'add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'fs_info' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_tree' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_in' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'start' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'len' not described in 'btrfs_add_extent_mapping'
fs/d_path.c:311:7: warning: no previous prototype for 'simple_dname' [-Wmissing-prototypes]
311 | char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
| ^~~~~~~~~~~~
fs/namei.c:568: warning: Function parameter or member 'mnt' not described in 'path_connected'
fs/namei.c:568: warning: Function parameter or member 'dentry' not described in 'path_connected'
fs/namei.c:956: warning: Function parameter or member 'inode' not described in 'may_follow_link'
>> fs/f2fs/gc.c:588:6: sparse: sparse: symbol 'release_victim_entry' was not declared. Should it be static?
>> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not declared. Should it be static?
>> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg' was not declared. Should it be static?
>> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol '__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not declared. Should it be static?
fs/f2fs/extent_cache.c:709:38: sparse: sparse: context imbalance in 'f2fs_shrink_extent_tree' - different lock contexts for basic block
fs/fs_struct.c:163:18: sparse: sparse: symbol 'init_fs' was not declared. Should it be static?
fs/f2fs/data.c:2327:33: sparse: sparse: label 'next_page' was not declared
fs/xattr.c:172: warning: Function parameter or member 'dentry' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'name' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'value' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'size' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'flags' not described in '__vfs_setxattr_noperm'
fs/btrfs/volumes.c:7336:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7356:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:539:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string *
fs/btrfs/volumes.c:858:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:932:33: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string *
fs/btrfs/volumes.c:939:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:951:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:1012:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:2055:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:2539:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:6325:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7242:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:7253:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:7267:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string *
fs/btrfs/extent_io.c:2327:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string *
include/linux/page-flags.h:182:30: sparse: sparse: context imbalance in 'btrfs_release_extent_buffer_pages' - different lock contexts for basic block
In file included from fs/btrfs/struct-funcs.c:8:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/async-thread.c:13:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs_pin.c:41:17: sparse: sparse: context imbalance in 'pin_kill' - unexpected unlock
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'mnt_pin_kill' - different lock contexts for basic block
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'group_pin_kill' - different lock contexts for basic block
fs/f2fs/gc.c: In function 'insert_victim_entry':
fs/f2fs/gc.c:374:23: warning: variable 've' set but not used [-Wunused-but-set-variable]
374 | struct victim_entry *ve = NULL;
| ^~
fs/f2fs/gc.c: In function 'atssr_lookup_victim':
fs/f2fs/gc.c:507:21: warning: variable 'total_time' set but not used [-Wunused-but-set-variable]
507 | unsigned long long total_time;
| ^~~~~~~~~~
fs/f2fs/gc.c: At top level:
fs/f2fs/gc.c:588:6: warning: no previous prototype for 'release_victim_entry' [-Wmissing-prototypes]
588 | void release_victim_entry(struct f2fs_sb_info *sbi)
| ^~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/xattr.c:15:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/ioctl.c:1715:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string *
fs/btrfs/ioctl.c:3257:40: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string *
In file included from fs/btrfs/sysfs.c:14:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/sysfs.c:18:
fs/btrfs/sysfs.h:16:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
16 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set);
| ^~~~~
fs/fs_parser.c:192:5: sparse: sparse: symbol 'fs_param_bad_value' was not declared. Should it be static?
fs/btrfs/sysfs.c:971:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
971 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set)
| ^~~~~
--
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:790: warning: Function parameter or member 'file' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'cmd' not described in 'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'arg' not described in 'compat_ptr_ioctl'
In file included from fs/btrfs/file.c:19:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/gfs2/util.c:52: warning: Function parameter or member 'verbose' not described in 'check_journal_clean'
fs/gfs2/util.c:326: warning: Function parameter or member 'sdp' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'assertion' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'function' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'file' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'line' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'delayed' not described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'sdp' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'assertion' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'function' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'file' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'line' not described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'sdp' not described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'function' not described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'file' not described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'line' not described in 'gfs2_consist_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'ip' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'function' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'file' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'line' not described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'rgd' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'function' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'file' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'line' not described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:441: warning: Function parameter or member 'sdp' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'bh' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'type' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'function' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'file' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'line' not described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'sdp' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'bh' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'type' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 't' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'function' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'file' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'line' not described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:484: warning: Function parameter or member 'sdp' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'function' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'file' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'line' not described in 'gfs2_io_error_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'sdp' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'bh' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'function' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'file' not described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'line' not described in 'gfs2_io_error_bh_i'
fs/gfs2/quota.c:1542: warning: Function parameter or member 'data' not described in 'gfs2_quotad'
fs/gfs2/quota.c:1542: warning: Excess function parameter 'sdp' description in 'gfs2_quotad'
In file included from fs/btrfs/tree-defrag.c:7:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs-writeback.c:2189:50: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void * @@ got void [noderef] <asn:1> *buffer @@
fs/fs-writeback.c:2189:50: sparse: expected void *
fs/fs-writeback.c:2189:50: sparse: got void [noderef] <asn:1> *buffer
fs/fs-writeback.c:2184:5: sparse: sparse: symbol 'dirtytime_interval_handler' redeclared with different type (incompatible argument 3 (different address spaces)):
fs/fs-writeback.c:2184:5: sparse: int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... )
include/linux/writeback.h:374:5: sparse: note: previously declared as:
include/linux/writeback.h:374:5: sparse: int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... )
fs/fs-writeback.c:1705:17: sparse: sparse: context imbalance in 'writeback_sb_inodes' - unexpected unlock
fs/fs-writeback.c:2197:9: sparse: sparse: context imbalance in 'block_dump___mark_inode_dirty' - different lock contexts for basic block
In file included from fs/btrfs/inode.c:34:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/f2fs/super.c:1051:35: sparse: sparse: context imbalance in 'f2fs_drop_inode' - unexpected unlock
fs/d_path.c:155:9: sparse: sparse: context imbalance in 'prepend_path' - wrong count at exit
include/linux/err.h:24:20: sparse: sparse: context imbalance in '__dentry_path' - different lock contexts for basic block
In file included from fs/btrfs/extent_map.c:6:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/sysfs.c:533:9: sparse: sparse: context imbalance in 'btrfs_show_u64' - different lock contexts for basic block
fs/btrfs/extent_map.c:399: warning: Function parameter or member 'modified' not described in 'add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'fs_info' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_tree' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_in' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'start' not described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'len' not described in 'btrfs_add_extent_mapping'
fs/d_path.c:311:7: warning: no previous prototype for 'simple_dname' [-Wmissing-prototypes]
311 | char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
| ^~~~~~~~~~~~
fs/namei.c:568: warning: Function parameter or member 'mnt' not described in 'path_connected'
fs/namei.c:568: warning: Function parameter or member 'dentry' not described in 'path_connected'
fs/namei.c:956: warning: Function parameter or member 'inode' not described in 'may_follow_link'
>> fs/f2fs/gc.c:588:6: sparse: sparse: symbol 'release_victim_entry' was not declared. Should it be static?
>> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not declared. Should it be static?
>> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg' was not declared. Should it be static?
>> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol '__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not declared. Should it be static?
fs/f2fs/extent_cache.c:709:38: sparse: sparse: context imbalance in 'f2fs_shrink_extent_tree' - different lock contexts for basic block
fs/fs_struct.c:163:18: sparse: sparse: symbol 'init_fs' was not declared. Should it be static?
fs/f2fs/data.c:2327:33: sparse: sparse: label 'next_page' was not declared
fs/xattr.c:172: warning: Function parameter or member 'dentry' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'name' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'value' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'size' not described in '__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'flags' not described in '__vfs_setxattr_noperm'
fs/btrfs/volumes.c:7336:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7356:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:539:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string *
fs/btrfs/volumes.c:858:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:932:33: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string *
fs/btrfs/volumes.c:939:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:951:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:1012:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:2055:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:2539:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:6325:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7242:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:7253:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:7267:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string *
fs/btrfs/extent_io.c:2327:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string *
include/linux/page-flags.h:182:30: sparse: sparse: context imbalance in 'btrfs_release_extent_buffer_pages' - different lock contexts for basic block
In file included from fs/btrfs/struct-funcs.c:8:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/async-thread.c:13:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs_pin.c:41:17: sparse: sparse: context imbalance in 'pin_kill' - unexpected unlock
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'mnt_pin_kill' - different lock contexts for basic block
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in 'group_pin_kill' - different lock contexts for basic block
fs/f2fs/gc.c: In function 'insert_victim_entry':
fs/f2fs/gc.c:374:23: warning: variable 've' set but not used [-Wunused-but-set-variable]
374 | struct victim_entry *ve = NULL;
| ^~
fs/f2fs/gc.c: In function 'atssr_lookup_victim':
fs/f2fs/gc.c:507:21: warning: variable 'total_time' set but not used [-Wunused-but-set-variable]
507 | unsigned long long total_time;
| ^~~~~~~~~~
fs/f2fs/gc.c: At top level:
fs/f2fs/gc.c:588:6: warning: no previous prototype for 'release_victim_entry' [-Wmissing-prototypes]
588 | void release_victim_entry(struct f2fs_sb_info *sbi)
| ^~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/xattr.c:15:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/ioctl.c:1715:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string *
fs/btrfs/ioctl.c:3257:40: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string *
In file included from fs/btrfs/sysfs.c:14:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/sysfs.c:18:
fs/btrfs/sysfs.h:16:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
16 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set);
| ^~~~~
fs/fs_parser.c:192:5: sparse: sparse: symbol 'fs_param_bad_value' was not declared. Should it be static?
fs/btrfs/sysfs.c:971:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
971 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set)
| ^~~~~
--
fs/f2fs/file.c:48:54: sparse: sparse: cast from restricted vm_fault_t
fs/f2fs/file.c:3380:36: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short const [usertype] *pwcs @@ got restricted __le16 * @@
fs/f2fs/file.c:3380:36: sparse: expected unsigned short const [usertype] *pwcs
fs/f2fs/file.c:3380:36: sparse: got restricted __le16 *
fs/f2fs/file.c:3416:28: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned short [usertype] *pwcs @@ got restricted __le16 * @@
fs/f2fs/file.c:3416:28: sparse: expected unsigned short [usertype] *pwcs
fs/f2fs/file.c:3416:28: sparse: got restricted __le16 *
fs/f2fs/super.c:1051:35: sparse: sparse: context imbalance in 'f2fs_drop_inode' - unexpected unlock
>> fs/f2fs/gc.c:588:6: sparse: sparse: symbol 'release_victim_entry' was not declared. Should it be static?
>> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not declared. Should it be static?
>> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg' was not declared. Should it be static?
>> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol '__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not declared. Should it be static?
fs/f2fs/extent_cache.c:709:38: sparse: sparse: context imbalance in 'f2fs_shrink_extent_tree' - different lock contexts for basic block
fs/f2fs/data.c:2327:33: sparse: sparse: label 'next_page' was not declared
fs/f2fs/gc.c: In function 'insert_victim_entry':
fs/f2fs/gc.c:374:23: warning: variable 've' set but not used [-Wunused-but-set-variable]
374 | struct victim_entry *ve = NULL;
| ^~
fs/f2fs/gc.c: In function 'atssr_lookup_victim':
fs/f2fs/gc.c:507:21: warning: variable 'total_time' set but not used [-Wunused-but-set-variable]
507 | unsigned long long total_time;
| ^~~~~~~~~~
fs/f2fs/gc.c: At top level:
fs/f2fs/gc.c:588:6: warning: no previous prototype for 'release_victim_entry' [-Wmissing-prototypes]
588 | void release_victim_entry(struct f2fs_sb_info *sbi)
| ^~~~~~~~~~~~~~~~~~~~
fs/f2fs/data.c: In function 'f2fs_mpage_readpages':
fs/f2fs/data.c:2327:5: error: label 'next_page' used but not defined
2327 | goto next_page;
| ^~~~
fs/f2fs/segment.c:2437:6: warning: no previous prototype for 'get_new_segment' [-Wmissing-prototypes]
2437 | void get_new_segment(struct f2fs_sb_info *sbi,
| ^~~~~~~~~~~~~~~
fs/f2fs/segment.c:2722:6: warning: no previous prototype for '__f2fs_save_inmem_curseg' [-Wmissing-prototypes]
2722 | void __f2fs_save_inmem_curseg(struct f2fs_sb_info *sbi, int type)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/f2fs/segment.c:2753:6: warning: no previous prototype for '__f2fs_restore_inmem_curseg' [-Wmissing-prototypes]
2753 | void __f2fs_restore_inmem_curseg(struct f2fs_sb_info *sbi, int type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/f2fs/segment.c:2898:6: warning: no previous prototype for '__allocate_new_segment' [-Wmissing-prototypes]
2898 | void __allocate_new_segment(struct f2fs_sb_info *sbi, int type)
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:280: fs/f2fs/data.o] Error 1
make[3]: Target '__build' not remade because of errors.
--
>> fs/f2fs/gc.c:588:6: sparse: sparse: symbol 'release_victim_entry' was not declared. Should it be static?
--
>> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not declared. Should it be static?
>> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg' was not declared. Should it be static?
>> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol '__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH] iio: adc: Specify IOMEM dependency for adi-axi-adc driver
by kernel test robot
Hi David,
I love your patch! Yet something to improve:
[auto build test ERROR on iio/togreg]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/David-Gow/iio-adc-Specify-IOMEM-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/staging/rtl8723bs/include/ieee80211.h:753:1: warning: alignment 1 of 'struct ieee80211_assoc_response_frame' is less than 2 [-Wpacked-not-aligned]
753 | } __attribute__ ((packed));
| ^
In file included from drivers/staging/rtl8723bs/include/drv_types.h:25,
from drivers/staging/rtl8723bs/os_dep/recv_linux.c:9:
drivers/staging/rtl8723bs/include/ieee80211.h:746:1: warning: alignment 1 of 'struct ieee80211_assoc_request_frame' is less than 2 [-Wpacked-not-aligned]
746 | } __attribute__ ((packed));
| ^
drivers/staging/rtl8723bs/include/ieee80211.h:753:1: warning: alignment 1 of 'struct ieee80211_assoc_response_frame' is less than 2 [-Wpacked-not-aligned]
753 | } __attribute__ ((packed));
| ^
In file included from drivers/staging/rtl8723bs/include/drv_types.h:42,
from drivers/staging/rtl8723bs/os_dep/wifi_regd.c:8:
drivers/staging/rtl8723bs/include/rtw_security.h:374:28: warning: 'K' defined but not used [-Wunused-const-variable=]
374 | static const unsigned long K[64] = {
| ^
In file included from drivers/staging/rtl8723bs/include/drv_types.h:42,
from drivers/staging/rtl8723bs/os_dep/recv_linux.c:9:
drivers/staging/rtl8723bs/include/rtw_security.h:374:28: warning: 'K' defined but not used [-Wunused-const-variable=]
374 | static const unsigned long K[64] = {
| ^
drivers/iio/adc/ti-ads8688.c:506:34: warning: 'ads8688_of_match' defined but not used [-Wunused-const-variable=]
506 | static const struct of_device_id ads8688_of_match[] = {
| ^~~~~~~~~~~~~~~~
In file included from drivers/staging/rtl8723bs/include/drv_types.h:25,
from drivers/staging/rtl8723bs/os_dep/xmit_linux.c:9:
drivers/staging/rtl8723bs/include/ieee80211.h:746:1: warning: alignment 1 of 'struct ieee80211_assoc_request_frame' is less than 2 [-Wpacked-not-aligned]
746 | } __attribute__ ((packed));
| ^
drivers/staging/rtl8723bs/include/ieee80211.h:753:1: warning: alignment 1 of 'struct ieee80211_assoc_response_frame' is less than 2 [-Wpacked-not-aligned]
753 | } __attribute__ ((packed));
| ^
drivers/staging/comedi/drivers/ni_routes.c:253: warning: cannot understand function prototype: 'const int NI_CMD_DESTS[] = '
drivers/staging/comedi/drivers/ni_routes.c:399: warning: Function parameter or member 'routes' not described in 'ni_route_set_has_source'
drivers/staging/comedi/drivers/ni_routes.c:399: warning: Function parameter or member 'source' not described in 'ni_route_set_has_source'
drivers/staging/comedi/drivers/ni_routes.c:525: warning: Function parameter or member 'src_sel_reg_value' not described in 'ni_find_route_source'
drivers/staging/comedi/drivers/ni_routes.c:525: warning: Function parameter or member 'dest' not described in 'ni_find_route_source'
drivers/staging/comedi/drivers/ni_routes.c:525: warning: Function parameter or member 'tables' not described in 'ni_find_route_source'
In file included from drivers/staging/rtl8723bs/include/drv_types.h:42,
from drivers/staging/rtl8723bs/os_dep/xmit_linux.c:9:
drivers/staging/rtl8723bs/include/rtw_security.h:374:28: warning: 'K' defined but not used [-Wunused-const-variable=]
374 | static const unsigned long K[64] = {
| ^
In file included from drivers/staging/rtl8723bs/include/drv_types.h:25,
from drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c:9:
drivers/staging/rtl8723bs/include/ieee80211.h:746:1: warning: alignment 1 of 'struct ieee80211_assoc_request_frame' is less than 2 [-Wpacked-not-aligned]
746 | } __attribute__ ((packed));
| ^
drivers/staging/rtl8723bs/include/ieee80211.h:753:1: warning: alignment 1 of 'struct ieee80211_assoc_response_frame' is less than 2 [-Wpacked-not-aligned]
753 | } __attribute__ ((packed));
| ^
In file included from drivers/staging/rtl8723bs/include/drv_types.h:42,
from drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c:9:
drivers/staging/rtl8723bs/include/rtw_security.h:374:28: warning: 'K' defined but not used [-Wunused-const-variable=]
374 | static const unsigned long K[64] = {
| ^
drivers/staging/comedi/drivers/ni_tio.c:1515: warning: Function parameter or member 'counter_dev' not described in 'ni_tio_get_routing'
drivers/staging/comedi/drivers/ni_tio.c:1515: warning: Function parameter or member 'dest' not described in 'ni_tio_get_routing'
drivers/staging/comedi/drivers/ni_tio.c:1557: warning: Function parameter or member 'dest' not described in 'ni_tio_set_routing'
drivers/staging/comedi/drivers/ni_tio.c:1557: warning: Function parameter or member 'reg' not described in 'ni_tio_set_routing'
drivers/staging/comedi/drivers/ni_tio.c:1557: warning: Excess function parameter 'destination' description in 'ni_tio_set_routing'
drivers/staging/comedi/drivers/ni_tio.c:1557: warning: Excess function parameter 'register_value' description in 'ni_tio_set_routing'
drivers/staging/comedi/drivers/ni_tio.c:1589: warning: Function parameter or member 'counter_dev' not described in 'ni_tio_unset_routing'
drivers/staging/comedi/drivers/ni_tio.c:1589: warning: Function parameter or member 'dest' not described in 'ni_tio_unset_routing'
drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_threaded_irq_handler':
drivers/iio/adc/twl4030-madc.c:475:9: warning: variable 'len' set but not used [-Wunused-but-set-variable]
475 | int i, len, ret;
| ^~~
drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_conversion':
drivers/iio/adc/twl4030-madc.c:619:18: warning: comparison is always false due to limited range of data type [-Wtype-limits]
619 | if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) {
| ^
drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_preenable':
drivers/iio/adc/ti_am335x_adc.c:297:21: warning: variable 'read' set but not used [-Wunused-but-set-variable]
297 | int i, fifo1count, read;
| ^~~~
drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_predisable':
drivers/iio/adc/ti_am335x_adc.c:346:21: warning: variable 'read' set but not used [-Wunused-but-set-variable]
346 | int fifo1count, i, read;
| ^~~~
drivers/iio/adc/twl6030-gpadc.c:110: warning: Function parameter or member 'ideal' not described in 'twl6030_gpadc_platform_data'
drivers/iio/adc/twl6030-gpadc.c:110: warning: Function parameter or member 'channel_to_reg' not described in 'twl6030_gpadc_platform_data'
drivers/iio/adc/twl4030-madc.c:170: warning: Function parameter or member 'usb3v1' not described in 'twl4030_madc_data'
arch/mips/kernel/head.o: in function `dtb_found':
(.ref.text+0xc8): relocation truncated to fit: R_MIPS_26 against `start_kernel'
init/main.o: in function `set_reset_devices':
main.c:(.init.text+0x20): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x30): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `debug_kernel':
main.c:(.init.text+0x9c): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0xac): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `quiet_kernel':
main.c:(.init.text+0x118): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x128): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `init_setup':
main.c:(.init.text+0x1a4): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x1c8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
main.c:(.init.text+0x1e8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
main.c:(.init.text+0x1fc): additional relocation overflows omitted from the output
mips-linux-ld: drivers/iio/adc/adi-axi-adc.o: in function `adi_axi_adc_probe':
>> adi-axi-adc.c:(.text.adi_axi_adc_probe+0x464): undefined reference to `devm_iio_dmaengine_buffer_alloc'
make[1]: *** [Makefile:1113: vmlinux] Error 1
make[1]: Target '_all' not remade because of errors.
--
arch/mips/kernel/head.o: in function `dtb_found':
(.ref.text+0xc8): relocation truncated to fit: R_MIPS_26 against `start_kernel'
init/main.o: in function `set_reset_devices':
main.c:(.init.text+0x20): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x30): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `debug_kernel':
main.c:(.init.text+0x9c): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0xac): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `quiet_kernel':
main.c:(.init.text+0x118): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x128): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `init_setup':
main.c:(.init.text+0x1a4): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x1c8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
main.c:(.init.text+0x1e8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
main.c:(.init.text+0x1fc): additional relocation overflows omitted from the output
mips-linux-ld: drivers/iio/adc/adi-axi-adc.o: in function `adi_axi_adc_probe':
>> adi-axi-adc.c:(.text.adi_axi_adc_probe+0x464): undefined reference to `devm_iio_dmaengine_buffer_alloc'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months