[rdma:wip/jgg-for-next 106/128] drivers/infiniband/ulp/rtrs/rtrs-clt.c:1196 rtrs_clt_failover_req() warn: inconsistent indenting
by kbuild test robot
Hi Jack,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
head: 41d5e318ccb34bded248a7a4c97264fdb1c8a42e
commit: c013fbc1fd341d28269cf0a6b465925186b9a1e1 [106/128] RDMA/rtrs: include client and server modules into kernel compilation
config: i386-allyesconfig (attached as .config)
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
smatch warnings:
drivers/infiniband/ulp/rtrs/rtrs-clt.c:1196 rtrs_clt_failover_req() warn: inconsistent indenting
drivers/infiniband/ulp/rtrs/rtrs-clt.c:2890 rtrs_clt_request() warn: inconsistent indenting
vim +1196 drivers/infiniband/ulp/rtrs/rtrs-clt.c
6a98d71daea186 Jack Wang 2020-05-11 1166
6a98d71daea186 Jack Wang 2020-05-11 1167 /**
6a98d71daea186 Jack Wang 2020-05-11 1168 * rtrs_clt_failover_req() Try to find an active path for a failed request
6a98d71daea186 Jack Wang 2020-05-11 1169 * @clt: clt context
6a98d71daea186 Jack Wang 2020-05-11 1170 * @fail_req: a failed io request.
6a98d71daea186 Jack Wang 2020-05-11 1171 */
6a98d71daea186 Jack Wang 2020-05-11 1172 static int rtrs_clt_failover_req(struct rtrs_clt *clt,
6a98d71daea186 Jack Wang 2020-05-11 1173 struct rtrs_clt_io_req *fail_req)
6a98d71daea186 Jack Wang 2020-05-11 1174 {
6a98d71daea186 Jack Wang 2020-05-11 1175 struct rtrs_clt_sess *alive_sess;
6a98d71daea186 Jack Wang 2020-05-11 1176 struct rtrs_clt_io_req *req;
6a98d71daea186 Jack Wang 2020-05-11 1177 int err = -ECONNABORTED;
6a98d71daea186 Jack Wang 2020-05-11 1178 struct path_it it;
6a98d71daea186 Jack Wang 2020-05-11 1179
6a98d71daea186 Jack Wang 2020-05-11 1180 do_each_path(alive_sess, clt, &it) {
6a98d71daea186 Jack Wang 2020-05-11 1181 if (unlikely(READ_ONCE(alive_sess->state) !=
6a98d71daea186 Jack Wang 2020-05-11 1182 RTRS_CLT_CONNECTED))
6a98d71daea186 Jack Wang 2020-05-11 1183 continue;
6a98d71daea186 Jack Wang 2020-05-11 1184 req = rtrs_clt_get_copy_req(alive_sess, fail_req);
6a98d71daea186 Jack Wang 2020-05-11 1185 if (req->dir == DMA_TO_DEVICE)
6a98d71daea186 Jack Wang 2020-05-11 1186 err = rtrs_clt_write_req(req);
6a98d71daea186 Jack Wang 2020-05-11 1187 else
6a98d71daea186 Jack Wang 2020-05-11 1188 err = rtrs_clt_read_req(req);
6a98d71daea186 Jack Wang 2020-05-11 1189 if (unlikely(err)) {
6a98d71daea186 Jack Wang 2020-05-11 1190 req->in_use = false;
6a98d71daea186 Jack Wang 2020-05-11 1191 continue;
6a98d71daea186 Jack Wang 2020-05-11 1192 }
6a98d71daea186 Jack Wang 2020-05-11 1193 /* Success path */
6a98d71daea186 Jack Wang 2020-05-11 1194 rtrs_clt_inc_failover_cnt(alive_sess->stats);
6a98d71daea186 Jack Wang 2020-05-11 1195 break;
6a98d71daea186 Jack Wang 2020-05-11 @1196 } while_each_path(&it);
6a98d71daea186 Jack Wang 2020-05-11 1197
6a98d71daea186 Jack Wang 2020-05-11 1198 return err;
6a98d71daea186 Jack Wang 2020-05-11 1199 }
6a98d71daea186 Jack Wang 2020-05-11 1200
:::::: The code at line 1196 was first introduced by commit
:::::: 6a98d71daea186247005099758af549e6afdd244 RDMA/rtrs: client: main functionality
:::::: TO: Jack Wang <jinpu.wang(a)cloud.ionos.com>
:::::: CC: Jason Gunthorpe <jgg(a)mellanox.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[leon-rdma:testing/rdma-next 4/5] ld.lld: error: section .rodata at 0xFFFFFFFF84F87000 of size 0x216AD7 exceeds available address space
by kbuild test robot
TO: Leon Romanovsky <leonro(a)mellanox.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git testing/rdma-next
head: 46a0f29c74069ab6d2f33e26840c95a6d02fc873
commit: a6f990ca8deb9750bc4630ad83b499e1407f2522 [4/5] Merge branch 'rdma-next' into testing/rdma-next
config: mips-randconfig-r004-20200517 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout a6f990ca8deb9750bc4630ad83b499e1407f2522
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld.lld: error: section .text at 0xFFFFFFFF84000000 of size 0xF84D2C exceeds available address space
ld.lld: error: section __ex_table at 0xFFFFFFFF84F84D30 of size 0x1DE8 exceeds available address space
ld.lld: error: section __dbe_table at 0xFFFFFFFF84F86B18 of size 0x0 exceeds available address space
>> ld.lld: error: section .rodata at 0xFFFFFFFF84F87000 of size 0x216AD7 exceeds available address space
ld.lld: error: section .data..page_aligned at 0xFFFFFFFF8519E000 of size 0x2000 exceeds available address space
ld.lld: error: section .got at 0xFFFFFFFF851A0000 of size 0x8 exceeds available address space
ld.lld: error: section .rodata1 at 0xFFFFFFFF851A0008 of size 0x0 exceeds available address space
ld.lld: error: section .pci_fixup at 0xFFFFFFFF851A0008 of size 0x1E90 exceeds available address space
ld.lld: error: section .builtin_fw at 0xFFFFFFFF851A1E98 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab at 0xFFFFFFFF851A1E98 of size 0x10374 exceeds available address space
ld.lld: error: section __ksymtab_gpl at 0xFFFFFFFF851B220C of size 0xEF4C exceeds available address space
ld.lld: error: section __ksymtab_unused at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_unused_gpl at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_gpl_future at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused_gpl at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl_future at 0xFFFFFFFF851C1158 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_strings at 0xFFFFFFFF851C1158 of size 0x3436B exceeds available address space
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[linux-next:pending-fixes 528/557] drivers/mtd/nand/spi/core.c:1093:26: error: 'struct nand_device' has no member named 'ecc'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes
head: f7a4ee5329e2ea5cbbe17eaa8fff8d4e29b9bd7f
commit: d5baa0ec83de3739de003f3706c2ddd428f61001 [528/557] mtd: spinand: Propagate ECC information to the MTD structure
config: arc-allyesconfig (attached as .config)
compiler: arc-elf-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
git checkout d5baa0ec83de3739de003f3706c2ddd428f61001
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the linux-next/pending-fixes HEAD f7a4ee5329e2ea5cbbe17eaa8fff8d4e29b9bd7f builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/mtd/nand/spi/core.c: In function 'spinand_init':
>> drivers/mtd/nand/spi/core.c:1093:26: error: 'struct nand_device' has no member named 'ecc'
1093 | mtd->ecc_strength = nand->ecc.ctx.conf.strength;
| ^~
drivers/mtd/nand/spi/core.c:1094:27: error: 'struct nand_device' has no member named 'ecc'
1094 | mtd->ecc_step_size = nand->ecc.ctx.conf.step_size;
| ^~
vim +1093 drivers/mtd/nand/spi/core.c
991
992 static int spinand_init(struct spinand_device *spinand)
993 {
994 struct device *dev = &spinand->spimem->spi->dev;
995 struct mtd_info *mtd = spinand_to_mtd(spinand);
996 struct nand_device *nand = mtd_to_nanddev(mtd);
997 int ret, i;
998
999 /*
1000 * We need a scratch buffer because the spi_mem interface requires that
1001 * buf passed in spi_mem_op->data.buf be DMA-able.
1002 */
1003 spinand->scratchbuf = kzalloc(SPINAND_MAX_ID_LEN, GFP_KERNEL);
1004 if (!spinand->scratchbuf)
1005 return -ENOMEM;
1006
1007 ret = spinand_detect(spinand);
1008 if (ret)
1009 goto err_free_bufs;
1010
1011 /*
1012 * Use kzalloc() instead of devm_kzalloc() here, because some drivers
1013 * may use this buffer for DMA access.
1014 * Memory allocated by devm_ does not guarantee DMA-safe alignment.
1015 */
1016 spinand->databuf = kzalloc(nanddev_page_size(nand) +
1017 nanddev_per_page_oobsize(nand),
1018 GFP_KERNEL);
1019 if (!spinand->databuf) {
1020 ret = -ENOMEM;
1021 goto err_free_bufs;
1022 }
1023
1024 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand);
1025
1026 ret = spinand_init_cfg_cache(spinand);
1027 if (ret)
1028 goto err_free_bufs;
1029
1030 ret = spinand_init_quad_enable(spinand);
1031 if (ret)
1032 goto err_free_bufs;
1033
1034 ret = spinand_upd_cfg(spinand, CFG_OTP_ENABLE, 0);
1035 if (ret)
1036 goto err_free_bufs;
1037
1038 ret = spinand_manufacturer_init(spinand);
1039 if (ret) {
1040 dev_err(dev,
1041 "Failed to initialize the SPI NAND chip (err = %d)\n",
1042 ret);
1043 goto err_free_bufs;
1044 }
1045
1046 ret = spinand_create_dirmaps(spinand);
1047 if (ret) {
1048 dev_err(dev,
1049 "Failed to create direct mappings for read/write operations (err = %d)\n",
1050 ret);
1051 goto err_manuf_cleanup;
1052 }
1053
1054 /* After power up, all blocks are locked, so unlock them here. */
1055 for (i = 0; i < nand->memorg.ntargets; i++) {
1056 ret = spinand_select_target(spinand, i);
1057 if (ret)
1058 goto err_manuf_cleanup;
1059
1060 ret = spinand_lock_block(spinand, BL_ALL_UNLOCKED);
1061 if (ret)
1062 goto err_manuf_cleanup;
1063 }
1064
1065 ret = nanddev_init(nand, &spinand_ops, THIS_MODULE);
1066 if (ret)
1067 goto err_manuf_cleanup;
1068
1069 /*
1070 * Right now, we don't support ECC, so let the whole oob
1071 * area is available for user.
1072 */
1073 mtd->_read_oob = spinand_mtd_read;
1074 mtd->_write_oob = spinand_mtd_write;
1075 mtd->_block_isbad = spinand_mtd_block_isbad;
1076 mtd->_block_markbad = spinand_mtd_block_markbad;
1077 mtd->_block_isreserved = spinand_mtd_block_isreserved;
1078 mtd->_erase = spinand_mtd_erase;
1079 mtd->_max_bad_blocks = nanddev_mtd_max_bad_blocks;
1080
1081 if (spinand->eccinfo.ooblayout)
1082 mtd_set_ooblayout(mtd, spinand->eccinfo.ooblayout);
1083 else
1084 mtd_set_ooblayout(mtd, &spinand_noecc_ooblayout);
1085
1086 ret = mtd_ooblayout_count_freebytes(mtd);
1087 if (ret < 0)
1088 goto err_cleanup_nanddev;
1089
1090 mtd->oobavail = ret;
1091
1092 /* Propagate ECC information to mtd_info */
> 1093 mtd->ecc_strength = nand->ecc.ctx.conf.strength;
1094 mtd->ecc_step_size = nand->ecc.ctx.conf.step_size;
1095
1096 return 0;
1097
1098 err_cleanup_nanddev:
1099 nanddev_cleanup(nand);
1100
1101 err_manuf_cleanup:
1102 spinand_manufacturer_cleanup(spinand);
1103
1104 err_free_bufs:
1105 kfree(spinand->databuf);
1106 kfree(spinand->scratchbuf);
1107 return ret;
1108 }
1109
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3d1c1e5931ce45b3a3f309385bbc00c78e9951c6
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date: 7 months ago
config: mips-randconfig-r011-20200517 (attached as .config)
compiler: mips64-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
git checkout 7505576d1c1ac0cfe85fdf90999433dd8b673012
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
mips64-linux-ld: arch/mips/kernel/signal.o: in function `restore_hw_fp_context':
>> arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context'
mips64-linux-ld: arch/mips/kernel/signal.o: in function `save_hw_fp_context':
>> arch/mips/kernel/signal.c:132: undefined reference to `_save_fp_context'
mips64-linux-ld: arch/mips/kernel/traps.o: in function `trap_init':
>> arch/mips/kernel/traps.c:2408: undefined reference to `handle_fpe'
>> mips64-linux-ld: arch/mips/kernel/traps.c:2412: undefined reference to `handle_fpe'
>> mips64-linux-ld: arch/mips/kernel/traps.c:2412: undefined reference to `handle_fpe'
vim +141 arch/mips/kernel/signal.c
4eec81d7d8b212 Paul Burton 2018-11-07 122
2db9ca0a355100 Paul Burton 2015-07-27 123 /*
2db9ca0a355100 Paul Burton 2015-07-27 124 * Wrappers for the assembly _{save,restore}_fp_context functions.
2db9ca0a355100 Paul Burton 2015-07-27 125 */
2db9ca0a355100 Paul Burton 2015-07-27 126 static int save_hw_fp_context(void __user *sc)
2db9ca0a355100 Paul Burton 2015-07-27 127 {
2db9ca0a355100 Paul Burton 2015-07-27 128 struct mips_abi *abi = current->thread.abi;
2db9ca0a355100 Paul Burton 2015-07-27 129 uint64_t __user *fpregs = sc + abi->off_sc_fpregs;
2db9ca0a355100 Paul Burton 2015-07-27 130 uint32_t __user *csr = sc + abi->off_sc_fpc_csr;
2db9ca0a355100 Paul Burton 2015-07-27 131
2db9ca0a355100 Paul Burton 2015-07-27 @132 return _save_fp_context(fpregs, csr);
2db9ca0a355100 Paul Burton 2015-07-27 133 }
2db9ca0a355100 Paul Burton 2015-07-27 134
2db9ca0a355100 Paul Burton 2015-07-27 135 static int restore_hw_fp_context(void __user *sc)
2db9ca0a355100 Paul Burton 2015-07-27 136 {
2db9ca0a355100 Paul Burton 2015-07-27 137 struct mips_abi *abi = current->thread.abi;
2db9ca0a355100 Paul Burton 2015-07-27 138 uint64_t __user *fpregs = sc + abi->off_sc_fpregs;
2db9ca0a355100 Paul Burton 2015-07-27 139 uint32_t __user *csr = sc + abi->off_sc_fpc_csr;
2db9ca0a355100 Paul Burton 2015-07-27 140
2db9ca0a355100 Paul Burton 2015-07-27 @141 return _restore_fp_context(fpregs, csr);
2db9ca0a355100 Paul Burton 2015-07-27 142 }
2db9ca0a355100 Paul Burton 2015-07-27 143
:::::: The code at line 141 was first introduced by commit
:::::: 2db9ca0a355100c40d1bef2aae3b9d9cf199cd04 MIPS: Use struct mips_abi offsets to save FP context
:::::: TO: Paul Burton <paul.burton(a)imgtec.com>
:::::: CC: Ralf Baechle <ralf(a)linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[linux-stable-rc:linux-4.4.y 7661/9999] include/linux/slab.h:546: undefined reference to `__multi3'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
head: ceb6b0b3f45d368cf15b65cb3d690cffaab7bf38
commit: 44d3e9852350e7797096097f47fd3972b94fb657 [7661/9999] USB: ldusb: fix read info leaks
config: sparc64-randconfig-r015-20200517 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 44d3e9852350e7797096097f47fd3972b94fb657
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=7.5.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ipc/built-in.o: In function `mq_attr_ok':
ipc/mqueue.c:717: undefined reference to `__multi3'
drivers/built-in.o: In function `kmalloc_array':
>> include/linux/slab.h:546: undefined reference to `__multi3'
vim +546 include/linux/slab.h
ba6c496ed834a3 Glauber Costa 2012-12-18 537
e7efa615ccf783 Michael Opdenacker 2013-06-25 538 /**
e7efa615ccf783 Michael Opdenacker 2013-06-25 539 * kmalloc_array - allocate memory for an array.
e7efa615ccf783 Michael Opdenacker 2013-06-25 540 * @n: number of elements.
e7efa615ccf783 Michael Opdenacker 2013-06-25 541 * @size: element size.
e7efa615ccf783 Michael Opdenacker 2013-06-25 542 * @flags: the type of memory to allocate (see kmalloc).
800590f523bf3b Paul Drynoff 2006-06-23 543 */
a8203725dfded5 Xi Wang 2012-03-05 544 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags)
^1da177e4c3f41 Linus Torvalds 2005-04-16 545 {
a3860c1c5dd113 Xi Wang 2012-05-31 @546 if (size != 0 && n > SIZE_MAX / size)
6193a2ff180920 Paul Mundt 2007-07-15 547 return NULL;
a8203725dfded5 Xi Wang 2012-03-05 548 return __kmalloc(n * size, flags);
a8203725dfded5 Xi Wang 2012-03-05 549 }
a8203725dfded5 Xi Wang 2012-03-05 550
:::::: The code at line 546 was first introduced by commit
:::::: a3860c1c5dd1137db23d7786d284939c5761d517 introduce SIZE_MAX
:::::: TO: Xi Wang <xi.wang(a)gmail.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from constant value (58f becomes 8f)
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 051e6b7e34b9bd24f46725f74994a4d3a653966e
commit: 06e85c7e9a1c1356038936566fc23f7c0d363b96 asm-generic: fix unistd_32.h generation format
date: 5 weeks ago
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout 06e85c7e9a1c1356038936566fc23f7c0d363b96
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from constant value (58f becomes 8f)
vim +5306 drivers/scsi/ncr53c8xx.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 5243
^1da177e4c3f41 Linus Torvalds 2005-04-16 5244 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5245 ** Start at first entry.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5246 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5247 np->script0->done_pos[0] = cpu_to_scr(NCB_SCRIPTH_PHYS (np,done_queue));
^1da177e4c3f41 Linus Torvalds 2005-04-16 5248 np->ccb_done_ic = MAX_DONE-1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5249 np->scripth0->done_queue[5*(MAX_DONE-1) + 4] =
^1da177e4c3f41 Linus Torvalds 2005-04-16 5250 cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug));
^1da177e4c3f41 Linus Torvalds 2005-04-16 5251
^1da177e4c3f41 Linus Torvalds 2005-04-16 5252 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5253 ** Wakeup all pending jobs.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5254 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5255 ncr_wakeup (np, code);
^1da177e4c3f41 Linus Torvalds 2005-04-16 5256
^1da177e4c3f41 Linus Torvalds 2005-04-16 5257 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5258 ** Init chip.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5259 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5260
^1da177e4c3f41 Linus Torvalds 2005-04-16 5261 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5262 ** Remove reset; big delay because the 895 needs time for the
^1da177e4c3f41 Linus Torvalds 2005-04-16 5263 ** bus mode to settle
^1da177e4c3f41 Linus Torvalds 2005-04-16 5264 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5265 ncr_chip_reset(np, 2000);
^1da177e4c3f41 Linus Torvalds 2005-04-16 5266
^1da177e4c3f41 Linus Torvalds 2005-04-16 5267 OUTB (nc_scntl0, np->rv_scntl0 | 0xc0);
^1da177e4c3f41 Linus Torvalds 2005-04-16 5268 /* full arb., ena parity, par->ATN */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5269 OUTB (nc_scntl1, 0x00); /* odd parity, and remove CRST!! */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5270
^1da177e4c3f41 Linus Torvalds 2005-04-16 5271 ncr_selectclock(np, np->rv_scntl3); /* Select SCSI clock */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5272
^1da177e4c3f41 Linus Torvalds 2005-04-16 5273 OUTB (nc_scid , RRE|np->myaddr); /* Adapter SCSI address */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5274 OUTW (nc_respid, 1ul<<np->myaddr); /* Id to respond to */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5275 OUTB (nc_istat , SIGP ); /* Signal Process */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5276 OUTB (nc_dmode , np->rv_dmode); /* Burst length, dma mode */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5277 OUTB (nc_ctest5, np->rv_ctest5); /* Large fifo + large burst */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5278
^1da177e4c3f41 Linus Torvalds 2005-04-16 5279 OUTB (nc_dcntl , NOCOM|np->rv_dcntl); /* Protect SFBR */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5280 OUTB (nc_ctest0, np->rv_ctest0); /* 720: CDIS and EHP */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5281 OUTB (nc_ctest3, np->rv_ctest3); /* Write and invalidate */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5282 OUTB (nc_ctest4, np->rv_ctest4); /* Master parity checking */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5283
^1da177e4c3f41 Linus Torvalds 2005-04-16 5284 OUTB (nc_stest2, EXT|np->rv_stest2); /* Extended Sreq/Sack filtering */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5285 OUTB (nc_stest3, TE); /* TolerANT enable */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5286 OUTB (nc_stime0, 0x0c ); /* HTH disabled STO 0.25 sec */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5287
^1da177e4c3f41 Linus Torvalds 2005-04-16 5288 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5289 ** Disable disconnects.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5290 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5291
^1da177e4c3f41 Linus Torvalds 2005-04-16 5292 np->disc = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5293
^1da177e4c3f41 Linus Torvalds 2005-04-16 5294 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5295 ** Enable GPIO0 pin for writing if LED support.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5296 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5297
^1da177e4c3f41 Linus Torvalds 2005-04-16 5298 if (np->features & FE_LED0) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 5299 OUTOFFB (nc_gpcntl, 0x01);
^1da177e4c3f41 Linus Torvalds 2005-04-16 5300 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5301
^1da177e4c3f41 Linus Torvalds 2005-04-16 5302 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5303 ** enable ints
^1da177e4c3f41 Linus Torvalds 2005-04-16 5304 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5305
^1da177e4c3f41 Linus Torvalds 2005-04-16 @5306 OUTW (nc_sien , STO|HTH|MA|SGE|UDC|RST|PAR);
^1da177e4c3f41 Linus Torvalds 2005-04-16 5307 OUTB (nc_dien , MDPE|BF|ABRT|SSI|SIR|IID);
^1da177e4c3f41 Linus Torvalds 2005-04-16 5308
^1da177e4c3f41 Linus Torvalds 2005-04-16 5309 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5310 ** Fill in target structure.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5311 ** Reinitialize usrsync.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5312 ** Reinitialize usrwide.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5313 ** Prepare sync negotiation according to actual SCSI bus mode.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5314 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5315
^1da177e4c3f41 Linus Torvalds 2005-04-16 5316 for (i=0;i<MAX_TARGET;i++) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 5317 struct tcb *tp = &np->target[i];
^1da177e4c3f41 Linus Torvalds 2005-04-16 5318
^1da177e4c3f41 Linus Torvalds 2005-04-16 5319 tp->sval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5320 tp->wval = np->rv_scntl3;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5321
^1da177e4c3f41 Linus Torvalds 2005-04-16 5322 if (tp->usrsync != 255) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 5323 if (tp->usrsync <= np->maxsync) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 5324 if (tp->usrsync < np->minsync) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 5325 tp->usrsync = np->minsync;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5326 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5327 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5328 else
^1da177e4c3f41 Linus Torvalds 2005-04-16 5329 tp->usrsync = 255;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5330 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5331
^1da177e4c3f41 Linus Torvalds 2005-04-16 5332 if (tp->usrwide > np->maxwide)
^1da177e4c3f41 Linus Torvalds 2005-04-16 5333 tp->usrwide = np->maxwide;
^1da177e4c3f41 Linus Torvalds 2005-04-16 5334
^1da177e4c3f41 Linus Torvalds 2005-04-16 5335 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5336
^1da177e4c3f41 Linus Torvalds 2005-04-16 5337 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 5338 ** Start script processor.
^1da177e4c3f41 Linus Torvalds 2005-04-16 5339 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 5340 if (np->paddr2) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 5341 if (bootverbose)
^1da177e4c3f41 Linus Torvalds 2005-04-16 5342 printk ("%s: Downloading SCSI SCRIPTS.\n",
^1da177e4c3f41 Linus Torvalds 2005-04-16 5343 ncr_name(np));
^1da177e4c3f41 Linus Torvalds 2005-04-16 5344 OUTL (nc_scratcha, vtobus(np->script0));
^1da177e4c3f41 Linus Torvalds 2005-04-16 5345 OUTL_DSP (NCB_SCRIPTH_PHYS (np, start_ram));
^1da177e4c3f41 Linus Torvalds 2005-04-16 5346 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5347 else
^1da177e4c3f41 Linus Torvalds 2005-04-16 5348 OUTL_DSP (NCB_SCRIPT_PHYS (np, start));
^1da177e4c3f41 Linus Torvalds 2005-04-16 5349 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 5350
:::::: The code at line 5306 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH v7 7/7] input: joystick: Add ADC attached joystick driver.
by kbuild test robot
Hi Artur,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on iio/togreg]
[also build test WARNING on input/next robh/for-next v5.7-rc5 next-20200515]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Artur-Rojek/dt-bindings-iio-adc-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: i386-allyesconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/input/joystick/adc-joystick.c:49:39: sparse: sparse: cast to restricted __be16
>> drivers/input/joystick/adc-joystick.c:49:39: sparse: sparse: cast to restricted __be16
>> drivers/input/joystick/adc-joystick.c:49:39: sparse: sparse: cast to restricted __be16
>> drivers/input/joystick/adc-joystick.c:49:39: sparse: sparse: cast to restricted __be16
>> drivers/input/joystick/adc-joystick.c:51:39: sparse: sparse: cast to restricted __le16
vim +49 drivers/input/joystick/adc-joystick.c
28
29 static int adc_joystick_handle(const void *data, void *private)
30 {
31 struct adc_joystick *joy = private;
32 enum iio_endian endianness;
33 int bytes, msb, val, i;
34 bool sign;
35
36 bytes = joy->chans[0].channel->scan_type.storagebits >> 3;
37
38 for (i = 0; i < joy->num_chans; ++i) {
39 endianness = joy->chans[i].channel->scan_type.endianness;
40 msb = joy->chans[i].channel->scan_type.realbits - 1;
41 sign = (tolower(joy->chans[i].channel->scan_type.sign) == 's');
42
43 switch (bytes) {
44 case 1:
45 val = ((const u8 *)data)[i];
46 break;
47 case 2:
48 if (endianness == IIO_BE)
> 49 val = be16_to_cpu(((const u16 *)data)[i]);
50 else if (endianness == IIO_LE)
> 51 val = le16_to_cpu(((const u16 *)data)[i]);
52 else /* IIO_CPU */
53 val = ((const u16 *)data)[i];
54 break;
55 default:
56 return -EINVAL;
57 }
58
59 val >>= joy->chans[i].channel->scan_type.shift;
60 if (sign)
61 val = sign_extend32(val, msb);
62 else
63 val &= GENMASK(msb, 0);
64 input_report_abs(joy->input, joy->axes[i].code, val);
65 }
66
67 input_sync(joy->input);
68
69 return 0;
70 }
71
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH v2 1/2] fbdev: annotate rivafb/nvidiafb as obsolete
by kbuild test robot
Hi Emil,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on powerpc/next]
[also build test WARNING on tegra-drm/drm/tegra/for-next linus/master v5.7-rc5 next-20200515]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Emil-Velikov/fbdev-annotate-riva...
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/video/fbdev/riva/fbdev.c: In function 'rivafb_init':
>> drivers/video/fbdev/riva/fbdev.c:2167:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *option = NULL;
^~~~
--
drivers/video/fbdev/nvidia/nvidia.c: In function 'nvidiafb_init':
>> drivers/video/fbdev/nvidia/nvidia.c:1519:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *option = NULL;
^~~~
vim +2167 drivers/video/fbdev/riva/fbdev.c
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2152
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2153
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2154
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2155 /* ------------------------------------------------------------------------- *
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2156 *
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2157 * modularization
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2158 *
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2159 * ------------------------------------------------------------------------- */
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2160
48c68c4f1b5424 drivers/video/riva/fbdev.c Greg Kroah-Hartman 2012-12-21 2161 static int rivafb_init(void)
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2162 {
f59e794dc40501 drivers/video/fbdev/riva/fbdev.c Emil Velikov 2020-05-17 2163 pr_warn("Legacy rivafb framebuffer driver will be removed in 2022\n"
f59e794dc40501 drivers/video/fbdev/riva/fbdev.c Emil Velikov 2020-05-17 2164 "Please switch to nouveau DRM driver\n");
f59e794dc40501 drivers/video/fbdev/riva/fbdev.c Emil Velikov 2020-05-17 2165
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2166 #ifndef MODULE
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 @2167 char *option = NULL;
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2168
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2169 if (fb_get_options("rivafb", &option))
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2170 return -ENODEV;
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2171 rivafb_setup(option);
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2172 #endif
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2173 return pci_register_driver(&rivafb_driver);
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2174 }
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2175
:::::: The code at line 2167 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH v2 1/2] fbdev: annotate rivafb/nvidiafb as obsolete
by kbuild test robot
Hi Emil,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on powerpc/next]
[also build test WARNING on tegra-drm/drm/tegra/for-next linus/master v5.7-rc5 next-20200515]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Emil-Velikov/fbdev-annotate-riva...
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/video/fbdev/riva/fbdev.c:2167:8: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
char *option = NULL;
^
1 warning generated.
--
>> drivers/video/fbdev/nvidia/nvidia.c:1519:8: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
char *option = NULL;
^
1 warning generated.
vim +2167 drivers/video/fbdev/riva/fbdev.c
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2152
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2153
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2154
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2155 /* ------------------------------------------------------------------------- *
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2156 *
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2157 * modularization
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2158 *
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2159 * ------------------------------------------------------------------------- */
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2160
48c68c4f1b5424 drivers/video/riva/fbdev.c Greg Kroah-Hartman 2012-12-21 2161 static int rivafb_init(void)
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2162 {
f59e794dc40501 drivers/video/fbdev/riva/fbdev.c Emil Velikov 2020-05-17 2163 pr_warn("Legacy rivafb framebuffer driver will be removed in 2022\n"
f59e794dc40501 drivers/video/fbdev/riva/fbdev.c Emil Velikov 2020-05-17 2164 "Please switch to nouveau DRM driver\n");
f59e794dc40501 drivers/video/fbdev/riva/fbdev.c Emil Velikov 2020-05-17 2165
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2166 #ifndef MODULE
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 @2167 char *option = NULL;
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2168
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2169 if (fb_get_options("rivafb", &option))
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2170 return -ENODEV;
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2171 rivafb_setup(option);
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2172 #endif
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2173 return pci_register_driver(&rivafb_driver);
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2174 }
^1da177e4c3f41 drivers/video/riva/fbdev.c Linus Torvalds 2005-04-16 2175
:::::: The code at line 2167 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[power-supply:for-next 43/59] ld.lld: error: section .text at 0xFFFFFFFF84000000 of size 0xF84274 exceeds available address space
by kbuild test robot
TO: Matti Vaittinen <matti.vaittinen(a)fi.rohmeurope.com>, Matti Vaittinen <mazziesaccount(a)gmail.com>
CC: Sebastian Reichel <sre(a)kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next
head: eda8ffcc5edf17a5b895aa1c77633dc55955c040
commit: 5a63b7ba50fd6b7a897bf9353dbf31d579cfe116 [43/59] power: supply: add battery parameters
config: mips-randconfig-r004-20200517 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout 5a63b7ba50fd6b7a897bf9353dbf31d579cfe116
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ld.lld: error: section .text at 0xFFFFFFFF84000000 of size 0xF84274 exceeds available address space
>> ld.lld: error: section __ex_table at 0xFFFFFFFF84F84280 of size 0x1DE8 exceeds available address space
>> ld.lld: error: section __dbe_table at 0xFFFFFFFF84F86068 of size 0x0 exceeds available address space
>> ld.lld: error: section .rodata at 0xFFFFFFFF84F87000 of size 0x2164E7 exceeds available address space
ld.lld: error: section .data..page_aligned at 0xFFFFFFFF8519E000 of size 0x2000 exceeds available address space
ld.lld: error: section .got at 0xFFFFFFFF851A0000 of size 0x8 exceeds available address space
ld.lld: error: section .rodata1 at 0xFFFFFFFF851A0008 of size 0x0 exceeds available address space
ld.lld: error: section .pci_fixup at 0xFFFFFFFF851A0008 of size 0x1E90 exceeds available address space
ld.lld: error: section .builtin_fw at 0xFFFFFFFF851A1E98 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab at 0xFFFFFFFF851A1E98 of size 0x10350 exceeds available address space
ld.lld: error: section __ksymtab_gpl at 0xFFFFFFFF851B21E8 of size 0xEFA0 exceeds available address space
ld.lld: error: section __ksymtab_unused at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_unused_gpl at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_gpl_future at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused_gpl at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl_future at 0xFFFFFFFF851C1188 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_strings at 0xFFFFFFFF851C1188 of size 0x3441A exceeds available address space
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months