Re: [RFC net-next 2/2] net: dsa: add Realtek RTL8366S switch driver
by kernel test robot
Hi DENG,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/DENG-Qingfang/DSA-driver-for-Rea...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 06b334f08b4f0e53be64160392be4c37db28a413
config: riscv-randconfig-r014-20210216 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/0day-ci/linux/commit/3cd6e7f27c49d9e06810a3ee0b03fbb6f...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review DENG-Qingfang/DSA-driver-for-Realtek-RTL8366S-SR/20210217-143046
git checkout 3cd6e7f27c49d9e06810a3ee0b03fbb6f20a40b9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
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/net/dsa/rtl8366s.c:928:56: error: too few arguments to function call, expected 4, have 3
return rtl8366_vlan_filtering(ds, port, vlan_filtering);
~~~~~~~~~~~~~~~~~~~~~~ ^
drivers/net/dsa/realtek-smi-core.h:133:5: note: 'rtl8366_vlan_filtering' declared here
int rtl8366_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
^
>> drivers/net/dsa/rtl8366s.c:1049:2: error: member reference type 'struct list_head' is not a pointer; did you mean to use '.'?
list_for_each_entry(dp, dp->dst->ports, list) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:628:13: note: expanded from macro 'list_for_each_entry'
for (pos = list_first_entry(head, typeof(*pos), member); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:522:18: note: expanded from macro 'list_first_entry'
list_entry((ptr)->next, type, member)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:511:15: note: expanded from macro 'list_entry'
container_of(ptr, type, member)
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:693:26: note: expanded from macro 'container_of'
void *__mptr = (void *)(ptr); \
^~~
>> drivers/net/dsa/rtl8366s.c:1049:2: error: member reference type 'struct list_head' is not a pointer; did you mean to use '.'?
list_for_each_entry(dp, dp->dst->ports, list) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:628:13: note: expanded from macro 'list_for_each_entry'
for (pos = list_first_entry(head, typeof(*pos), member); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:522:18: note: expanded from macro 'list_first_entry'
list_entry((ptr)->next, type, member)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:511:15: note: expanded from macro 'list_entry'
container_of(ptr, type, member)
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler_types.h:320:22: note: expanded from macro 'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:308:23: note: expanded from macro '_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:300:9: note: expanded from macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
>> drivers/net/dsa/rtl8366s.c:1049:2: error: member reference type 'struct list_head' is not a pointer; did you mean to use '.'?
list_for_each_entry(dp, dp->dst->ports, list) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:628:13: note: expanded from macro 'list_for_each_entry'
for (pos = list_first_entry(head, typeof(*pos), member); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:522:18: note: expanded from macro 'list_first_entry'
list_entry((ptr)->next, type, member)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:511:15: note: expanded from macro 'list_entry'
container_of(ptr, type, member)
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler_types.h:320:22: note: expanded from macro 'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:308:23: note: expanded from macro '_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:300:9: note: expanded from macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
>> drivers/net/dsa/rtl8366s.c:1049:2: error: invalid operands to binary expression ('const struct list_head *' and 'struct list_head')
list_for_each_entry(dp, dp->dst->ports, list) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:629:8: note: expanded from macro 'list_for_each_entry'
!list_entry_is_head(pos, head, member); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/list.h:619:16: note: expanded from macro 'list_entry_is_head'
(&pos->member == (head))
~~~~~~~~~~~~ ^ ~~~~~~
>> drivers/net/dsa/rtl8366s.c:1130:25: error: incompatible function pointer types initializing 'int (*)(struct dsa_switch *, int, bool, struct netlink_ext_ack *)' (aka 'int (*)(struct dsa_switch *, int, _Bool, struct netlink_ext_ack *)') with an expression of type 'int (struct dsa_switch *, int, bool)' (aka 'int (struct dsa_switch *, int, _Bool)') [-Werror,-Wincompatible-function-pointer-types]
.port_vlan_filtering = rtl8366s_port_vlan_filtering,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1158:41: error: static declaration of 'rtl8366s_variant' follows non-static declaration
static const struct realtek_smi_variant rtl8366s_variant = {
^
drivers/net/dsa/realtek-smi-core.h:146:41: note: previous declaration is here
extern const struct realtek_smi_variant rtl8366s_variant;
^
7 errors generated.
vim +928 drivers/net/dsa/rtl8366s.c
906
907 static int rtl8366s_port_vlan_filtering(struct dsa_switch *ds, int port,
908 bool vlan_filtering)
909 {
910 struct realtek_smi *smi = ds->priv;
911 unsigned int val;
912 int ret;
913
914 /* Enable/Disable VLAN ingress filtering */
915 val = BIT(port);
916 ret = regmap_update_bits(smi->map, RTL8366S_VLAN_MEMBERINGRESS_REG,
917 val, vlan_filtering ? val : 0);
918 if (ret)
919 return ret;
920
921 /* Disable/Enable keep original tagged/untagged */
922 val = FIELD_PREP(RTL8366S_EGRESS_KEEP_FORMAT_MASK, val);
923 ret = regmap_update_bits(smi->map, RTL8366S_EGRESS_KEEP_FORMAT_REG,
924 val, vlan_filtering ? 0 : val);
925 if (ret)
926 return ret;
927
> 928 return rtl8366_vlan_filtering(ds, port, vlan_filtering);
929 }
930
931 static int rtl8366s_port_mirror_add(struct dsa_switch *ds, int port,
932 struct dsa_mall_mirror_tc_entry *mirror,
933 bool ingress)
934 {
935 struct realtek_smi *smi = ds->priv;
936 unsigned int val, dir;
937 int ret;
938
939 /* The source and the monitor port cannot be the same */
940 if (port == mirror->to_local_port)
941 return -EOPNOTSUPP;
942
943 ret = regmap_read(smi->map, RTL8366S_PMCR, &val);
944 if (ret)
945 return ret;
946
947 dir = ingress ? RTL8366S_PMCR_MIRROR_RX : RTL8366S_PMCR_MIRROR_TX;
948 /* RTL8366S only supports one port mirror set */
949 if (val & dir)
950 return -EEXIST;
951
952 /* If the other direction is active, allow setting up both
953 * directions for the same source and monitor ports
954 */
955 if (val & (RTL8366S_PMCR_MIRROR_RX | RTL8366S_PMCR_MIRROR_TX)) {
956 int source, monitor;
957
958 source = FIELD_GET(RTL8366S_PMCR_SOURCE_MASK, val);
959 monitor = FIELD_GET(RTL8366S_PMCR_MINITOR_MASK, val);
960
961 if (source != port || monitor != mirror->to_local_port)
962 return -EEXIST;
963 } else {
964 val &= ~RTL8366S_PMCR_SOURCE_MASK;
965 val |= FIELD_PREP(RTL8366S_PMCR_SOURCE_MASK, port);
966 val &= ~RTL8366S_PMCR_MINITOR_MASK;
967 val |= FIELD_PREP(RTL8366S_PMCR_MINITOR_MASK,
968 mirror->to_local_port);
969 }
970
971 val |= dir;
972
973 return regmap_write(smi->map, RTL8366S_PMCR, val);
974 }
975
976 static void rtl8366s_port_mirror_del(struct dsa_switch *ds, int port,
977 struct dsa_mall_mirror_tc_entry *mirror)
978 {
979 struct realtek_smi *smi = ds->priv;
980 unsigned int dir;
981
982 dir = mirror->ingress ? RTL8366S_PMCR_MIRROR_RX : RTL8366S_PMCR_MIRROR_TX;
983 regmap_update_bits(smi->map, RTL8366S_PMCR, dir, 0);
984 }
985
986 static int rtl8366s_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
987 {
988 struct realtek_smi *smi = ds->priv;
989 u32 len;
990
991 /* When a new MTU is set, DSA always set the CPU port's MTU to the
992 * largest MTU of the slave ports. Because the switch only has a global
993 * max length register, only allowing CPU port here is enough.
994 */
995 if (port != RTL8366S_PORT_NUM_CPU)
996 return 0;
997
998 /* Includes Ethernet header and FCS length.
999 *
1000 * Note that the CPU tag does not count towards its length, the
1001 * same reason why the frame must be padded _before_ inserting
1002 * the CPU tag on xmit.
1003 */
1004 new_mtu += ETH_HLEN + ETH_FCS_LEN;
1005 if (new_mtu <= 1522)
1006 len = RTL8366S_SGCR_MAX_LENGTH_1522;
1007 else if (new_mtu <= 1536)
1008 len = RTL8366S_SGCR_MAX_LENGTH_1536;
1009 else if (new_mtu <= 1552)
1010 len = RTL8366S_SGCR_MAX_LENGTH_1552;
1011 else
1012 len = RTL8366S_SGCR_MAX_LENGTH_16000;
1013
1014 return regmap_update_bits(smi->map, RTL8366S_SGCR,
1015 RTL8366S_SGCR_MAX_LENGTH_MASK,
1016 len);
1017 }
1018
1019 static int rtl8366s_port_max_mtu(struct dsa_switch *ds, int port)
1020 {
1021 return 16000 - ETH_HLEN - ETH_FCS_LEN;
1022 }
1023
1024 static int rtl8366s_port_lag_change(struct dsa_switch *ds, int port)
1025 {
1026 const struct dsa_port *dp = dsa_to_port(ds, port);
1027 struct realtek_smi *smi = ds->priv;
1028 unsigned int val;
1029
1030 val = FIELD_PREP(RTL8366S_LAGCR_PORTMAP_MASK, BIT(port));
1031
1032 return regmap_update_bits(smi->map, RTL8366S_LAGCR, val,
1033 dp->lag_tx_enabled ? val : 0);
1034 }
1035
1036 static int rtl8366s_port_lag_join(struct dsa_switch *ds, int port,
1037 struct net_device *lag,
1038 struct netdev_lag_upper_info *info)
1039 {
1040 struct realtek_smi *smi = ds->priv;
1041 const struct dsa_port *dp;
1042 unsigned int val;
1043 int count = 0;
1044
1045 /* Only supports hash type */
1046 if (info->tx_type != NETDEV_LAG_TX_TYPE_HASH)
1047 return -EOPNOTSUPP;
1048
> 1049 list_for_each_entry(dp, dp->dst->ports, list) {
1050 if (dp->lag_dev == lag)
1051 count++;
1052 /* Only supports 1 LAG set */
1053 else if (dp->lag_dev)
1054 return -EBUSY;
1055 }
1056
1057 /* Only supports maximum LAG member of 4 */
1058 if (count >= 4)
1059 return -ENOSPC;
1060
1061 val = FIELD_PREP(RTL8366S_LAGCR_PORTMAP_MASK, BIT(port));
1062
1063 return regmap_update_bits(smi->map, RTL8366S_LAGCR, val, val);
1064 }
1065
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[block:io_uring-worker.v2 7/14] fs/io-wq.c:541:2: error: implicit declaration of function 'set_cpus_allowed_common'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-worker.v2
head: 87bc511b420d365034e8b25dae8e8124ba802804
commit: 6f15c144db8df78ca868458e0c37834335ff88e7 [7/14] io-wq: fork worker threads from original task
config: openrisc-randconfig-r002-20210217 (attached as .config)
compiler: or1k-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/axboe/linux-block.git/com...
git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block io_uring-worker.v2
git checkout 6f15c144db8df78ca868458e0c37834335ff88e7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
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/io-wq.c: In function 'task_thread':
>> fs/io-wq.c:541:2: error: implicit declaration of function 'set_cpus_allowed_common'; did you mean 'set_cpus_allowed_ptr'? [-Werror=implicit-function-declaration]
541 | set_cpus_allowed_common(current, cpumask_of_node(wqe->node), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~
| set_cpus_allowed_ptr
cc1: some warnings being treated as errors
vim +541 fs/io-wq.c
524
525 static int task_thread(void *data, int index)
526 {
527 struct io_worker *worker = data;
528 struct io_wqe *wqe = worker->wqe;
529 struct io_wqe_acct *acct = &wqe->acct[index];
530 struct io_wq *wq = wqe->wq;
531 char buf[TASK_COMM_LEN];
532
533 sprintf(buf, "iou-wrk-%d", wq->task_pid);
534 set_task_comm(current, buf);
535
536 current->flags &= ~PF_KTHREAD;
537 current->pf_io_worker = worker;
538 worker->task = current;
539
540 raw_spin_lock_irq(¤t->pi_lock);
> 541 set_cpus_allowed_common(current, cpumask_of_node(wqe->node), 0);
542 current->flags |= PF_NO_SETAFFINITY;
543 raw_spin_unlock_irq(¤t->pi_lock);
544
545 raw_spin_lock_irq(&wqe->lock);
546 hlist_nulls_add_head_rcu(&worker->nulls_node, &wqe->free_list);
547 list_add_tail_rcu(&worker->all_list, &wqe->all_list);
548 worker->flags |= IO_WORKER_F_FREE;
549 if (index == IO_WQ_ACCT_BOUND)
550 worker->flags |= IO_WORKER_F_BOUND;
551 if (!acct->nr_workers && (worker->flags & IO_WORKER_F_BOUND))
552 worker->flags |= IO_WORKER_F_FIXED;
553 acct->nr_workers++;
554 raw_spin_unlock_irq(&wqe->lock);
555
556 if (index == IO_WQ_ACCT_UNBOUND)
557 atomic_inc(&wq->user->processes);
558
559 io_wqe_worker(data);
560 do_exit(0);
561 }
562
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[ti:ti-rt-linux-5.4.y 10032/13999] net/socket.c:847:5: error: 'SCM_RED_TIMESTAMPING' undeclared
by kernel test robot
Hi Grygorii,
First bad commit (maybe != root cause):
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: 6bb5d2a07d482b75243678d310524b4939113e4b
commit: 93fac9fa368d4c49b62745b6f324d019fb42ecc4 [10032/13999] HACK: scripts: headers_install: fix allmodconfig builds
config: sparc64-randconfig-p001-20210216 (attached as .config)
compiler: sparc64-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
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.4.y
git checkout 93fac9fa368d4c49b62745b6f324d019fb42ecc4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc64
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/net/cls_cgroup.h:14,
from net/socket.c:95:
include/net/sock.h: In function 'sock_recv_redundant_info':
include/net/sock.h:2461:29: error: 'SCM_REDUNDANT' undeclared (first use in this function)
2461 | put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
| ^~~~~~~~~~~~~
include/net/sock.h:2461:29: note: each undeclared identifier is reported only once for each function it appears in
net/socket.c: In function '__sock_recv_redinfo_timestamp':
>> net/socket.c:847:5: error: 'SCM_RED_TIMESTAMPING' undeclared (first use in this function)
847 | SCM_RED_TIMESTAMPING, sizeof(tss), &tss);
| ^~~~~~~~~~~~~~~~~~~~
--
In file included from include/net/inet_sock.h:22,
from include/net/ip.h:27,
from include/linux/errqueue.h:6,
from net/core/sock.c:91:
include/net/sock.h: In function 'sock_recv_redundant_info':
include/net/sock.h:2461:29: error: 'SCM_REDUNDANT' undeclared (first use in this function)
2461 | put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
| ^~~~~~~~~~~~~
include/net/sock.h:2461:29: note: each undeclared identifier is reported only once for each function it appears in
net/core/sock.c: In function '__sock_cmsg_send':
>> net/core/sock.c:2306:7: error: 'SCM_REDUNDANT' undeclared (first use in this function)
2306 | case SCM_REDUNDANT:
| ^~~~~~~~~~~~~
net/core/sock.c: In function 'sock_recv_errqueue':
net/core/sock.c:3102:28: error: 'SCM_REDUNDANT' undeclared (first use in this function)
3102 | put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
| ^~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS || MCOUNT
Selected by
- LATENCYTOP && DEBUG_KERNEL && STACKTRACE_SUPPORT && PROC_FS && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
- LOCKDEP && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && !MIPS && !PPC && !ARM && !S390 && !MICROBLAZE && !ARC && !X86
vim +/SCM_RED_TIMESTAMPING +847 net/socket.c
7c81fd8bfbaa97 Arnaldo Carvalho de Melo 2007-03-10 831
70e28ef2c9afeb WingMan Kwok 2018-03-02 832 void __sock_recv_redinfo_timestamp(struct msghdr *msg, struct sock *sk,
70e28ef2c9afeb WingMan Kwok 2018-03-02 833 struct sk_buff *skb)
70e28ef2c9afeb WingMan Kwok 2018-03-02 834 {
70e28ef2c9afeb WingMan Kwok 2018-03-02 835 struct scm_timestamping tss;
70e28ef2c9afeb WingMan Kwok 2018-03-02 836 int empty = 1;
70e28ef2c9afeb WingMan Kwok 2018-03-02 837 struct skb_shared_hwtstamps *red_shhwtstamps =
70e28ef2c9afeb WingMan Kwok 2018-03-02 838 skb_redinfo_hwtstamps(skb);
70e28ef2c9afeb WingMan Kwok 2018-03-02 839
70e28ef2c9afeb WingMan Kwok 2018-03-02 840 if (red_shhwtstamps &&
70e28ef2c9afeb WingMan Kwok 2018-03-02 841 (sk->sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE) &&
70e28ef2c9afeb WingMan Kwok 2018-03-02 842 ktime_to_timespec_cond(red_shhwtstamps->hwtstamp, tss.ts + 2))
70e28ef2c9afeb WingMan Kwok 2018-03-02 843 empty = 0;
70e28ef2c9afeb WingMan Kwok 2018-03-02 844
70e28ef2c9afeb WingMan Kwok 2018-03-02 845 if (!empty)
70e28ef2c9afeb WingMan Kwok 2018-03-02 846 put_cmsg(msg, SOL_SOCKET,
70e28ef2c9afeb WingMan Kwok 2018-03-02 @847 SCM_RED_TIMESTAMPING, sizeof(tss), &tss);
70e28ef2c9afeb WingMan Kwok 2018-03-02 848 }
70e28ef2c9afeb WingMan Kwok 2018-03-02 849 EXPORT_SYMBOL_GPL(__sock_recv_redinfo_timestamp);
70e28ef2c9afeb WingMan Kwok 2018-03-02 850
:::::: The code at line 847 was first introduced by commit
:::::: 70e28ef2c9afebab74651ba7aca5895ca4d922d4 net: socket: forward extra timestamp of received skb to user space
:::::: TO: WingMan Kwok <w-kwok2(a)ti.com>
:::::: CC: Lokesh Vutla <lokeshvutla(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: [PATCH V0 3/6] soc: qcom: dcc:Add driver support for Data Capture and Compare unit(DCC)
by kernel test robot
Hi Souradeep,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v5.11 next-20210216]
[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/Souradeep-Chowdhury/Add-driver-s...
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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://github.com/0day-ci/linux/commit/98f7664a4e41764c0d2111d6b17905d97...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Souradeep-Chowdhury/Add-driver-support-for-Data-Capture-and-Compare-Engine-DCC-for-SM8150/20210217-145428
git checkout 98f7664a4e41764c0d2111d6b17905d974aad65d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/soc/qcom/dcc.c: In function '_dcc_ll_cfg_default':
>> drivers/soc/qcom/dcc.c:360:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
360 | if (ret)
| ^~
drivers/soc/qcom/dcc.c:362:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
362 | cfg->sram_offset += 4;
| ^~~
At top level:
drivers/soc/qcom/dcc.c:787:12: warning: 'dcc_add_write' defined but not used [-Wunused-function]
787 | static int dcc_add_write(struct dcc_drvdata *drvdata, unsigned int addr,
| ^~~~~~~~~~~~~
drivers/soc/qcom/dcc.c:750:12: warning: 'dcc_rd_mod_wr_add' defined but not used [-Wunused-function]
750 | static int dcc_rd_mod_wr_add(struct dcc_drvdata *drvdata, unsigned int mask,
| ^~~~~~~~~~~~~~~~~
drivers/soc/qcom/dcc.c:733:12: warning: 'dcc_add_loop' defined but not used [-Wunused-function]
733 | static int dcc_add_loop(struct dcc_drvdata *drvdata, unsigned long loop_cnt)
| ^~~~~~~~~~~~
drivers/soc/qcom/dcc.c:631:12: warning: 'dcc_config_add' defined but not used [-Wunused-function]
631 | static int dcc_config_add(struct dcc_drvdata *drvdata, unsigned int addr,
| ^~~~~~~~~~~~~~
drivers/soc/qcom/dcc.c:574:12: warning: 'dcc_enable' defined but not used [-Wunused-function]
574 | static int dcc_enable(struct dcc_drvdata *drvdata)
| ^~~~~~~~~~
vim +/if +360 drivers/soc/qcom/dcc.c
338
339 static int _dcc_ll_cfg_default(struct dcc_drvdata *drvdata,
340 struct dcc_config_entry *entry, struct dcc_cfg_attr *cfg, u32 *pos, u32 *total_len)
341 {
342 int ret = 0;
343 u32 off;
344
345 cfg->addr = (entry->base >> 4) & BM(0, 27);
346
347 if (entry->apb_bus)
348 cfg->addr |= DCC_ADDR_DESCRIPTOR | DCC_READ_IND | DCC_APB_IND;
349 else
350 cfg->addr |= DCC_ADDR_DESCRIPTOR | DCC_READ_IND | DCC_AHB_IND;
351
352 off = entry->offset/4;
353
354 *total_len += entry->len * 4;
355
356 if (!cfg->prev_addr || cfg->prev_addr != cfg->addr || cfg->prev_off > off) {
357 /* Check if we need to write prev link entry */
358 if (cfg->link) {
359 ret = dcc_sram_writel(drvdata, cfg->link, cfg->sram_offset);
> 360 if (ret)
361 return ret;
362 cfg->sram_offset += 4;
363 }
364 dev_dbg(drvdata->dev, "DCC: sram address 0x%x\n", cfg->sram_offset);
365
366 /* Write address */
367 ret = dcc_sram_writel(drvdata, cfg->addr, cfg->sram_offset);
368
369 if (ret)
370 return ret;
371
372 cfg->sram_offset += 4;
373
374 /* Reset link and prev_off */
375 cfg->link = 0;
376 cfg->prev_off = 0;
377 }
378
379 if ((off - cfg->prev_off) > 0xFF || entry->len > MAX_DCC_LEN) {
380 dev_err(drvdata->dev, "DCC: Programming error Base: 0x%x, offset 0x%x\n",
381 entry->base, entry->offset);
382 ret = -EINVAL;
383 return ret;
384 }
385
386 if (cfg->link) {
387 /*
388 * link already has one offset-length so new
389 * offset-length needs to be placed at
390 * bits [29:15]
391 */
392 *pos = 15;
393
394 /* Clear bits [31:16] */
395 cfg->link &= BM(0, 14);
396 } else {
397 /*
398 * link is empty, so new offset-length needs
399 * to be placed at bits [15:0]
400 */
401 *pos = 0;
402 cfg->link = 1 << 15;
403 }
404
405 /* write new offset-length pair to correct position */
406 cfg->link |= (((off-cfg->prev_off) & BM(0, 7)) | ((entry->len << 8) & BM(8, 14))) << *pos;
407
408 cfg->link |= DCC_LINK_DESCRIPTOR;
409
410 if (*pos) {
411 ret = dcc_sram_writel(drvdata, cfg->link, cfg->sram_offset);
412 if (ret)
413 return ret;
414 cfg->sram_offset += 4;
415 cfg->link = 0;
416 }
417
418 cfg->prev_off = off + entry->len - 1;
419 cfg->prev_addr = cfg->addr;
420 return ret;
421 }
422
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[linux-next:master 11365/11526] mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data202'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6553715b6db5ff5d4898895dad1b2926cfe406cf
commit: 0ff4433ed55ac180b3f899bef0075a01c00dc64e [11365/11526] Merge remote-tracking branch 'mips/mips-next'
config: mips-randconfig-s031-20210215 (attached as .config)
compiler: mipsel-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-215-g0fb77bb6-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 0ff4433ed55ac180b3f899bef0075a01c00dc64e
# 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>
All warnings (new ones prefixed by >>):
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_memory.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_memory.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data188' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data188'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data187' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data187'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data186' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data186'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data0' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_crtc.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_crtc.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_crtc.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/drm_fourcc.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data194' from `drivers/gpu/drm/drm_fourcc.o' being placed in section `.data.$Lubsan_data194'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_fourcc.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data261' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data261'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data259' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data259'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data258' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data258'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data254' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data254'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data253' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data253'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data252' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data252'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data250' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data250'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data246' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data246'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data245' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data245'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data223' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data223'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data222' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data222'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data217' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data217'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data216' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data216'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data244' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data244'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data232' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data232'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data231' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data231'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data230' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data230'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data229' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data229'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data228' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data228'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data226' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data226'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data225' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data225'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data228' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_data228'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_connector.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_connector.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_connector.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data203' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_data203'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_data202'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_data202'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data215' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data215'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data214' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data214'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data213' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data213'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data212' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data212'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data187' from `drivers/gpu/drm/drm_dumb_buffers.o' being placed in section `.data.$Lubsan_data187'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_dumb_buffers.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data226' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_data226'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data236' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data236'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data229' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data229'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data228' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data228'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data226' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data226'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_type0'
>> mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data202'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data201'
>> mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data194' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data194'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data193' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data193'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data192' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data192'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data189' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data189'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data223' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data223'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data222' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data222'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data221' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data221'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data220' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data220'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data219' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data219'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data218' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data218'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data209' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data209'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data286' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data286'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data291' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data291'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data289' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data289'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data289' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data289'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data287' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data287'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data274'
--
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_memory.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_memory.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data188' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data188'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data187' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data187'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data186' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data186'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data0' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_data0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_hashtab.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_crtc.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_crtc.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_crtc.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/drm_fourcc.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data194' from `drivers/gpu/drm/drm_fourcc.o' being placed in section `.data.$Lubsan_data194'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_fourcc.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data261' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data261'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data259' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data259'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data258' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data258'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data254' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data254'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data253' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data253'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data252' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data252'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data250' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data250'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data246' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data246'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data245' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data245'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data223' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data223'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data222' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data222'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data217' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data217'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data216' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_data216'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_modes.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data244' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data244'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data232' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data232'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data231' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data231'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data230' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data230'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data229' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data229'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data228' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data228'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data226' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data226'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data225' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_data225'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_edid.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_atomic.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data228' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_data228'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_framebuffer.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_connector.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_connector.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_connector.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data203' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_data203'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_data202'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_blend.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_data202'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_property.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_plane.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data215' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data215'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data214' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data214'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data213' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data213'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data212' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data212'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_color_mgmt.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data187' from `drivers/gpu/drm/drm_dumb_buffers.o' being placed in section `.data.$Lubsan_data187'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_dumb_buffers.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_mode_config.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data226' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_data226'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_lease.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data236' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data236'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data229' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data229'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data228' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data228'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data227' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data227'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data226' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data226'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data201'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data200' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_data200'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_client_modeset.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data199' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_data199'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/drm_atomic_uapi.o' being placed in section `.data.$Lubsan_type0'
>> mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data202' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data202'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data201' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data201'
>> mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data195' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data195'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data194' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data194'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data193' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data193'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data192' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data192'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data189' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_data189'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/ttm/ttm_pool.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data223' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data223'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data222' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data222'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data221' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data221'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data220' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data220'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data219' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data219'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data218' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data218'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data209' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_data209'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/mgag200/mgag200_mode.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvif/fifo.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/core/event.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/core/mm.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/core/ramht.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data286' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data286'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data291' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data291'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data289' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data289'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data289' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data289'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data287' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data287'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o' being placed in section `.data.$Lubsan_data274'
..
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: [RFC net-next 2/2] net: dsa: add Realtek RTL8366S switch driver
by kernel test robot
Hi DENG,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/DENG-Qingfang/DSA-driver-for-Rea...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 06b334f08b4f0e53be64160392be4c37db28a413
config: parisc-randconfig-m031-20210216 (attached as .config)
compiler: hppa-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://github.com/0day-ci/linux/commit/3cd6e7f27c49d9e06810a3ee0b03fbb6f...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review DENG-Qingfang/DSA-driver-for-Realtek-RTL8366S-SR/20210217-143046
git checkout 3cd6e7f27c49d9e06810a3ee0b03fbb6f20a40b9
# 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 >>):
drivers/net/dsa/rtl8366s.c: In function 'rtl8366s_port_vlan_filtering':
>> drivers/net/dsa/rtl8366s.c:928:9: error: too few arguments to function 'rtl8366_vlan_filtering'
928 | return rtl8366_vlan_filtering(ds, port, vlan_filtering);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/dsa/rtl8366s.c:14:
drivers/net/dsa/realtek-smi-core.h:133:5: note: declared here
133 | int rtl8366_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/skbuff.h:13,
from include/linux/if_ether.h:19,
from include/linux/etherdevice.h:20,
from drivers/net/dsa/rtl8366s.c:10:
drivers/net/dsa/rtl8366s.c: In function 'rtl8366s_port_lag_join':
>> include/linux/list.h:522:18: error: invalid type argument of '->' (have 'struct list_head')
522 | list_entry((ptr)->next, type, member)
| ^~
include/linux/kernel.h:693:26: note: in definition of macro 'container_of'
693 | void *__mptr = (void *)(ptr); \
| ^~~
include/linux/list.h:522:2: note: in expansion of macro 'list_entry'
522 | list_entry((ptr)->next, type, member)
| ^~~~~~~~~~
include/linux/list.h:628:13: note: in expansion of macro 'list_first_entry'
628 | for (pos = list_first_entry(head, typeof(*pos), member); \
| ^~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1049:2: note: in expansion of macro 'list_for_each_entry'
1049 | list_for_each_entry(dp, dp->dst->ports, list) {
| ^~~~~~~~~~~~~~~~~~~
In file included from <command-line>:
>> include/linux/list.h:522:18: error: invalid type argument of '->' (have 'struct list_head')
522 | list_entry((ptr)->next, type, member)
| ^~
include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert'
300 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:694:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
694 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
| ^~~~~~~~~~~~~~~~
include/linux/kernel.h:694:20: note: in expansion of macro '__same_type'
694 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
| ^~~~~~~~~~~
include/linux/list.h:511:2: note: in expansion of macro 'container_of'
511 | container_of(ptr, type, member)
| ^~~~~~~~~~~~
include/linux/list.h:522:2: note: in expansion of macro 'list_entry'
522 | list_entry((ptr)->next, type, member)
| ^~~~~~~~~~
include/linux/list.h:628:13: note: in expansion of macro 'list_first_entry'
628 | for (pos = list_first_entry(head, typeof(*pos), member); \
| ^~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1049:2: note: in expansion of macro 'list_for_each_entry'
1049 | list_for_each_entry(dp, dp->dst->ports, list) {
| ^~~~~~~~~~~~~~~~~~~
>> include/linux/list.h:522:18: error: invalid type argument of '->' (have 'struct list_head')
522 | list_entry((ptr)->next, type, member)
| ^~
include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert'
300 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:694:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
694 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
| ^~~~~~~~~~~~~~~~
include/linux/kernel.h:695:6: note: in expansion of macro '__same_type'
695 | !__same_type(*(ptr), void), \
| ^~~~~~~~~~~
include/linux/list.h:511:2: note: in expansion of macro 'container_of'
511 | container_of(ptr, type, member)
| ^~~~~~~~~~~~
include/linux/list.h:522:2: note: in expansion of macro 'list_entry'
522 | list_entry((ptr)->next, type, member)
| ^~~~~~~~~~
include/linux/list.h:628:13: note: in expansion of macro 'list_first_entry'
628 | for (pos = list_first_entry(head, typeof(*pos), member); \
| ^~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1049:2: note: in expansion of macro 'list_for_each_entry'
1049 | list_for_each_entry(dp, dp->dst->ports, list) {
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/preempt.h:11,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from include/linux/bvec.h:14,
from include/linux/skbuff.h:17,
from include/linux/if_ether.h:19,
from include/linux/etherdevice.h:20,
from drivers/net/dsa/rtl8366s.c:10:
>> include/linux/list.h:619:16: error: invalid operands to binary == (have 'const struct list_head *' and 'struct list_head')
619 | (&pos->member == (head))
| ^~ ~~~~~~
include/linux/list.h:629:8: note: in expansion of macro 'list_entry_is_head'
629 | !list_entry_is_head(pos, head, member); \
| ^~~~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1049:2: note: in expansion of macro 'list_for_each_entry'
1049 | list_for_each_entry(dp, dp->dst->ports, list) {
| ^~~~~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c: At top level:
>> drivers/net/dsa/rtl8366s.c:1130:25: error: initialization of 'int (*)(struct dsa_switch *, int, bool, struct netlink_ext_ack *)' {aka 'int (*)(struct dsa_switch *, int, _Bool, struct netlink_ext_ack *)'} from incompatible pointer type 'int (*)(struct dsa_switch *, int, bool)' {aka 'int (*)(struct dsa_switch *, int, _Bool)'} [-Werror=incompatible-pointer-types]
1130 | .port_vlan_filtering = rtl8366s_port_vlan_filtering,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1130:25: note: (near initialization for 'rtl8366s_switch_ops.port_vlan_filtering')
>> drivers/net/dsa/rtl8366s.c:1158:41: error: static declaration of 'rtl8366s_variant' follows non-static declaration
1158 | static const struct realtek_smi_variant rtl8366s_variant = {
| ^~~~~~~~~~~~~~~~
In file included from drivers/net/dsa/rtl8366s.c:14:
drivers/net/dsa/realtek-smi-core.h:146:41: note: previous declaration of 'rtl8366s_variant' was here
146 | extern const struct realtek_smi_variant rtl8366s_variant;
| ^~~~~~~~~~~~~~~~
drivers/net/dsa/rtl8366s.c:1158:41: warning: 'rtl8366s_variant' defined but not used [-Wunused-const-variable=]
1158 | static const struct realtek_smi_variant rtl8366s_variant = {
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/rtl8366_vlan_filtering +928 drivers/net/dsa/rtl8366s.c
906
907 static int rtl8366s_port_vlan_filtering(struct dsa_switch *ds, int port,
908 bool vlan_filtering)
909 {
910 struct realtek_smi *smi = ds->priv;
911 unsigned int val;
912 int ret;
913
914 /* Enable/Disable VLAN ingress filtering */
915 val = BIT(port);
916 ret = regmap_update_bits(smi->map, RTL8366S_VLAN_MEMBERINGRESS_REG,
917 val, vlan_filtering ? val : 0);
918 if (ret)
919 return ret;
920
921 /* Disable/Enable keep original tagged/untagged */
922 val = FIELD_PREP(RTL8366S_EGRESS_KEEP_FORMAT_MASK, val);
923 ret = regmap_update_bits(smi->map, RTL8366S_EGRESS_KEEP_FORMAT_REG,
924 val, vlan_filtering ? 0 : val);
925 if (ret)
926 return ret;
927
> 928 return rtl8366_vlan_filtering(ds, port, vlan_filtering);
929 }
930
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
arch/sh/kernel/ftrace.c:368:17: sparse: sparse: incorrect type in argument 1 (different address spaces)
by kernel test robot
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f40ddce88593482919761f74910f42f4b84c004b
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 6 months ago
config: sh-randconfig-s032-20210217 (attached as .config)
compiler: sh4-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-215-g0fb77bb6-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 e5fc436f06eef54ef512ea55a9db8eb9f2e76959
# 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=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> arch/sh/kernel/ftrace.c:368:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long *parent @@
arch/sh/kernel/ftrace.c:368:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/ftrace.c:368:17: sparse: got unsigned long *parent
--
>> arch/sh/kernel/cpu/sh3/serial-sh7720.c:16:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:16:32: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:16:32: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:17:25: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:17:25: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:17:25: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:20:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:20:32: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:20:32: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:21:25: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:21:25: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:21:25: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:26:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:26:32: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:26:32: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:27:25: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:27:25: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:27:25: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:30:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:30:32: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:30:32: sparse: got unsigned long
arch/sh/kernel/cpu/sh3/serial-sh7720.c:31:25: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/cpu/sh3/serial-sh7720.c:31:25: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/serial-sh7720.c:31:25: sparse: got unsigned long
--
>> arch/sh/boards/board-magicpanelr2.c:39:13: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:39:13: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:39:13: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:44:21: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:44:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:44:21: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:54:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:54:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:54:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:54:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:54:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:54:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:59:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:59:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:59:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:59:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:59:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:59:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:66:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:66:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:66:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:68:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:68:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:68:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:72:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:72:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:72:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:74:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:74:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:74:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:78:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:78:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:78:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:80:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:80:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:80:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:84:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:84:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:84:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:86:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:86:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:86:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:90:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:90:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:90:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:92:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:92:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:92:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:100:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:100:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:100:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:105:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:105:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:105:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:110:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:110:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:110:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:115:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:115:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:115:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:120:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:120:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:120:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:125:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:125:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:125:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:130:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:130:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:130:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:135:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:135:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:135:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:140:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:140:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:140:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:145:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:145:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:145:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:150:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:150:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:150:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:156:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:156:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:156:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:164:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:164:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:164:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:173:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:173:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:173:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:174:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:174:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:174:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:191:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:191:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:191:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:196:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:196:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/board-magicpanelr2.c:196:9: sparse: got unsigned long
arch/sh/boards/board-magicpanelr2.c:201:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/boards/board-magicpanelr2.c:201:9: sparse: expected void const volatile [noderef] __iomem *ptr
--
>> drivers/mmc/host/dw_mmc.c:602:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int * @@
drivers/mmc/host/dw_mmc.c:602:29: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/mmc/host/dw_mmc.c:602:29: sparse: got unsigned int *
>> drivers/mmc/host/dw_mmc.c:602:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int * @@
drivers/mmc/host/dw_mmc.c:602:29: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/mmc/host/dw_mmc.c:602:29: sparse: got unsigned int *
drivers/mmc/host/dw_mmc.c:615:25: sparse: sparse: restricted __le32 degrades to integer
drivers/mmc/host/dw_mmc.c:615:25: sparse: sparse: restricted __le32 degrades to integer
>> drivers/mmc/host/dw_mmc.c:674:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le32 * @@
drivers/mmc/host/dw_mmc.c:674:29: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/mmc/host/dw_mmc.c:674:29: sparse: got restricted __le32 *
drivers/mmc/host/dw_mmc.c:674:29: sparse: sparse: restricted __le32 degrades to integer
>> drivers/mmc/host/dw_mmc.c:674:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le32 * @@
drivers/mmc/host/dw_mmc.c:674:29: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/mmc/host/dw_mmc.c:674:29: sparse: got restricted __le32 *
drivers/mmc/host/dw_mmc.c:674:29: sparse: sparse: restricted __le32 degrades to integer
--
drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@
drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr
drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user *
>> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@
drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr
drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr
--
>> drivers/soc/qcom/smp2p.c:218:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int [usertype] *value @@
drivers/soc/qcom/smp2p.c:218:23: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/soc/qcom/smp2p.c:218:23: sparse: got unsigned int [usertype] *value
drivers/soc/qcom/smp2p.c:325:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int [usertype] *value @@
drivers/soc/qcom/smp2p.c:325:22: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/soc/qcom/smp2p.c:325:22: sparse: got unsigned int [usertype] *value
drivers/soc/qcom/smp2p.c:328:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int [usertype] *value @@
drivers/soc/qcom/smp2p.c:328:9: sparse: expected void const volatile [noderef] __iomem *ptr
drivers/soc/qcom/smp2p.c:328:9: sparse: got unsigned int [usertype] *value
--
drivers/watchdog/pcwd_usb.c:375:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/watchdog/pcwd_usb.c:375:37: sparse: expected char const *__gu_addr
drivers/watchdog/pcwd_usb.c:375:37: sparse: got char const [noderef] __user *
>> drivers/watchdog/pcwd_usb.c:375:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
drivers/watchdog/pcwd_usb.c:375:37: sparse: expected void const volatile [noderef] __user *ptr
drivers/watchdog/pcwd_usb.c:375:37: sparse: got char const *__gu_addr
drivers/watchdog/pcwd_usb.c:423:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/watchdog/pcwd_usb.c:423:21: sparse: expected int const *__gu_addr
drivers/watchdog/pcwd_usb.c:423:21: sparse: got int [noderef] __user *p
>> drivers/watchdog/pcwd_usb.c:423:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/watchdog/pcwd_usb.c:423:21: sparse: expected void const volatile [noderef] __user *ptr
drivers/watchdog/pcwd_usb.c:423:21: sparse: got int const *__gu_addr
drivers/watchdog/pcwd_usb.c:447:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/watchdog/pcwd_usb.c:447:21: sparse: expected int const *__gu_addr
drivers/watchdog/pcwd_usb.c:447:21: sparse: got int [noderef] __user *p
drivers/watchdog/pcwd_usb.c:447:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/watchdog/pcwd_usb.c:447:21: sparse: expected void const volatile [noderef] __user *ptr
drivers/watchdog/pcwd_usb.c:447:21: sparse: got int const *__gu_addr
--
drivers/watchdog/mv64x60_wdt.c:163:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/watchdog/mv64x60_wdt.c:163:37: sparse: expected char const *__gu_addr
drivers/watchdog/mv64x60_wdt.c:163:37: sparse: got char const [noderef] __user *
>> drivers/watchdog/mv64x60_wdt.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
drivers/watchdog/mv64x60_wdt.c:163:37: sparse: expected void const volatile [noderef] __user *ptr
drivers/watchdog/mv64x60_wdt.c:163:37: sparse: got char const *__gu_addr
drivers/watchdog/mv64x60_wdt.c:206:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/watchdog/mv64x60_wdt.c:206:21: sparse: expected int const *__gu_addr
drivers/watchdog/mv64x60_wdt.c:206:21: sparse: got int [noderef] __user *
>> drivers/watchdog/mv64x60_wdt.c:206:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/watchdog/mv64x60_wdt.c:206:21: sparse: expected void const volatile [noderef] __user *ptr
drivers/watchdog/mv64x60_wdt.c:206:21: sparse: got int const *__gu_addr
drivers/watchdog/mv64x60_wdt.c:222:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/watchdog/mv64x60_wdt.c:222:21: sparse: expected int const *__gu_addr
drivers/watchdog/mv64x60_wdt.c:222:21: sparse: got int [noderef] __user *
drivers/watchdog/mv64x60_wdt.c:222:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/watchdog/mv64x60_wdt.c:222:21: sparse: expected void const volatile [noderef] __user *ptr
drivers/watchdog/mv64x60_wdt.c:222:21: sparse: got int const *__gu_addr
vim +368 arch/sh/kernel/ftrace.c
327933f5d6cdf0 Matt Fleming 2009-07-11 303
327933f5d6cdf0 Matt Fleming 2009-07-11 304 /*
327933f5d6cdf0 Matt Fleming 2009-07-11 305 * Hook the return address and push it in the stack of return addrs
327933f5d6cdf0 Matt Fleming 2009-07-11 306 * in the current thread info.
327933f5d6cdf0 Matt Fleming 2009-07-11 307 *
327933f5d6cdf0 Matt Fleming 2009-07-11 308 * This is the main routine for the function graph tracer. The function
327933f5d6cdf0 Matt Fleming 2009-07-11 309 * graph tracer essentially works like this:
327933f5d6cdf0 Matt Fleming 2009-07-11 310 *
327933f5d6cdf0 Matt Fleming 2009-07-11 311 * parent is the stack address containing self_addr's return address.
327933f5d6cdf0 Matt Fleming 2009-07-11 312 * We pull the real return address out of parent and store it in
327933f5d6cdf0 Matt Fleming 2009-07-11 313 * current's ret_stack. Then, we replace the return address on the stack
327933f5d6cdf0 Matt Fleming 2009-07-11 314 * with the address of return_to_handler. self_addr is the function that
327933f5d6cdf0 Matt Fleming 2009-07-11 315 * called mcount.
327933f5d6cdf0 Matt Fleming 2009-07-11 316 *
327933f5d6cdf0 Matt Fleming 2009-07-11 317 * When self_addr returns, it will jump to return_to_handler which calls
327933f5d6cdf0 Matt Fleming 2009-07-11 318 * ftrace_return_to_handler. ftrace_return_to_handler will pull the real
327933f5d6cdf0 Matt Fleming 2009-07-11 319 * return address off of current's ret_stack and jump to it.
327933f5d6cdf0 Matt Fleming 2009-07-11 320 */
327933f5d6cdf0 Matt Fleming 2009-07-11 321 void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
327933f5d6cdf0 Matt Fleming 2009-07-11 322 {
327933f5d6cdf0 Matt Fleming 2009-07-11 323 unsigned long old;
bc715ee4dbc5db Steven Rostedt (VMware 2018-11-18 324) int faulted;
327933f5d6cdf0 Matt Fleming 2009-07-11 325 unsigned long return_hooker = (unsigned long)&return_to_handler;
327933f5d6cdf0 Matt Fleming 2009-07-11 326
7fa322dba30ced Steven Rostedt (Red Hat 2014-06-25 327) if (unlikely(ftrace_graph_is_dead()))
7fa322dba30ced Steven Rostedt (Red Hat 2014-06-25 328) return;
7fa322dba30ced Steven Rostedt (Red Hat 2014-06-25 329)
327933f5d6cdf0 Matt Fleming 2009-07-11 330 if (unlikely(atomic_read(¤t->tracing_graph_pause)))
327933f5d6cdf0 Matt Fleming 2009-07-11 331 return;
327933f5d6cdf0 Matt Fleming 2009-07-11 332
327933f5d6cdf0 Matt Fleming 2009-07-11 333 /*
327933f5d6cdf0 Matt Fleming 2009-07-11 334 * Protect against fault, even if it shouldn't
327933f5d6cdf0 Matt Fleming 2009-07-11 335 * happen. This tool is too much intrusive to
327933f5d6cdf0 Matt Fleming 2009-07-11 336 * ignore such a protection.
327933f5d6cdf0 Matt Fleming 2009-07-11 337 */
327933f5d6cdf0 Matt Fleming 2009-07-11 338 __asm__ __volatile__(
327933f5d6cdf0 Matt Fleming 2009-07-11 339 "1: \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 340 "mov.l @%2, %0 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 341 "2: \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 342 "mov.l %3, @%2 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 343 "mov #0, %1 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 344 "3: \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 345 ".section .fixup, \"ax\" \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 346 "4: \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 347 "mov.l 5f, %0 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 348 "jmp @%0 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 349 " mov #1, %1 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 350 ".balign 4 \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 351 "5: .long 3b \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 352 ".previous \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 353 ".section __ex_table,\"a\" \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 354 ".long 1b, 4b \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 355 ".long 2b, 4b \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 356 ".previous \n\t"
327933f5d6cdf0 Matt Fleming 2009-07-11 357 : "=&r" (old), "=r" (faulted)
327933f5d6cdf0 Matt Fleming 2009-07-11 358 : "r" (parent), "r" (return_hooker)
327933f5d6cdf0 Matt Fleming 2009-07-11 359 );
327933f5d6cdf0 Matt Fleming 2009-07-11 360
327933f5d6cdf0 Matt Fleming 2009-07-11 361 if (unlikely(faulted)) {
327933f5d6cdf0 Matt Fleming 2009-07-11 362 ftrace_graph_stop();
327933f5d6cdf0 Matt Fleming 2009-07-11 363 WARN_ON(1);
327933f5d6cdf0 Matt Fleming 2009-07-11 364 return;
327933f5d6cdf0 Matt Fleming 2009-07-11 365 }
327933f5d6cdf0 Matt Fleming 2009-07-11 366
bc715ee4dbc5db Steven Rostedt (VMware 2018-11-18 367) if (function_graph_enter(old, self_addr, 0, NULL))
327933f5d6cdf0 Matt Fleming 2009-07-11 @368 __raw_writel(old, parent);
:::::: The code at line 368 was first introduced by commit
:::::: 327933f5d6cdf083284d3c06e0370d1de464aef4 sh: Function graph tracer support
:::::: TO: Matt Fleming <matt(a)console-pimps.org>
:::::: CC: Paul Mundt <lethal(a)linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: {standard input}:577: Error: unsupported relocation against base
by Michael Ellerman
Segher Boessenkool <segher(a)kernel.crashing.org> writes:
> Hi!
>
> On Tue, Feb 16, 2021 at 08:36:02PM +1100, Michael Ellerman wrote:
>> Feng Tang <feng.tang(a)intel.com> writes:
>> > {standard input}:577: Error: unsupported relocation against base
>> > {standard input}:580: Error: unsupported relocation against base
>> > {standard input}:583: Error: unsupported relocation against base
>
>> > The reason is macro 'mfdcr' requirs an instant number as parameter,
>> > which is not met by show_plbopb_regs().
>>
>> It doesn't require a constant, it checks if the argument is constant:
>>
>> #define mfdcr(rn) \
>> ({unsigned int rval; \
>> if (__builtin_constant_p(rn) && rn < 1024) \
>> asm volatile("mfdcr %0," __stringify(rn) \
>> : "=r" (rval)); \
>> else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
>> rval = mfdcrx(rn); \
>> else \
>> rval = __mfdcr(rn); \
>> rval;})
>
> It requires a constant number with known (at compile time) value, while
> __builtin_constant_p checks for any constant. The address of some
> defined symbol is a constant as well normally, for example.
>
> It's better to write that asm as
> asm volatile("mfdcr %0,%1" : "=r" (rval) : "n"(rn));
> btw (the "n" constraint means "constant integer with known value" (it
> stands for "numeric"), while the "i" constraint means just "constant
> integer").
Actually that fixes it.
diff --git a/arch/powerpc/include/asm/dcr-native.h b/arch/powerpc/include/asm/dcr-native.h
index 7141ccea8c94..d143308b0f95 100644
--- a/arch/powerpc/include/asm/dcr-native.h
+++ b/arch/powerpc/include/asm/dcr-native.h
@@ -53,8 +53,8 @@ static inline void mtdcrx(unsigned int reg, unsigned int val)
#define mfdcr(rn) \
({unsigned int rval; \
if (__builtin_constant_p(rn) && rn < 1024) \
- asm volatile("mfdcr %0," __stringify(rn) \
- : "=r" (rval)); \
+ asm volatile("mfdcr %0, %1" : "=r" (rval) \
+ : "n" (rn)); \
else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
rval = mfdcrx(rn); \
else \
I guess because we give the compiler time to work out the constant,
rather than stringifying it immediately.
cheers
1 year, 7 months
[chrome-os:chromeos-4.4 10/11] drivers/gpu/drm/evdi/evdi_drv.c:93:6: warning: no previous prototype for 'evdi_platform_device_link'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 6d5e8cb22c2a82dde051b99b44498bbc350c7130
commit: b21837b752bb13dbd2c2da17377c23f2e3cea264 [10/11] CHROMIUM: drm/evdi: Create sysfs link from evdi to its parent device and unlink on detach
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.5.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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout b21837b752bb13dbd2c2da17377c23f2e3cea264
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=xtensa
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 >>):
cc1: warning: include/drm: No such file or directory [-Wmissing-include-dirs]
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/agp_backend.h:33,
from include/drm/drmP.h:35,
from drivers/gpu/drm/evdi/evdi_drv.c:10:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/xtensa/include/asm/page.h:175:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
^
include/linux/compiler.h:182:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/scatterlist.h:140:2: note: in expansion of macro 'BUG_ON'
BUG_ON(!virt_addr_valid(buf));
^~~~~~
arch/xtensa/include/asm/page.h:183:32: note: in expansion of macro 'pfn_valid'
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
^~~~~~~~~
include/linux/scatterlist.h:140:10: note: in expansion of macro 'virt_addr_valid'
BUG_ON(!virt_addr_valid(buf));
^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/evdi/evdi_drv.h:23:0,
from drivers/gpu/drm/evdi/evdi_drv.c:17:
include/linux/reservation.h: In function 'reservation_object_fini':
include/linux/reservation.h:122:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < fobj->shared_count; ++i)
^
drivers/gpu/drm/evdi/evdi_drv.c: At top level:
drivers/gpu/drm/evdi/evdi_drv.c:81:6: warning: no previous prototype for 'evdi_platform_device_is_free' [-Wmissing-prototypes]
bool evdi_platform_device_is_free(struct platform_device *pdev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/evdi/evdi_drv.c:93:6: warning: no previous prototype for 'evdi_platform_device_link' [-Wmissing-prototypes]
void evdi_platform_device_link(struct platform_device *pdev,
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/evdi/evdi_drv.c: In function 'add_device_with_usb_path':
drivers/gpu/drm/evdi/evdi_drv.c:367:8: warning: variable 'itf_token' set but not used [-Wunused-but-set-variable]
char *itf_token = NULL;
^~~~~~~~~
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_init':
drivers/gpu/drm/evdi/evdi_drv.c:555:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(evdi_device_attributes); i++) {
^
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_exit':
drivers/gpu/drm/evdi/evdi_drv.c:574:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(evdi_device_attributes); i++) {
^
vim +/evdi_platform_device_link +93 drivers/gpu/drm/evdi/evdi_drv.c
92
> 93 void evdi_platform_device_link(struct platform_device *pdev,
94 struct device *parent)
95 {
96 struct evdi_platform_device_data *data = NULL;
97 int ret = 0;
98
99 if (!parent || !pdev)
100 return;
101
102 data = (struct evdi_platform_device_data *)platform_get_drvdata(pdev);
103 if (!evdi_platform_device_is_free(pdev)) {
104 EVDI_FATAL("Device is already attached can't symlink again\n");
105 return;
106 }
107
108 ret = sysfs_create_link(&pdev->dev.kobj, &parent->kobj, "device");
109 if (ret) {
110 EVDI_FATAL("Failed to create sysfs link to parent device\n");
111 } else {
112 data->symlinked = true;
113 data->parent = parent;
114 }
115 }
116
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months