hppa64-linux-ld: kernel/kexec_core.o(.text+0x3f8): cannot reach raw_copy_from_user
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1d94330a437a573cfdf848f6743b1ed169242c8a
commit: d9d05217cb6990b9a56e13b56e7a1b71e2551f6c io_uring: stop SQPOLL submit on creator's death
date: 7 days ago
config: parisc-randconfig-r016-20210116 (attached as .config)
compiler: hppa64-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d9d05217cb6990b9a56e13b56e7a1b71e2551f6c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
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 >>):
hppa64-linux-ld: kernel/ksysfs.o(.text+0x264): cannot reach sprintf
hppa64-linux-ld: kernel/ksysfs.o(.text+0x2ac): cannot reach sprintf
hppa64-linux-ld: kernel/ksysfs.o(.text+0x37c): cannot reach sprintf
hppa64-linux-ld: kernel/ksysfs.o(.text+0x3dc): cannot reach sprintf
hppa64-linux-ld: kernel/ksysfs.o(.text+0x448): cannot reach profile_init
hppa64-linux-ld: kernel/ksysfs.o(.init.text+0x38): cannot reach kobject_create_and_add
hppa64-linux-ld: kernel/ksysfs.o(.init.text+0xdc): cannot reach kobject_put
hppa64-linux-ld: kernel/time/jiffies.o(.text+0x6c): cannot reach memcpy
hppa64-linux-ld: kernel/time/jiffies.o(.text+0xa0): cannot reach __divdi3
hppa64-linux-ld: kernel/time/jiffies.o(.text+0xbc): cannot reach __divdi3
hppa64-linux-ld: kernel/time/jiffies.o(.text+0xd4): cannot reach __udivdi3
hppa64-linux-ld: kernel/time/jiffies.o(.text+0xfc): cannot reach __udivdi3
hppa64-linux-ld: kernel/futex.o(.text+0x858): cannot reach down_read
hppa64-linux-ld: kernel/futex.o(.text+0xd5c): cannot reach __cmpxchg_u32
hppa64-linux-ld: kernel/futex.o(.text+0x1278): cannot reach __cmpxchg_u64
hppa64-linux-ld: kernel/futex.o(.text+0x1884): cannot reach mutex_lock
hppa64-linux-ld: kernel/futex.o(.text+0x1898): cannot reach mutex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x1c50): cannot reach schedule
hppa64-linux-ld: kernel/futex.o(.text+0x24a8): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x2704): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x28d8): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x2b10): cannot reach rt_mutex_futex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x2f40): cannot reach __rt_mutex_futex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x3048): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x31a8): cannot reach __rt_mutex_futex_trylock
hppa64-linux-ld: kernel/futex.o(.text+0x3440): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x3a24): cannot reach rt_mutex_futex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x3fc0): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x3fd0): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x48c8): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x499c): cannot reach rt_mutex_futex_trylock
hppa64-linux-ld: kernel/futex.o(.text+0x4b54): cannot reach rt_mutex_futex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x51f8): cannot reach _cond_resched
hppa64-linux-ld: kernel/futex.o(.text+0x5660): cannot reach mutex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x56b4): cannot reach mutex_lock
hppa64-linux-ld: kernel/futex.o(.text+0x5704): cannot reach mutex_unlock
hppa64-linux-ld: kernel/futex.o(.text+0x5754): cannot reach mutex_lock
hppa64-linux-ld: kernel/futex.o(.text+0x57a8): cannot reach mutex_unlock
hppa64-linux-ld: fs/notify/fsnotify.o(.init.text+0x3c): cannot reach panic
hppa64-linux-ld: lib/random32.o(.init.text+0x1ec): cannot reach unknown
hppa64-linux-ld: lib/random32.o(.init.text+0x248): cannot reach unknown
hppa64-linux-ld: lib/random32.o(.init.text+0x2a4): cannot reach _cond_resched
hppa64-linux-ld: lib/random32.o(.init.text+0x3a4): cannot reach $$mulI
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x78): cannot reach strlcpy
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x1ec): cannot reach memparse
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x450): cannot reach strcmp
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x470): cannot reach strcmp
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x490): cannot reach mutex_lock
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x530): cannot reach strlcpy
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x59c): cannot reach strlcpy
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x654): cannot reach mutex_unlock
hppa64-linux-ld: kernel/trace/trace_boot.o(.init.text+0x704): cannot reach strlcpy
hppa64-linux-ld: mm/mm_init.o(.init.text+0x2c): cannot reach kobject_create_and_add
hppa64-linux-ld: drivers/tty/tty_io.o(.init.text+0x1c8): cannot reach panic
hppa64-linux-ld: drivers/tty/vt/vt.o(.init.text+0x2a0): cannot reach panic
hppa64-linux-ld: drivers/base/swnode.o(.init.text+0x30): cannot reach kset_create_and_add
hppa64-linux-ld: drivers/parisc/power.o(.exit.text+0x24): cannot reach kthread_stop
hppa64-linux-ld: drivers/parisc/power.o(.exit.text+0x44): cannot reach atomic_notifier_chain_unregister
hppa64-linux-ld: drivers/parisc/power.o(.exit.text+0x54): cannot reach pdc_soft_power_button
hppa64-linux-ld: kernel/params.o(.text+0x48): cannot reach $$mulI
hppa64-linux-ld: kernel/params.o(.text+0x1f8): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x244): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x288): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x2d0): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x318): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x360): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x3a8): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x3f0): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x438): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x480): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0x4c8): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.text+0xb0c): cannot reach sprintf
hppa64-linux-ld: kernel/params.o(.text+0xb64): cannot reach sprintf
hppa64-linux-ld: kernel/params.o(.text+0xbd4): cannot reach mutex_lock
hppa64-linux-ld: kernel/params.o(.text+0xc10): cannot reach mutex_unlock
hppa64-linux-ld: kernel/params.o(.text+0xd74): cannot reach $$mulI
hppa64-linux-ld: kernel/params.o(.text+0xee4): cannot reach strcspn
hppa64-linux-ld: kernel/params.o(.text+0x1004): cannot reach mutex_lock
hppa64-linux-ld: kernel/params.o(.text+0x1064): cannot reach mutex_unlock
hppa64-linux-ld: kernel/params.o(.text+0x11f8): cannot reach skip_spaces
hppa64-linux-ld: kernel/params.o(.text+0x1228): cannot reach next_arg
hppa64-linux-ld: kernel/params.o(.text+0x1250): cannot reach strcmp
hppa64-linux-ld: kernel/params.o(.text+0x12f8): cannot reach mutex_lock
hppa64-linux-ld: kernel/params.o(.text+0x1358): cannot reach mutex_unlock
hppa64-linux-ld: kernel/params.o(.text+0x1470): cannot reach mutex_lock
hppa64-linux-ld: kernel/params.o(.text+0x14b0): cannot reach mutex_unlock
hppa64-linux-ld: kernel/params.o(.text+0x1594): cannot reach scnprintf
hppa64-linux-ld: kernel/params.o(.init.text+0x3c): cannot reach kset_find_obj
hppa64-linux-ld: kernel/params.o(.init.text+0xdc): cannot reach kobject_init_and_add
hppa64-linux-ld: kernel/params.o(.init.text+0xf4): cannot reach kobject_put
hppa64-linux-ld: kernel/params.o(.init.text+0x104): cannot reach kobject_get
hppa64-linux-ld: kernel/params.o(.init.text+0x19c): cannot reach kset_create_and_add
hppa64-linux-ld: kernel/params.o(.init.text+0x298): cannot reach kobject_uevent
hppa64-linux-ld: kernel/params.o(.init.text+0x2ac): cannot reach kobject_put
hppa64-linux-ld: kernel/params.o(.init.text+0x324): cannot reach strchr
hppa64-linux-ld: kernel/params.o(.init.text+0x370): cannot reach strlcpy
hppa64-linux-ld: kernel/params.o(.init.text+0x6ac): cannot reach kobject_uevent
hppa64-linux-ld: kernel/params.o(.init.text+0x6c0): cannot reach kobject_put
hppa64-linux-ld: kernel/ucount.o(.text+0x268): cannot reach __cmpxchg_u32
hppa64-linux-ld: kernel/ucount.o(.text+0x49c): cannot reach __cmpxchg_u32
>> hppa64-linux-ld: kernel/kexec_core.o(.text+0x3f8): cannot reach raw_copy_from_user
hppa64-linux-ld: kernel/kexec_core.o(.text+0xfbc): cannot reach _cond_resched
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1638): cannot reach _cond_resched
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1844): cannot reach _cond_resched
hppa64-linux-ld: kernel/kexec_core.o(.text+0x18dc): cannot reach mutex_trylock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1938): cannot reach mutex_unlock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1a18): cannot reach mutex_lock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1a44): cannot reach mutex_unlock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1c04): cannot reach mutex_lock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1d24): cannot reach mutex_unlock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1f74): cannot reach mutex_trylock
hppa64-linux-ld: kernel/kexec_core.o(.text+0x1ff8): cannot reach mutex_unlock
hppa64-linux-ld: crypto/cryptd.o(.init.text+0x108): cannot reach unknown
hppa64-linux-ld: crypto/cryptd.o(.exit.text+0x24): cannot reach destroy_workqueue
hppa64-linux-ld: crypto/drbg.o(.init.text+0xc4): cannot reach memcpy
hppa64-linux-ld: drivers/input/serio/serio.o(.exit.text+0x38): cannot reach cancel_work_sync
hppa64-linux-ld: drivers/input/gameport/gameport.o(.exit.text+0x38): cannot reach cancel_work_sync
hppa64-linux-ld: drivers/remoteproc/remoteproc_core.o(.exit.text+0x28): cannot reach atomic_notifier_chain_unregister
hppa64-linux-ld: drivers/hwtracing/intel_th/core.o(.text+0x5b4): cannot reach strlen
hppa64-linux-ld: drivers/hwtracing/intel_th/core.o(.text+0x5f4): cannot reach strcpy
hppa64-linux-ld: drivers/nvmem/core.o(.text+0x6ec): cannot reach blocking_notifier_call_chain
hppa64-linux-ld: drivers/nvmem/core.o(.text+0x744): cannot reach blocking_notifier_call_chain
hppa64-linux-ld: drivers/nvmem/core.o(.text+0x8b0): cannot reach blocking_notifier_call_chain
hppa64-linux-ld: drivers/nvmem/core.o(.text+0xd40): cannot reach memset
hppa64-linux-ld: drivers/nvmem/core.o(.text+0x104c): cannot reach blocking_notifier_chain_register
hppa64-linux-ld: drivers/nvmem/core.o(.text+0x108c): cannot reach blocking_notifier_chain_unregister
hppa64-linux-ld: drivers/nvmem/core.o(.text+0x1a24): cannot reach blocking_notifier_call_chain
hppa64-linux-ld: drivers/fpga/fpga-mgr.o(.text+0x510): cannot reach strcpy
hppa64-linux-ld: drivers/fpga/fpga-mgr.o(.text+0x534): cannot reach strcpy
hppa64-linux-ld: drivers/fpga/fpga-mgr.o(.text+0x55c): cannot reach strcpy
hppa64-linux-ld: drivers/fpga/fpga-mgr.o(.text+0x584): cannot reach strcpy
hppa64-linux-ld: drivers/fpga/fpga-mgr.o(.text+0x5b0): cannot reach strcpy
hppa64-linux-ld: drivers/fpga/fpga-mgr.o(.text+0xe20): cannot reach __mutex_init
hppa64-linux-ld: drivers/fpga/fpga-bridge.o(.text+0x788): cannot reach __mutex_init
hppa64-linux-ld: drivers/fpga/fpga-bridge.o(.init.text+0x50): cannot reach unknown
hppa64-linux-ld: drivers/fpga/fpga-region.o(.text+0x344): cannot reach __mutex_init
hppa64-linux-ld: drivers/mux/core.o(.text+0x7bc): cannot reach down_killable
hppa64-linux-ld: drivers/mux/core.o(.text+0x7f4): cannot reach up
hppa64-linux-ld: drivers/mux/core.o(.text+0x850): cannot reach down_trylock
hppa64-linux-ld: drivers/mux/core.o(.text+0x884): cannot reach up
hppa64-linux-ld: drivers/mux/core.o(.text+0x8fc): cannot reach up
hppa64-linux-ld: drivers/most/core.o(.text+0x4ac): cannot reach __wake_up
hppa64-linux-ld: drivers/most/core.o(.text+0x5a8): cannot reach complete
hppa64-linux-ld: drivers/most/core.o(.text+0x788): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0x7ec): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0x804): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xb40): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xb5c): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xb78): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xb94): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xc44): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xc7c): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xcb0): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xce4): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xd1c): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xd3c): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xd4c): cannot reach strlen
hppa64-linux-ld: drivers/most/core.o(.text+0xdb0): cannot reach strcpy
hppa64-linux-ld: drivers/most/core.o(.text+0xde4): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xe18): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xe38): cannot reach strcat
hppa64-linux-ld: drivers/most/core.o(.text+0xe48): cannot reach strlen
hppa64-linux-ld: drivers/most/core.o(.text+0x15e8): cannot reach kthread_should_stop
hppa64-linux-ld: drivers/most/core.o(.text+0x1620): cannot reach init_wait_entry
hppa64-linux-ld: drivers/most/core.o(.text+0x163c): cannot reach prepare_to_wait_event
hppa64-linux-ld: drivers/most/core.o(.text+0x1658): cannot reach kthread_should_stop
hppa64-linux-ld: drivers/most/core.o(.text+0x16ac): cannot reach finish_wait
hppa64-linux-ld: drivers/most/core.o(.text+0x17e4): cannot reach kthread_should_stop
hppa64-linux-ld: drivers/most/core.o(.text+0x1e9c): cannot reach __warn_printk
hppa64-linux-ld: drivers/most/core.o(.text+0x2474): cannot reach __init_waitqueue_head
hppa64-linux-ld: drivers/most/core.o(.text+0x2510): cannot reach kthread_create_on_node
hppa64-linux-ld: drivers/most/core.o(.text+0x2568): cannot reach wake_up_process
hppa64-linux-ld: drivers/most/core.o(.text+0x2760): cannot reach kthread_stop
hppa64-linux-ld: drivers/most/core.o(.text+0x2c6c): cannot reach __init_swait_queue_head
hppa64-linux-ld: drivers/most/core.o(.text+0x2c98): cannot reach __mutex_init
hppa64-linux-ld: drivers/most/core.o(.text+0x2cb4): cannot reach __mutex_init
hppa64-linux-ld: drivers/most/core.o(.text+0x3038): cannot reach __wake_up
hppa64-linux-ld: drivers/watchdog/watchdog_core.o(.init.text+0x4c): cannot reach mutex_lock
hppa64-linux-ld: drivers/watchdog/watchdog_core.o(.init.text+0xbc): cannot reach mutex_unlock
hppa64-linux-ld: fs/notify/inotify/inotify_user.o(.init.text+0x44): cannot reach __udivdi3
hppa64-linux-ld: fs/notify/inotify/inotify_user.o(.init.text+0x5c): cannot reach __udivdi3
hppa64-linux-ld: fs/eventpoll.o(.init.text+0x3c): cannot reach __udivdi3
hppa64-linux-ld: fs/eventpoll.o(.init.text+0x54): cannot reach __udivdi3
hppa64-linux-ld: fs/anon_inodes.o(.init.text+0xb0): cannot reach panic
hppa64-linux-ld: drivers/base/firmware_loader/main.o(.exit.text+0x20): cannot reach unregister_reboot_notifier
hppa64-linux-ld: drivers/powercap/powercap_sys.o(.text+0xf74): cannot reach strlen
hppa64-linux-ld: drivers/powercap/powercap_sys.o(.text+0x1224): cannot reach memset
hppa64-linux-ld: drivers/powercap/powercap_sys.o(.text+0x17f8): cannot reach memset
hppa64-linux-ld: drivers/mcb/mcb-core.o(.text+0xa24): cannot reach __request_region
hppa64-linux-ld: drivers/mcb/mcb-core.o(.text+0xa78): cannot reach __release_region
hppa64-linux-ld: arch/parisc/kernel/time.o(.irqentry.text+0x50): cannot reach legacy_timer_tick
hppa64-linux-ld: arch/parisc/kernel/perf.o(.text+0x984): cannot reach raw_copy_to_user
hppa64-linux-ld: arch/parisc/kernel/perf.o(.text+0xaf4): cannot reach raw_copy_from_user
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x340): cannot reach schedule_timeout_uninterruptible
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x5b0): cannot reach schedule_timeout_uninterruptible
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x868): cannot reach __umoddi3
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x884): cannot reach __udelay
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x8dc): cannot reach __udelay
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x978): cannot reach __umoddi3
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x994): cannot reach __udelay
hppa64-linux-ld: kernel/locking/locktorture.o(.text+0x9ec): cannot reach __udelay
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [RFC PATCH v3 2/6] swiotlb: Add restricted DMA pool
by kernel test robot
Hi Claire,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on powerpc/next]
[also build test ERROR on linus/master v5.11-rc3 next-20210115]
[cannot apply to swiotlb/linux-next robh/for-next xen-tip/linux-next iommu/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Claire-Chang/Restricted-DMA/2021...
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/9c54685703ccb9e53d6a2558cac472b05...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Claire-Chang/Restricted-DMA/20210106-114544
git checkout 9c54685703ccb9e53d6a2558cac472b053fb5470
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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/tty/serial/earlycon.c: In function 'of_setup_earlycon':
>> drivers/tty/serial/earlycon.c:258:9: error: implicit declaration of function 'of_flat_dt_translate_address' [-Werror=implicit-function-declaration]
258 | addr = of_flat_dt_translate_address(node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OF_EARLY_FLATTREE
Depends on OF
Selected by
- SWIOTLB
vim +/of_flat_dt_translate_address +258 drivers/tty/serial/earlycon.c
8477614d9f7c5ce0 Peter Hurley 2016-01-16 245
c90fe9c0394b068c Peter Hurley 2016-01-16 246 int __init of_setup_earlycon(const struct earlycon_id *match,
088da2a17619cf01 Peter Hurley 2016-01-16 247 unsigned long node,
4d118c9a86659085 Peter Hurley 2016-01-16 248 const char *options)
b0b6abd34c1b508d Rob Herring 2014-03-27 249 {
b0b6abd34c1b508d Rob Herring 2014-03-27 250 int err;
b0b6abd34c1b508d Rob Herring 2014-03-27 251 struct uart_port *port = &early_console_dev.port;
088da2a17619cf01 Peter Hurley 2016-01-16 252 const __be32 *val;
088da2a17619cf01 Peter Hurley 2016-01-16 253 bool big_endian;
c90fe9c0394b068c Peter Hurley 2016-01-16 254 u64 addr;
b0b6abd34c1b508d Rob Herring 2014-03-27 255
e1dd3bef6d03c908 Geert Uytterhoeven 2015-11-27 256 spin_lock_init(&port->lock);
b0b6abd34c1b508d Rob Herring 2014-03-27 257 port->iotype = UPIO_MEM;
c90fe9c0394b068c Peter Hurley 2016-01-16 @258 addr = of_flat_dt_translate_address(node);
c90fe9c0394b068c Peter Hurley 2016-01-16 259 if (addr == OF_BAD_ADDR) {
c90fe9c0394b068c Peter Hurley 2016-01-16 260 pr_warn("[%s] bad address\n", match->name);
c90fe9c0394b068c Peter Hurley 2016-01-16 261 return -ENXIO;
c90fe9c0394b068c Peter Hurley 2016-01-16 262 }
b0b6abd34c1b508d Rob Herring 2014-03-27 263 port->mapbase = addr;
b0b6abd34c1b508d Rob Herring 2014-03-27 264
088da2a17619cf01 Peter Hurley 2016-01-16 265 val = of_get_flat_dt_prop(node, "reg-offset", NULL);
088da2a17619cf01 Peter Hurley 2016-01-16 266 if (val)
088da2a17619cf01 Peter Hurley 2016-01-16 267 port->mapbase += be32_to_cpu(*val);
1f66dd36bb184373 Greentime Hu 2018-02-13 268 port->membase = earlycon_map(port->mapbase, SZ_4K);
1f66dd36bb184373 Greentime Hu 2018-02-13 269
088da2a17619cf01 Peter Hurley 2016-01-16 270 val = of_get_flat_dt_prop(node, "reg-shift", NULL);
088da2a17619cf01 Peter Hurley 2016-01-16 271 if (val)
088da2a17619cf01 Peter Hurley 2016-01-16 272 port->regshift = be32_to_cpu(*val);
088da2a17619cf01 Peter Hurley 2016-01-16 273 big_endian = of_get_flat_dt_prop(node, "big-endian", NULL) != NULL ||
088da2a17619cf01 Peter Hurley 2016-01-16 274 (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) &&
088da2a17619cf01 Peter Hurley 2016-01-16 275 of_get_flat_dt_prop(node, "native-endian", NULL) != NULL);
088da2a17619cf01 Peter Hurley 2016-01-16 276 val = of_get_flat_dt_prop(node, "reg-io-width", NULL);
088da2a17619cf01 Peter Hurley 2016-01-16 277 if (val) {
088da2a17619cf01 Peter Hurley 2016-01-16 278 switch (be32_to_cpu(*val)) {
088da2a17619cf01 Peter Hurley 2016-01-16 279 case 1:
088da2a17619cf01 Peter Hurley 2016-01-16 280 port->iotype = UPIO_MEM;
088da2a17619cf01 Peter Hurley 2016-01-16 281 break;
088da2a17619cf01 Peter Hurley 2016-01-16 282 case 2:
088da2a17619cf01 Peter Hurley 2016-01-16 283 port->iotype = UPIO_MEM16;
088da2a17619cf01 Peter Hurley 2016-01-16 284 break;
088da2a17619cf01 Peter Hurley 2016-01-16 285 case 4:
088da2a17619cf01 Peter Hurley 2016-01-16 286 port->iotype = (big_endian) ? UPIO_MEM32BE : UPIO_MEM32;
088da2a17619cf01 Peter Hurley 2016-01-16 287 break;
088da2a17619cf01 Peter Hurley 2016-01-16 288 default:
088da2a17619cf01 Peter Hurley 2016-01-16 289 pr_warn("[%s] unsupported reg-io-width\n", match->name);
088da2a17619cf01 Peter Hurley 2016-01-16 290 return -EINVAL;
088da2a17619cf01 Peter Hurley 2016-01-16 291 }
088da2a17619cf01 Peter Hurley 2016-01-16 292 }
088da2a17619cf01 Peter Hurley 2016-01-16 293
31cb9a8575ca04f4 Eugeniy Paltsev 2017-08-21 294 val = of_get_flat_dt_prop(node, "current-speed", NULL);
31cb9a8575ca04f4 Eugeniy Paltsev 2017-08-21 295 if (val)
31cb9a8575ca04f4 Eugeniy Paltsev 2017-08-21 296 early_console_dev.baud = be32_to_cpu(*val);
31cb9a8575ca04f4 Eugeniy Paltsev 2017-08-21 297
814453adea7d081a Michal Simek 2018-04-10 298 val = of_get_flat_dt_prop(node, "clock-frequency", NULL);
814453adea7d081a Michal Simek 2018-04-10 299 if (val)
814453adea7d081a Michal Simek 2018-04-10 300 port->uartclk = be32_to_cpu(*val);
814453adea7d081a Michal Simek 2018-04-10 301
4d118c9a86659085 Peter Hurley 2016-01-16 302 if (options) {
31cb9a8575ca04f4 Eugeniy Paltsev 2017-08-21 303 early_console_dev.baud = simple_strtoul(options, NULL, 0);
4d118c9a86659085 Peter Hurley 2016-01-16 304 strlcpy(early_console_dev.options, options,
4d118c9a86659085 Peter Hurley 2016-01-16 305 sizeof(early_console_dev.options));
4d118c9a86659085 Peter Hurley 2016-01-16 306 }
05d961320ba624c9 Peter Hurley 2016-01-16 307 earlycon_init(&early_console_dev, match->name);
4d118c9a86659085 Peter Hurley 2016-01-16 308 err = match->setup(&early_console_dev, options);
f28295cc8ce14b7a Hsin-Yi Wang 2020-09-15 309 earlycon_print_info(&early_console_dev);
b0b6abd34c1b508d Rob Herring 2014-03-27 310 if (err < 0)
b0b6abd34c1b508d Rob Herring 2014-03-27 311 return err;
b0b6abd34c1b508d Rob Herring 2014-03-27 312 if (!early_console_dev.con->write)
b0b6abd34c1b508d Rob Herring 2014-03-27 313 return -ENODEV;
b0b6abd34c1b508d Rob Herring 2014-03-27 314
b0b6abd34c1b508d Rob Herring 2014-03-27 315
b0b6abd34c1b508d Rob Herring 2014-03-27 316 register_console(early_console_dev.con);
b0b6abd34c1b508d Rob Herring 2014-03-27 317 return 0;
b0b6abd34c1b508d Rob Herring 2014-03-27 318 }
8477614d9f7c5ce0 Peter Hurley 2016-01-16 319
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
hppa64-linux-ld: mm/hugetlb.o(.text+0x54c4): cannot reach down_read
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1d94330a437a573cfdf848f6743b1ed169242c8a
commit: c0d0381ade79885c04a04c303284b040616b116e hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronization
date: 10 months ago
config: parisc-randconfig-r032-20210116 (attached as .config)
compiler: hppa64-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c0d0381ade79885c04a04c303284b040616b116e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
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 >>):
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x298): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x2cc): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x304): cannot reach cpumask_next
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x340): cannot reach memset
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x1008): cannot reach __muldi3
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x1028): cannot reach __udivdi3
hppa64-linux-ld: mm/page_alloc.o(.init.text+0x1104): cannot reach __udivdi3
hppa64-linux-ld: mm/page_alloc.o(.ref.text+0x68): cannot reach unknown
hppa64-linux-ld: mm/page_alloc.o(.ref.text+0x90): cannot reach unknown
hppa64-linux-ld: mm/page_alloc.o(.ref.text+0xe0): cannot reach printk
hppa64-linux-ld: mm/page_alloc.o(.ref.text+0x108): cannot reach unknown
hppa64-linux-ld: mm/page_alloc.o(.ref.text+0x11c): cannot reach unknown
hppa64-linux-ld: mm/memblock.o(.meminit.text+0x1e0): cannot reach memmove
hppa64-linux-ld: mm/memblock.o(.meminit.text+0x314): cannot reach memmove
hppa64-linux-ld: mm/memblock.o(.meminit.text+0x428): cannot reach memmove
hppa64-linux-ld: mm/memblock.o(.meminit.text+0xfac): cannot reach memcpy
hppa64-linux-ld: mm/memblock.o(.meminit.text+0xfd0): cannot reach memset
hppa64-linux-ld: mm/memblock.o(.init.text+0x24): cannot reach strstr
hppa64-linux-ld: mm/memblock.o(.init.text+0x118): cannot reach dump_stack
hppa64-linux-ld: mm/memblock.o(.init.text+0x674): cannot reach memset
hppa64-linux-ld: mm/hugetlb.o(.text+0x524): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x5c4): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x6a4): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x758): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x868): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8f0): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x930): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x964): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x9c8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0xb08): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0xb50): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0xcd4): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0xcf0): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0xd10): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0xd30): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0xe90): cannot reach sprintf
hppa64-linux-ld: mm/hugetlb.o(.text+0xef8): cannot reach sprintf
hppa64-linux-ld: mm/hugetlb.o(.text+0xf68): cannot reach sprintf
hppa64-linux-ld: mm/hugetlb.o(.text+0xfd0): cannot reach sprintf
hppa64-linux-ld: mm/hugetlb.o(.text+0x1070): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x1088): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x1114): cannot reach __next_node_in
hppa64-linux-ld: mm/hugetlb.o(.text+0x114c): cannot reach __next_node_in
hppa64-linux-ld: mm/hugetlb.o(.text+0x1418): cannot reach sprintf
hppa64-linux-ld: mm/hugetlb.o(.text+0x1a18): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x1a40): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x21f0): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x22c0): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2310): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x234c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2408): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x25bc): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x25dc): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2614): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2658): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2698): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2798): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x27b8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2874): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x28ec): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x292c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2a58): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2b40): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2ba0): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2bc8): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2bec): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2c30): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2c80): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2cac): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2e84): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x2f78): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x3124): cannot reach __xchg64
hppa64-linux-ld: mm/hugetlb.o(.text+0x3298): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x32c8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x331c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x37b8): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x3818): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x3b88): cannot reach down_write
hppa64-linux-ld: mm/hugetlb.o(.text+0x4114): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x433c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4504): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x452c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x45b8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x463c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4688): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x46f8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4874): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x48e0): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x496c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4a68): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4b20): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4b78): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4c34): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x4d34): cannot reach __muldi3
hppa64-linux-ld: mm/hugetlb.o(.text+0x4e68): cannot reach sprintf
hppa64-linux-ld: mm/hugetlb.o(.text+0x501c): cannot reach __muldi3
hppa64-linux-ld: mm/hugetlb.o(.text+0x51a8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x51bc): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x5238): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x524c): cannot reach _raw_spin_lock
>> hppa64-linux-ld: mm/hugetlb.o(.text+0x54c4): cannot reach down_read
hppa64-linux-ld: mm/hugetlb.o(.text+0x56f8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x573c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x5890): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x59e4): cannot reach _raw_spin_lock_irqsave
hppa64-linux-ld: mm/hugetlb.o(.text+0x5a44): cannot reach _raw_spin_unlock_irqrestore
hppa64-linux-ld: mm/hugetlb.o(.text+0x5a64): cannot reach _raw_spin_lock_irqsave
hppa64-linux-ld: mm/hugetlb.o(.text+0x5a84): cannot reach _raw_spin_unlock_irqrestore
hppa64-linux-ld: mm/hugetlb.o(.text+0x5dac): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x5e30): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x5f98): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x60ac): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x62a8): cannot reach down_write
hppa64-linux-ld: mm/hugetlb.o(.text+0x632c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x64fc): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x652c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x680c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x682c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x683c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x686c): cannot reach ___ratelimit
hppa64-linux-ld: mm/hugetlb.o(.text+0x68ec): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x6ad8): cannot reach mutex_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x6b20): cannot reach down_read
hppa64-linux-ld: mm/hugetlb.o(.text+0x6b34): cannot reach mutex_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x6c48): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x6e3c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x71f4): cannot reach down_read
hppa64-linux-ld: mm/hugetlb.o(.text+0x735c): cannot reach mutex_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7390): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x75c8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7678): cannot reach mutex_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x76f8): cannot reach mutex_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7814): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7840): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7860): cannot reach mutex_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7a10): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7af4): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7be0): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7d88): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7e14): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7f74): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7f90): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x7fc0): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8148): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8220): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8410): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x84b8): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x84fc): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8680): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8740): cannot reach down_write
hppa64-linux-ld: mm/hugetlb.o(.text+0x8774): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x87c4): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8bd8): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8bf4): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8c10): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8c30): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8cf0): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8d18): cannot reach __muldi3
hppa64-linux-ld: mm/hugetlb.o(.text+0x8d38): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8eec): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8f1c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x8f4c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x9164): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x91ac): cannot reach __cmpxchg_u32
hppa64-linux-ld: mm/hugetlb.o(.text+0x9258): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x92cc): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x93d4): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.text+0x951c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.text+0x952c): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.init.text+0x20): cannot reach memparse
hppa64-linux-ld: mm/hugetlb.o(.init.text+0x3e4): cannot reach sscanf
hppa64-linux-ld: mm/hugetlb.o(.init.text+0x5a0): cannot reach snprintf
hppa64-linux-ld: mm/hugetlb.o(.init.text+0x90c): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/hugetlb.o(.init.text+0x938): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/hugetlb.o(.init.text+0xa4c): cannot reach kobject_create_and_add
hppa64-linux-ld: mm/hugetlb.o(.init.text+0xb40): cannot reach kobject_create_and_add
hppa64-linux-ld: mm/hugetlb.o(.init.text+0xb78): cannot reach kobject_put
hppa64-linux-ld: mm/hugetlb.o(.init.text+0xc60): cannot reach __muldi3
hppa64-linux-ld: mm/slab.o(.text+0x488): cannot reach __udivdi3
hppa64-linux-ld: mm/slab.o(.text+0x4a4): cannot reach __umoddi3
hppa64-linux-ld: mm/slab.o(.text+0x524): cannot reach __udivdi3
hppa64-linux-ld: mm/slab.o(.text+0x668): cannot reach cpumask_next
hppa64-linux-ld: mm/slab.o(.text+0x798): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/slab.o(.text+0x858): cannot reach $$mulI
hppa64-linux-ld: mm/slab.o(.text+0x950): cannot reach memcpy
hppa64-linux-ld: mm/slab.o(.text+0x984): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/slab.o(.text+0xb00): cannot reach __muldi3
hppa64-linux-ld: mm/slab.o(.text+0xbe8): cannot reach $$mulI
hppa64-linux-ld: mm/slab.o(.text+0xc24): cannot reach $$mulI
hppa64-linux-ld: mm/slab.o(.text+0xce8): cannot reach $$mulI
hppa64-linux-ld: mm/slab.o(.text+0xd28): cannot reach _raw_spin_lock
hppa64-linux-ld: mm/slab.o(.text+0xd90): cannot reach _raw_spin_unlock
hppa64-linux-ld: mm/slab.o(.text+0xf54): cannot reach memset
hppa64-linux-ld: mm/slab.o(.text+0x1058): cannot reach dump_stack
hppa64-linux-ld: mm/slab.o(.text+0x11cc): cannot reach __muldi3
hppa64-linux-ld: mm/slab.o(.text+0x13f4): cannot reach memmove
hppa64-linux-ld: mm/slab.o(.text+0x1468): cannot reach _raw_spin_lock_irq
hppa64-linux-ld: mm/slab.o(.text+0x149c): cannot reach $$mulI
hppa64-linux-ld: mm/slab.o(.text+0x14b8): cannot reach _raw_spin_unlock_irq
hppa64-linux-ld: mm/slab.o(.text+0x15e0): cannot reach __umoddi3
hppa64-linux-ld: mm/slab.o(.text+0x1618): cannot reach $$mulI
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:122:31: warning: shift count >= width of type
by kernel test robot
Hi Léo,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1d94330a437a573cfdf848f6743b1ed169242c8a
commit: 9b22fece786ed641909988da4810bfa8e5d2e592 atlantic: remove architecture depends
date: 3 weeks ago
config: mips-randconfig-r011-20210116 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d7bc3b7ce23b664d6620cdc32370a8614523ca2f)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9b22fece786ed641909988da4810bfa8e5d2e592
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13:
In file included from drivers/net/ethernet/aquantia/atlantic/aq_main.h:12:
In file included from drivers/net/ethernet/aquantia/atlantic/aq_common.h:13:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:28:
In file included from include/net/checksum.h:22:
arch/mips/include/asm/checksum.h:161:9: error: unsupported inline asm: input with type 'unsigned long' matching output with type '__wsum' (aka 'unsigned int')
: "0" ((__force unsigned long)daddr),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:122:31: warning: shift count >= width of type [-Wshift-count-overflow]
err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:124:43: warning: shift count >= width of type [-Wshift-count-overflow]
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
2 warnings and 1 error generated.
--
In file included from drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10:
In file included from drivers/net/ethernet/aquantia/atlantic/aq_ring.h:13:
In file included from drivers/net/ethernet/aquantia/atlantic/aq_common.h:13:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:28:
In file included from include/net/checksum.h:22:
arch/mips/include/asm/checksum.h:161:9: error: unsupported inline asm: input with type 'unsigned long' matching output with type '__wsum' (aka 'unsigned int')
: "0" ((__force unsigned long)daddr),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/aquantia/atlantic/aq_ring.c:80:21: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
aq_free_rxpage(&rxbuf->rxdata,
^~~~~~~~~~~~~
drivers/net/ethernet/aquantia/atlantic/aq_ring.c:95:24: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
ret = aq_get_rxpage(&rxbuf->rxdata, order,
^~~~~~~~~~~~~
drivers/net/ethernet/aquantia/atlantic/aq_ring.c:427:23: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
aq_buf_vaddr(&buff->rxdata),
^~~~~~~~~~~~
drivers/net/ethernet/aquantia/atlantic/aq_ring.c:433:23: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
aq_buf_vaddr(&buff->rxdata),
^~~~~~~~~~~~
drivers/net/ethernet/aquantia/atlantic/aq_ring.c:436:49: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
memcpy(__skb_put(skb, hdr_len), aq_buf_vaddr(&buff->rxdata),
^~~~~~~~~~~~
drivers/net/ethernet/aquantia/atlantic/aq_ring.c:543:28: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
buff->pa = aq_buf_daddr(&buff->rxdata);
^~~~~~~~~~~~
drivers/net/ethernet/aquantia/atlantic/aq_ring.c:560:19: warning: taking address of packed member '' of class or structure 'aq_ring_buff_s' may result in an unaligned pointer value [-Waddress-of-packed-member]
aq_free_rxpage(&buff->rxdata, aq_nic_get_dev(self->aq_nic));
^~~~~~~~~~~~
7 warnings and 1 error generated.
--
In file included from drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:10:
In file included from drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15:
In file included from drivers/net/ethernet/aquantia/atlantic/aq_common.h:13:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:28:
In file included from include/net/checksum.h:22:
arch/mips/include/asm/checksum.h:161:9: error: unsupported inline asm: input with type 'unsigned long' matching output with type '__wsum' (aka 'unsigned int')
: "0" ((__force unsigned long)daddr),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:1323:7: warning: taking address of packed member 'ns_mac' of class or structure 'hw_fw_request_ptp_adj_freq' may result in an unaligned pointer value [-Waddress-of-packed-member]
&fwreq.ptp_adj_freq.ns_mac,
^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:1324:7: warning: taking address of packed member 'fns_mac' of class or structure 'hw_fw_request_ptp_adj_freq' may result in an unaligned pointer value [-Waddress-of-packed-member]
&fwreq.ptp_adj_freq.fns_mac);
^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:1326:7: warning: taking address of packed member 'ns_phy' of class or structure 'hw_fw_request_ptp_adj_freq' may result in an unaligned pointer value [-Waddress-of-packed-member]
&fwreq.ptp_adj_freq.ns_phy,
^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:1327:7: warning: taking address of packed member 'fns_phy' of class or structure 'hw_fw_request_ptp_adj_freq' may result in an unaligned pointer value [-Waddress-of-packed-member]
&fwreq.ptp_adj_freq.fns_phy);
^~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings and 1 error generated.
vim +122 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c
5b97b0d10eddeeec Igor Russkikh 2018-01-15 117
ab3518acac42751f Mark Starovoytov 2020-06-26 118 static int aq_pci_func_init(struct pci_dev *pdev)
a4d36e20d035140b David VomLehn 2017-01-23 119 {
a26b0b53cc38eb41 Colin Ian King 2018-10-08 120 int err;
a4d36e20d035140b David VomLehn 2017-01-23 121
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 @122 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
b3f0c79cba2060c1 Igor Russkikh 2020-04-30 123 if (!err)
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 124 err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
a4d36e20d035140b David VomLehn 2017-01-23 125 if (err) {
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 126 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
a4d36e20d035140b David VomLehn 2017-01-23 127 if (!err)
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 128 err = pci_set_consistent_dma_mask(pdev,
a4d36e20d035140b David VomLehn 2017-01-23 129 DMA_BIT_MASK(32));
a4d36e20d035140b David VomLehn 2017-01-23 130 }
a4d36e20d035140b David VomLehn 2017-01-23 131 if (err != 0) {
a4d36e20d035140b David VomLehn 2017-01-23 132 err = -ENOSR;
a4d36e20d035140b David VomLehn 2017-01-23 133 goto err_exit;
a4d36e20d035140b David VomLehn 2017-01-23 134 }
a4d36e20d035140b David VomLehn 2017-01-23 135
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 136 err = pci_request_regions(pdev, AQ_CFG_DRV_NAME "_mmio");
a4d36e20d035140b David VomLehn 2017-01-23 137 if (err < 0)
a4d36e20d035140b David VomLehn 2017-01-23 138 goto err_exit;
a4d36e20d035140b David VomLehn 2017-01-23 139
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 140 pci_set_master(pdev);
a4d36e20d035140b David VomLehn 2017-01-23 141
23ee07ad3c2fd5ad Igor Russkikh 2018-01-19 142 return 0;
a4d36e20d035140b David VomLehn 2017-01-23 143
a4d36e20d035140b David VomLehn 2017-01-23 144 err_exit:
a4d36e20d035140b David VomLehn 2017-01-23 145 return err;
a4d36e20d035140b David VomLehn 2017-01-23 146 }
a4d36e20d035140b David VomLehn 2017-01-23 147
:::::: The code at line 122 was first introduced by commit
:::::: 23ee07ad3c2fd5adf6e9ef21afb9aec489dc3b4e net: aquantia: Cleanup pci functions module
:::::: TO: Igor Russkikh <igor.russkikh(a)aquantia.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH v2 3/3] drm/bridge/lontium-lt9611uxc: move HPD notification out of IRQ handler
by kernel test robot
Hi Dmitry,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master v5.11-rc3 next-20210115]
[cannot apply to drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Dmitry-Baryshkov/drm-bridge-lont...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a004-20210116 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d7bc3b7ce23b664d6620cdc32370a8614523ca2f)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/cfb7e9605e8955217dcee379ef7cd41eb...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Dmitry-Baryshkov/drm-bridge-lontium-lt9611uxc-fix-handling-of-EDID-HPD/20210116-184620
git checkout cfb7e9605e8955217dcee379ef7cd41ebc1d0fad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/gpu/drm/bridge/lontium-lt9611uxc.c:164:6: warning: no previous prototype for function 'lt9611uxc_hpd_work' [-Wmissing-prototypes]
void lt9611uxc_hpd_work(struct work_struct *work)
^
drivers/gpu/drm/bridge/lontium-lt9611uxc.c:164:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void lt9611uxc_hpd_work(struct work_struct *work)
^
static
1 warning generated.
vim +/lt9611uxc_hpd_work +164 drivers/gpu/drm/bridge/lontium-lt9611uxc.c
163
> 164 void lt9611uxc_hpd_work(struct work_struct *work)
165 {
166 struct lt9611uxc *lt9611uxc = container_of(work, struct lt9611uxc, work);
167
168 if (lt9611uxc->connector.dev)
169 drm_kms_helper_hotplug_event(lt9611uxc->connector.dev);
170 else
171 drm_bridge_hpd_notify(<9611uxc->bridge,
172 lt9611uxc->hdmi_connected ?
173 connector_status_connected :
174 connector_status_disconnected);
175 }
176
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1d94330a437a573cfdf848f6743b1ed169242c8a
commit: cd1a677cad994021b19665ed476aea63f5d54f31 libceph, ceph: implement msgr2.1 protocol (crc and secure modes)
date: 5 weeks ago
config: mips-randconfig-r011-20210116 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d7bc3b7ce23b664d6620cdc32370a8614523ca2f)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cd1a677cad994021b19665ed476aea63f5d54f31
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 warnings (new ones prefixed by >>):
In file included from net/ceph/decode.c:4:
In file included from include/linux/inet.h:42:
In file included from include/net/net_namespace.h:39:
In file included from include/linux/skbuff.h:28:
In file included from include/net/checksum.h:22:
arch/mips/include/asm/checksum.h:161:9: error: unsupported inline asm: input with type 'unsigned long' matching output with type '__wsum' (aka 'unsigned int')
: "0" ((__force unsigned long)daddr),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from net/ceph/decode.c:6:
include/linux/ceph/decode.h:236:33: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
__be16 ss_family = *(__be16 *)&a->in_addr.ss_family;
^~~~~~~~~~~~~~~~~~~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:13:52: note: expanded from macro '__get_unaligned_le'
#define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:14:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 1, *(ptr), \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:14:47: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 1, *(ptr), \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:15:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 2, get_unaligned_le16((ptr)), \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:16:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_le32((ptr)), \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:16:65: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_le32((ptr)), \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:17:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 8, get_unaligned_le64((ptr)), \
^~~
>> net/ceph/decode.c:164:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:17:65: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 8, get_unaligned_le64((ptr)), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:13:52: note: expanded from macro '__get_unaligned_le'
#define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:14:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 1, *(ptr), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:14:47: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 1, *(ptr), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:15:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 2, get_unaligned_le16((ptr)), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:16:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_le32((ptr)), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:16:65: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_le32((ptr)), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:17:33: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 8, get_unaligned_le64((ptr)), \
^~~
net/ceph/decode.c:172:38: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
^~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/unaligned.h:22:24: note: expanded from macro 'get_unaligned'
# define get_unaligned __get_unaligned_le
^
include/linux/unaligned/generic.h:17:65: note: expanded from macro '__get_unaligned_le'
__builtin_choose_expr(sizeof(*(ptr)) == 8, get_unaligned_le64((ptr)), \
^~~
17 warnings and 1 error generated.
--
In file included from net/ceph/messenger_v2.c:20:
In file included from include/net/sock.h:46:
In file included from include/linux/netdevice.h:37:
In file included from include/linux/ethtool.h:18:
In file included from include/uapi/linux/ethtool.h:19:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:28:
In file included from include/net/checksum.h:22:
arch/mips/include/asm/checksum.h:161:9: error: unsupported inline asm: input with type 'unsigned long' matching output with type '__wsum' (aka 'unsigned int')
: "0" ((__force unsigned long)daddr),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from net/ceph/messenger_v2.c:20:
In file included from include/net/sock.h:61:
include/linux/poll.h:142:27: warning: division by zero is undefined [-Wdivision-by-zero]
M(RDNORM) | M(RDBAND) | M(WRNORM) | M(WRBAND) |
^~~~~~~~~
include/linux/poll.h:140:32: note: expanded from macro 'M'
#define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/poll.h:126:51: note: expanded from macro '__MAP'
(from < to ? (v & from) * (to/from) : (v & from) / (from/to))
^ ~~~~~~~~~
include/linux/poll.h:142:39: warning: division by zero is undefined [-Wdivision-by-zero]
M(RDNORM) | M(RDBAND) | M(WRNORM) | M(WRBAND) |
^~~~~~~~~
include/linux/poll.h:140:32: note: expanded from macro 'M'
#define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/poll.h:126:51: note: expanded from macro '__MAP'
(from < to ? (v & from) * (to/from) : (v & from) / (from/to))
^ ~~~~~~~~~
In file included from net/ceph/messenger_v2.c:24:
include/linux/ceph/decode.h:236:33: warning: taking address of packed member 'in_addr' of class or structure 'ceph_entity_addr' may result in an unaligned pointer value [-Waddress-of-packed-member]
__be16 ss_family = *(__be16 *)&a->in_addr.ss_family;
^~~~~~~~~~~~~~~~~~~~
>> net/ceph/messenger_v2.c:557:16: warning: taking address of packed member 'front_crc' of class or structure 'ceph_connection_v2_info::(anonymous struct)::(anonymous union)::(anonymous)' may result in an unaligned pointer value [-Waddress-of-packed-member]
cpu_to_le32s(&con->v2.out_epil.front_crc);
^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/byteorder/generic.h:112:22: note: expanded from macro 'cpu_to_le32s'
#define cpu_to_le32s __cpu_to_le32s
^
include/uapi/linux/byteorder/little_endian.h:94:39: note: expanded from macro '__cpu_to_le32s'
#define __cpu_to_le32s(x) do { (void)(x); } while (0)
^
>> net/ceph/messenger_v2.c:558:16: warning: taking address of packed member 'middle_crc' of class or structure 'ceph_connection_v2_info::(anonymous struct)::(anonymous union)::(anonymous)' may result in an unaligned pointer value [-Waddress-of-packed-member]
cpu_to_le32s(&con->v2.out_epil.middle_crc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/byteorder/generic.h:112:22: note: expanded from macro 'cpu_to_le32s'
#define cpu_to_le32s __cpu_to_le32s
^
include/uapi/linux/byteorder/little_endian.h:94:39: note: expanded from macro '__cpu_to_le32s'
#define __cpu_to_le32s(x) do { (void)(x); } while (0)
^
>> net/ceph/messenger_v2.c:559:16: warning: taking address of packed member 'data_crc' of class or structure 'ceph_connection_v2_info::(anonymous struct)::(anonymous union)::(anonymous)' may result in an unaligned pointer value [-Waddress-of-packed-member]
cpu_to_le32s(&con->v2.out_epil.data_crc);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/byteorder/generic.h:112:22: note: expanded from macro 'cpu_to_le32s'
#define cpu_to_le32s __cpu_to_le32s
^
include/uapi/linux/byteorder/little_endian.h:94:39: note: expanded from macro '__cpu_to_le32s'
#define __cpu_to_le32s(x) do { (void)(x); } while (0)
^
6 warnings and 1 error generated.
vim +164 net/ceph/decode.c
5
> 6 #include <linux/ceph/decode.h>
7
8 static int
9 ceph_decode_entity_addr_versioned(void **p, void *end,
10 struct ceph_entity_addr *addr)
11 {
12 int ret;
13 u8 struct_v;
14 u32 struct_len, addr_len;
15 void *struct_end;
16
17 ret = ceph_start_decoding(p, end, 1, "entity_addr_t", &struct_v,
18 &struct_len);
19 if (ret)
20 goto bad;
21
22 ret = -EINVAL;
23 struct_end = *p + struct_len;
24
25 ceph_decode_copy_safe(p, end, &addr->type, sizeof(addr->type), bad);
26
27 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad);
28
29 ceph_decode_32_safe(p, end, addr_len, bad);
30 if (addr_len > sizeof(addr->in_addr))
31 goto bad;
32
33 memset(&addr->in_addr, 0, sizeof(addr->in_addr));
34 if (addr_len) {
35 ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad);
36
37 addr->in_addr.ss_family =
38 le16_to_cpu((__force __le16)addr->in_addr.ss_family);
39 }
40
41 /* Advance past anything the client doesn't yet understand */
42 *p = struct_end;
43 ret = 0;
44 bad:
45 return ret;
46 }
47
48 static int
49 ceph_decode_entity_addr_legacy(void **p, void *end,
50 struct ceph_entity_addr *addr)
51 {
52 int ret = -EINVAL;
53
54 /* Skip rest of type field */
55 ceph_decode_skip_n(p, end, 3, bad);
56
57 /*
58 * Clients that don't support ADDR2 always send TYPE_NONE, change it
59 * to TYPE_LEGACY for forward compatibility.
60 */
61 addr->type = CEPH_ENTITY_ADDR_TYPE_LEGACY;
62 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad);
63 memset(&addr->in_addr, 0, sizeof(addr->in_addr));
64 ceph_decode_copy_safe(p, end, &addr->in_addr,
65 sizeof(addr->in_addr), bad);
66 addr->in_addr.ss_family =
67 be16_to_cpu((__force __be16)addr->in_addr.ss_family);
68 ret = 0;
69 bad:
70 return ret;
71 }
72
73 int
74 ceph_decode_entity_addr(void **p, void *end, struct ceph_entity_addr *addr)
75 {
76 u8 marker;
77
78 ceph_decode_8_safe(p, end, marker, bad);
79 if (marker == 1)
80 return ceph_decode_entity_addr_versioned(p, end, addr);
81 else if (marker == 0)
82 return ceph_decode_entity_addr_legacy(p, end, addr);
83 bad:
84 return -EINVAL;
85 }
86 EXPORT_SYMBOL(ceph_decode_entity_addr);
87
88 /*
89 * Return addr of desired type (MSGR2 or LEGACY) or error.
90 * Make sure there is only one match.
91 *
92 * Assume encoding with MSG_ADDR2.
93 */
94 int ceph_decode_entity_addrvec(void **p, void *end, bool msgr2,
95 struct ceph_entity_addr *addr)
96 {
97 __le32 my_type = msgr2 ? CEPH_ENTITY_ADDR_TYPE_MSGR2 :
98 CEPH_ENTITY_ADDR_TYPE_LEGACY;
99 struct ceph_entity_addr tmp_addr;
100 int addr_cnt;
101 bool found;
102 u8 marker;
103 int ret;
104 int i;
105
106 ceph_decode_8_safe(p, end, marker, e_inval);
107 if (marker != 2) {
108 pr_err("bad addrvec marker %d\n", marker);
109 return -EINVAL;
110 }
111
112 ceph_decode_32_safe(p, end, addr_cnt, e_inval);
113
114 found = false;
115 for (i = 0; i < addr_cnt; i++) {
116 ret = ceph_decode_entity_addr(p, end, &tmp_addr);
117 if (ret)
118 return ret;
119
120 if (tmp_addr.type == my_type) {
121 if (found) {
122 pr_err("another match of type %d in addrvec\n",
123 le32_to_cpu(my_type));
124 return -EINVAL;
125 }
126
127 memcpy(addr, &tmp_addr, sizeof(*addr));
128 found = true;
129 }
130 }
131 if (!found && addr_cnt != 0) {
132 pr_err("no match of type %d in addrvec\n",
133 le32_to_cpu(my_type));
134 return -ENOENT;
135 }
136
137 return 0;
138
139 e_inval:
140 return -EINVAL;
141 }
142 EXPORT_SYMBOL(ceph_decode_entity_addrvec);
143
144 static int get_sockaddr_encoding_len(sa_family_t family)
145 {
146 union {
147 struct sockaddr sa;
148 struct sockaddr_in sin;
149 struct sockaddr_in6 sin6;
150 } u;
151
152 switch (family) {
153 case AF_INET:
154 return sizeof(u.sin);
155 case AF_INET6:
156 return sizeof(u.sin6);
157 default:
158 return sizeof(u);
159 }
160 }
161
162 int ceph_entity_addr_encoding_len(const struct ceph_entity_addr *addr)
163 {
> 164 sa_family_t family = get_unaligned(&addr->in_addr.ss_family);
165 int addr_len = get_sockaddr_encoding_len(family);
166
167 return 1 + CEPH_ENCODING_START_BLK_LEN + 4 + 4 + 4 + addr_len;
168 }
169
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
[ext3:fast_track 2/2] fs/udf/super.c:716:64: error: expected ';' before ')' token
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fast_track
head: 661b79d6d9f8cd214e1fbd480a9fe2ea66be2539
commit: 661b79d6d9f8cd214e1fbd480a9fe2ea66be2539 [2/2] udf: fix the problem that the disc content is not displayed
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/...
git remote add ext3 https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git
git fetch --no-tags ext3 fast_track
git checkout 661b79d6d9f8cd214e1fbd480a9fe2ea66be2539
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
fs/udf/super.c: In function 'udf_check_vsd':
>> fs/udf/super.c:716:64: error: expected ';' before ')' token
716 | sector_offset = (loff_t)sbi->s_session << sb->s_blocksize_bits);
| ^
| ;
>> fs/udf/super.c:716:64: error: expected statement before ')' token
vim +716 fs/udf/super.c
693
694 /*
695 * Check Volume Structure Descriptors (ECMA 167 2/9.1)
696 * We also check any "CD-ROM Volume Descriptor Set" (ECMA 167 2/8.3.1)
697 * @return 1 if NSR02 or NSR03 found,
698 * -1 if first sector read error, 0 otherwise
699 */
700 static int udf_check_vsd(struct super_block *sb)
701 {
702 struct volStructDesc *vsd = NULL;
703 loff_t sector = VSD_FIRST_SECTOR_OFFSET;
704 int sectorsize;
705 struct buffer_head *bh = NULL;
706 int nsr = 0;
707 struct udf_sb_info *sbi;
708 loff_t sector_offset;
709
710 sbi = UDF_SB(sb);
711 if (sb->s_blocksize < sizeof(struct volStructDesc))
712 sectorsize = sizeof(struct volStructDesc);
713 else
714 sectorsize = sb->s_blocksize;
715
> 716 sector_offset = (loff_t)sbi->s_session << sb->s_blocksize_bits);
717 sector += sector_offset;
718
719 udf_debug("Starting at sector %u (%lu byte sectors)\n",
720 (unsigned int)(sector >> sb->s_blocksize_bits),
721 sb->s_blocksize);
722 /* Process the sequence (if applicable). The hard limit on the sector
723 * offset is arbitrary, hopefully large enough so that all valid UDF
724 * filesystems will be recognised. There is no mention of an upper
725 * bound to the size of the volume recognition area in the standard.
726 * The limit will prevent the code to read all the sectors of a
727 * specially crafted image (like a bluray disc full of CD001 sectors),
728 * potentially causing minutes or even hours of uninterruptible I/O
729 * activity. This actually happened with uninitialised SSD partitions
730 * (all 0xFF) before the check for the limit and all valid IDs were
731 * added */
732 for (; !nsr && sector < VSD_MAX_SECTOR_OFFSET; sector += sectorsize) {
733 /* Read a block */
734 bh = udf_tread(sb, sector >> sb->s_blocksize_bits);
735 if (!bh)
736 break;
737
738 vsd = (struct volStructDesc *)(bh->b_data +
739 (sector & (sb->s_blocksize - 1)));
740 nsr = identify_vsd(vsd);
741 /* Found NSR or end? */
742 if (nsr) {
743 brelse(bh);
744 break;
745 }
746 /*
747 * Special handling for improperly formatted VRS (e.g., Win10)
748 * where components are separated by 2048 bytes even though
749 * sectors are 4K
750 */
751 if (sb->s_blocksize == 4096) {
752 nsr = identify_vsd(vsd + 1);
753 /* Ignore unknown IDs... */
754 if (nsr < 0)
755 nsr = 0;
756 }
757 brelse(bh);
758 }
759
760 if (nsr > 0)
761 return 1;
762 else if (!bh && sector - sector_offset == VSD_FIRST_SECTOR_OFFSET)
763 return -1;
764 else
765 return 0;
766 }
767
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression
by kernel test robot
Hi Jiaxun,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1d94330a437a573cfdf848f6743b1ed169242c8a
commit: b13812ddea615b6507beef24f76540c0c1143c5c MIPS: Loongson2ef: Disable Loongson MMI instructions
date: 4 months ago
config: mips-randconfig-s032-20210116 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-208-g46a52ca4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b13812ddea615b6507beef24f76540c0c1143c5c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips
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 >>)"
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:41:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:41:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:41:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:41:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:41:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:41:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:41:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:41:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:41:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:41:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:41:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:41:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:41:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:42:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:42:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:42:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:42:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:42:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:42:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:42:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:42:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:42:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:42:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:42:19: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:42:19: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:42:19: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:52:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:52:22: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:52:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:52:22: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:52:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:52:22: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:52:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:52:22: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:52:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:52:22: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:52:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:52:22: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:52:22: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_core.c:58:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_core.c:58:9: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_core.c:58:9: sparse: got restricted __be32 [usertype]
>> sound/pci/mixart/mixart_core.c:58:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:58:9: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:58:9: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:77:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:77:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:77:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:77:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:77:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:77:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:77:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:77:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:77:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:77:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:77:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:77:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:77:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:78:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:78:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:78:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:78:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:78:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:78:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:78:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:78:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:78:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:78:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:78:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:78:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:78:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:79:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:79:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:79:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:79:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:79:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:79:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:79:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:79:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:79:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:79:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:79:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:79:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:79:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:80:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:80:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:80:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:80:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:80:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:80:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:80:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:80:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:80:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:80:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:80:32: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_core.c:80:32: sparse: got unsigned int *
sound/pci/mixart/mixart_core.c:80:32: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_core.c:104:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_core.c:104:19: sparse: expected void const volatile [noderef] __iomem *mem
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:45:24: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:339:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:341:22: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:343:25: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart_hwdep.c:374:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:374:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:374:17: sparse: got restricted __be32 [usertype]
>> sound/pci/mixart/mixart_hwdep.c:374:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:374:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:374:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:377:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:377:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:377:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:377:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:377:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:377:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:379:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:379:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:379:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:379:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:379:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:379:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:385:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:385:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:385:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:385:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:385:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:385:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:414:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:414:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:414:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:414:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:414:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:414:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:415:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:415:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:415:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:415:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:415:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:415:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:418:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:418:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:418:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:418:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:418:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:418:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:425:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:425:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:425:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:425:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:425:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:425:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:435:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:435:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:435:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:435:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:435:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:435:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:457:57: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:481:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:481:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:481:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:481:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:481:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:481:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:484:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
sound/pci/mixart/mixart_hwdep.c:484:17: sparse: expected unsigned int [usertype] val
sound/pci/mixart/mixart_hwdep.c:484:17: sparse: got restricted __be32 [usertype]
sound/pci/mixart/mixart_hwdep.c:484:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:484:17: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:484:17: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: got unsigned int *
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart_hwdep.c:494:23: sparse: expected void const volatile [noderef] __iomem *mem
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1187:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1187:23: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1187:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1187:23: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1187:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1187:23: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1187:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1187:23: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1187:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1187:23: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
>> sound/pci/mixart/mixart.c:1187:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1187:23: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1187:23: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1187:23: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1190:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1190:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1190:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1190:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1190:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1190:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1190:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1190:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1190:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1190:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1190:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1190:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1190:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1191:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1191:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1191:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1191:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1191:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1191:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1191:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1191:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1191:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1191:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1191:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1191:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1191:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1192:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1192:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1192:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1192:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1192:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1192:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1192:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1192:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1192:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1192:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got unsigned int * @@
sound/pci/mixart/mixart.c:1192:47: sparse: expected void const volatile [noderef] __iomem *mem
sound/pci/mixart/mixart.c:1192:47: sparse: got unsigned int *
sound/pci/mixart/mixart.c:1192:47: sparse: sparse: cast to restricted __be32
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> arch/mips/pci/ops-loongson2.c:93:24: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __le32 [usertype] @@
arch/mips/pci/ops-loongson2.c:93:24: sparse: expected unsigned int [usertype] val
arch/mips/pci/ops-loongson2.c:93:24: sparse: got restricted __le32 [usertype]
>> arch/mips/pci/ops-loongson2.c:93:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void *[assigned] addrp @@
arch/mips/pci/ops-loongson2.c:93:44: sparse: expected void volatile [noderef] __iomem *mem
arch/mips/pci/ops-loongson2.c:93:44: sparse: got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got void *[assigned] addrp @@
arch/mips/pci/ops-loongson2.c:95:25: sparse: expected void const volatile [noderef] __iomem *mem
arch/mips/pci/ops-loongson2.c:95:25: sparse: got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: cast to restricted __le32
vim +/__iomem +20 arch/mips/loongson2ef/common/reset.c
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 16
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 17 static inline void loongson_reboot(void)
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 18 {
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 19 #ifndef CONFIG_CPU_JUMP_WORKAROUNDS
4bdc0d676a643140 Christoph Hellwig 2020-01-06 @20 ((void (*)(void))ioremap(LOONGSON_BOOT_BASE, 4)) ();
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 21 #else
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 22 void (*func)(void);
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 23
4bdc0d676a643140 Christoph Hellwig 2020-01-06 24 func = (void *)ioremap(LOONGSON_BOOT_BASE, 4);
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 25
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 26 __asm__ __volatile__(
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 27 " .set noat \n"
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 28 " jr %[func] \n"
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 29 " .set at \n"
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 30 : /* No outputs */
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 31 : [func] "r" (func));
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 32 #endif
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 33 }
71e2f4dd5a65bd8d Jiaxun Yang 2019-10-20 34
:::::: The code at line 20 was first introduced by commit
:::::: 4bdc0d676a643140bdf17dbf7eafedee3d496a3c remove ioremap_nocache and devm_ioremap_nocache
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH RFC 22/30] hugetlb/userfaultfd: Forbid huge pmd sharing when uffd enabled
by kernel test robot
Hi Peter,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on asm-generic/master]
[cannot apply to arm64/for-next/core linus/master hnaz-linux-mm/master v5.11-rc3 next-20210115]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Peter-Xu/userfaultfd-wp-Support-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
config: x86_64-randconfig-c002-20210115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/af7cc4ba61a97d6800691a27144a8d535...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Peter-Xu/userfaultfd-wp-Support-shmem-and-hugetlbfs/20210116-011305
git checkout af7cc4ba61a97d6800691a27144a8d53526186f5
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:40:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:40:
At top level:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:38:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function 'amdgpu_bo_support_uswc':
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:503:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp]
503 | #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
| ^~~~~~~
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:38:
At top level:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:31:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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/../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:67,
from drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:31:
At top level:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:28:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:558:6: warning: no previous prototype for 'amdgpu_virt_update_vf2pf_work_item' [-Wmissing-prototypes]
558 | void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:28:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:31:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c: At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:35:5: warning: no previous prototype for 'amdgpu_to_sched_priority' [-Wmissing-prototypes]
35 | int amdgpu_to_sched_priority(int amdgpu_priority,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:122:5: warning: no previous prototype for 'amdgpu_sched_ioctl' [-Wmissing-prototypes]
122 | int amdgpu_sched_ioctl(struct drm_device *dev, void *data,
| ^~~~~~~~~~~~~~~~~~
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_sched.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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:25:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c: In function 'amdgpu_allocate_static_csa':
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:40:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
40 | int r;
| ^
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:25:
At top level:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:31:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c: At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:906:5: warning: no previous prototype for 'amdgpu_ras_error_cure' [-Wmissing-prototypes]
906 | int amdgpu_ras_error_cure(struct amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1480:6: warning: no previous prototype for 'amdgpu_ras_error_status_query' [-Wmissing-prototypes]
1480 | void amdgpu_ras_error_status_query(struct amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ras.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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:28:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c: In function 'amdgpu_pmu_init':
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:250:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
250 | int ret = 0;
| ^~~
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:67,
from drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:28:
At top level:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/migrate.h:8,
from include/linux/hmm.h:16,
from drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:87,
from drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c:23:
include/linux/hugetlb.h: In function 'want_pmd_share':
>> include/linux/hugetlb.h:958:6: error: implicit declaration of function 'uffd_disable_huge_pmd_share' [-Werror=implicit-function-declaration]
958 | if (uffd_disable_huge_pmd_share(vma))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c:27:
At top level:
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:208:29: warning: 'FUSE_BASE' defined but not used [-Wunused-const-variable=]
208 | static const struct IP_BASE FUSE_BASE = { { { { 0x00017400, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:183:29: warning: 'UMC_BASE' defined but not used [-Wunused-const-variable=]
183 | static const struct IP_BASE UMC_BASE = { { { { 0x00014000, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:178:29: warning: 'XDMA_BASE' defined but not used [-Wunused-const-variable=]
178 | static const struct IP_BASE XDMA_BASE = { { { { 0x00003400, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:153:29: warning: 'RSMU_BASE' defined but not used [-Wunused-const-variable=]
153 | static const struct IP_BASE RSMU_BASE = { { { { 0x00012000, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:128:29: warning: 'IOHC_BASE' defined but not used [-Wunused-const-variable=]
128 | static const struct IP_BASE IOHC_BASE = { { { { 0x00010000, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:123:29: warning: 'L2IMU_BASE' defined but not used [-Wunused-const-variable=]
123 | static const struct IP_BASE L2IMU_BASE = { { { { 0x00007DC0, 0, 0, 0, 0 } },
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:118:29: warning: 'SYSTEMHUB_BASE' defined but not used [-Wunused-const-variable=]
118 | static const struct IP_BASE SYSTEMHUB_BASE = { { { { 0x00000EA0, 0, 0, 0, 0 } },
| ^~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:113:29: warning: 'ISP_BASE' defined but not used [-Wunused-const-variable=]
113 | static const struct IP_BASE ISP_BASE = { { { { 0x00018000, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:108:29: warning: 'DFX_BASE' defined but not used [-Wunused-const-variable=]
108 | static const struct IP_BASE DFX_BASE = { { { { 0x00000580, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:103:29: warning: 'DFX_DAP_BASE' defined but not used [-Wunused-const-variable=]
103 | static const struct IP_BASE DFX_DAP_BASE = { { { { 0x000005A0, 0, 0, 0, 0 } },
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:98:29: warning: 'DBGU_IO_BASE' defined but not used [-Wunused-const-variable=]
98 | static const struct IP_BASE DBGU_IO_BASE = { { { { 0x000001E0, 0, 0, 0, 0 } },
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:93:29: warning: 'DBGU_NBIO_BASE' defined but not used [-Wunused-const-variable=]
93 | static const struct IP_BASE DBGU_NBIO_BASE = { { { { 0x000001C0, 0, 0, 0, 0 } },
| ^~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:88:29: warning: 'DBGU_BASE' defined but not used [-Wunused-const-variable=]
88 | static const struct IP_BASE DBGU_BASE = { { { { 0x00000180, 0x000001A0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:68:29: warning: 'MP2_BASE' defined but not used [-Wunused-const-variable=]
68 | static const struct IP_BASE MP2_BASE = { { { { 0x00016000, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:53:29: warning: 'DCN_BASE' defined but not used [-Wunused-const-variable=]
53 | static const struct IP_BASE DCN_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } },
| ^~~~~~~~
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:67,
from drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c:23:
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 };
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
..
vim +/uffd_disable_huge_pmd_share +958 include/linux/hugetlb.h
954
955 static inline bool want_pmd_share(struct vm_area_struct *vma)
956 {
957 #ifdef CONFIG_ARCH_WANT_HUGE_PMD_SHARE
> 958 if (uffd_disable_huge_pmd_share(vma))
959 return false;
960 return true;
961 #else
962 return false;
963 #endif
964 }
965
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months