* [mkp-scsi:for-next 202/203] drivers/scsi/sg.c:613:13: sparse: sparse: incorrect type in initializer (different address spaces)
@ 2021-02-04 13:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-04 13:27 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 20082 bytes --]
Hi Douglas,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
head: abb4c1c5b84a098fe932a1003e973287d1de7ed7
commit: 7323ad3618b615149ea25b3144f9a162668ef93b [202/203] scsi: sg: Replace rq array with xarray
config: sh-randconfig-s031-20210204 (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/mkp/scsi.git/commit/?id=7323ad3618b615149ea25b3144f9a162668ef93b
git remote add mkp-scsi https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
git fetch --no-tags mkp-scsi for-next
git checkout 7323ad3618b615149ea25b3144f9a162668ef93b
# 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@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/scsi/sg.c: note: in included file (through include/uapi/scsi/sg.h, include/scsi/sg.h):
/opt/cross/gcc-9.3.0-nolibc/sh4-linux/bin/../lib/gcc/sh4-linux/9.3.0/include/stddef.h:406:9: sparse: sparse: preprocessor token offsetof redefined
drivers/scsi/sg.c: note: in included file (through include/uapi/linux/posix_types.h, include/uapi/linux/types.h, include/linux/types.h, ...):
include/linux/stddef.h:17:9: sparse: this was the original definition
>> drivers/scsi/sg.c:613:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] p @@
drivers/scsi/sg.c:613:13: sparse: expected char const *__gu_addr
drivers/scsi/sg.c:613:13: sparse: got char const [noderef] __user *[assigned] p
drivers/scsi/sg.c:613:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
drivers/scsi/sg.c:613:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:613:13: sparse: got char const *__gu_addr
drivers/scsi/sg.c:1183:39: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/scsi/sg.c:1183:39: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1183:39: sparse: got int [noderef] __user *
drivers/scsi/sg.c:1183:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1183:39: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1183:39: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1619:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1619:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1619:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1619:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1619:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1619:26: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1641:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1641:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1641:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1641:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1641:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1641:26: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1664:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1664:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1664:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1664:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1664:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1664:26: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1674:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1674:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1674:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1674:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1674:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1674:26: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1693:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1693:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1693:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1693:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1693:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1693:26: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1721:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1721:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1721:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1721:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1721:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1721:26: sparse: got int const *__gu_addr
drivers/scsi/sg.c:1746:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@
drivers/scsi/sg.c:1746:26: sparse: expected int const *__gu_addr
drivers/scsi/sg.c:1746:26: sparse: got int [noderef] __user *ip
drivers/scsi/sg.c:1746:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/scsi/sg.c:1746:26: sparse: expected void const volatile [noderef] __user *ptr
drivers/scsi/sg.c:1746:26: sparse: got int const *__gu_addr
vim +613 drivers/scsi/sg.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 533
^1da177e4c3f415 Linus Torvalds 2005-04-16 534 static ssize_t
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 535 sg_write(struct file *filp, const char __user *p, size_t count, loff_t *ppos)
^1da177e4c3f415 Linus Torvalds 2005-04-16 536 {
7323ad3618b6151 Douglas Gilbert 2021-01-13 537 bool get_v3_hdr;
5d25392bf9fb326 Douglas Gilbert 2021-01-13 538 int mxsize, cmd_size, input_size, res;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 539 u8 opcode;
1ef8ca5051569f6 Douglas Gilbert 2021-01-13 540 struct sg_device *sdp;
1ef8ca5051569f6 Douglas Gilbert 2021-01-13 541 struct sg_fd *sfp;
1ef8ca5051569f6 Douglas Gilbert 2021-01-13 542 struct sg_request *srp;
d03c7a2fd9188ad Douglas Gilbert 2021-01-13 543 u8 cmnd[SG_MAX_CDB_SIZE];
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 544 struct sg_header ov2hdr;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 545 struct sg_io_hdr v3hdr;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 546 struct sg_header *ohp = &ov2hdr;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 547 struct sg_io_hdr *h3p = &v3hdr;
b7e82532d92cfba Douglas Gilbert 2021-01-13 548 struct sg_comm_wr_t cwr;
^1da177e4c3f415 Linus Torvalds 2005-04-16 549
5d25392bf9fb326 Douglas Gilbert 2021-01-13 550 res = sg_check_file_access(filp, __func__);
5d25392bf9fb326 Douglas Gilbert 2021-01-13 551 if (res)
5d25392bf9fb326 Douglas Gilbert 2021-01-13 552 return res;
128394eff343fc6 Al Viro 2016-12-16 553
1ef8ca5051569f6 Douglas Gilbert 2021-01-13 554 sfp = filp->private_data;
1ef8ca5051569f6 Douglas Gilbert 2021-01-13 555 sdp = sfp->parentdp;
f3b3ed24bc3cdb2 Douglas Gilbert 2021-01-13 556 SG_LOG(3, sfp, "%s: write(3rd arg) count=%d\n", __func__, (int)count);
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 557 res = sg_allow_if_err_recovery(sdp, !!(filp->f_flags & O_NONBLOCK));
5d25392bf9fb326 Douglas Gilbert 2021-01-13 558 if (res)
5d25392bf9fb326 Douglas Gilbert 2021-01-13 559 return res;
7323ad3618b6151 Douglas Gilbert 2021-01-13 560 if (count < SZ_SG_HEADER || count > SG_WRITE_COUNT_LIMIT)
^1da177e4c3f415 Linus Torvalds 2005-04-16 561 return -EIO;
7323ad3618b6151 Douglas Gilbert 2021-01-13 562 #ifdef CONFIG_COMPAT
7323ad3618b6151 Douglas Gilbert 2021-01-13 563 if (in_compat_syscall())
7323ad3618b6151 Douglas Gilbert 2021-01-13 564 get_v3_hdr = (count == sizeof(struct compat_sg_io_hdr));
7323ad3618b6151 Douglas Gilbert 2021-01-13 565 else
7323ad3618b6151 Douglas Gilbert 2021-01-13 566 get_v3_hdr = (count == sizeof(struct sg_io_hdr));
7323ad3618b6151 Douglas Gilbert 2021-01-13 567 #else
7323ad3618b6151 Douglas Gilbert 2021-01-13 568 get_v3_hdr = (count == sizeof(struct sg_io_hdr));
7323ad3618b6151 Douglas Gilbert 2021-01-13 569 #endif
7323ad3618b6151 Douglas Gilbert 2021-01-13 570 if (get_v3_hdr) {
7323ad3618b6151 Douglas Gilbert 2021-01-13 571 if (get_sg_io_hdr(h3p, p))
7323ad3618b6151 Douglas Gilbert 2021-01-13 572 return -EFAULT;
7323ad3618b6151 Douglas Gilbert 2021-01-13 573 } else {
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 574 if (copy_from_user(ohp, p, SZ_SG_HEADER))
^1da177e4c3f415 Linus Torvalds 2005-04-16 575 return -EFAULT;
7323ad3618b6151 Douglas Gilbert 2021-01-13 576 if (ohp->reply_len < 0) { /* not v2, may be v3 */
7323ad3618b6151 Douglas Gilbert 2021-01-13 577 bool lt = false;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 578
7323ad3618b6151 Douglas Gilbert 2021-01-13 579 #ifdef CONFIG_COMPAT
7323ad3618b6151 Douglas Gilbert 2021-01-13 580 if (in_compat_syscall())
7323ad3618b6151 Douglas Gilbert 2021-01-13 581 lt = (count < sizeof(struct compat_sg_io_hdr));
7323ad3618b6151 Douglas Gilbert 2021-01-13 582 else
7323ad3618b6151 Douglas Gilbert 2021-01-13 583 lt = (count < sizeof(struct sg_io_hdr));
7323ad3618b6151 Douglas Gilbert 2021-01-13 584 #else
7323ad3618b6151 Douglas Gilbert 2021-01-13 585 lt = (count < sizeof(struct sg_io_hdr));
7323ad3618b6151 Douglas Gilbert 2021-01-13 586 #endif
7323ad3618b6151 Douglas Gilbert 2021-01-13 587 if (lt)
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 588 return -EIO;
7323ad3618b6151 Douglas Gilbert 2021-01-13 589 get_v3_hdr = true;
7323ad3618b6151 Douglas Gilbert 2021-01-13 590 if (get_sg_io_hdr(h3p, p))
7323ad3618b6151 Douglas Gilbert 2021-01-13 591 return -EFAULT;
7323ad3618b6151 Douglas Gilbert 2021-01-13 592 }
7323ad3618b6151 Douglas Gilbert 2021-01-13 593 }
7323ad3618b6151 Douglas Gilbert 2021-01-13 594 if (get_v3_hdr) {
7323ad3618b6151 Douglas Gilbert 2021-01-13 595 /* v3 dxfer_direction_s are all negative values by design */
7323ad3618b6151 Douglas Gilbert 2021-01-13 596 if (h3p->dxfer_direction >= 0) { /* so it is not v3 */
7323ad3618b6151 Douglas Gilbert 2021-01-13 597 memcpy(ohp, h3p, count);
7323ad3618b6151 Douglas Gilbert 2021-01-13 598 goto to_v2;
7323ad3618b6151 Douglas Gilbert 2021-01-13 599 }
7323ad3618b6151 Douglas Gilbert 2021-01-13 600 if (h3p->interface_id != 'S') {
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 601 pr_info_once("sg: %s: v3 interface only here\n",
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 602 __func__);
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 603 return -EPERM;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 604 }
7323ad3618b6151 Douglas Gilbert 2021-01-13 605 res = sg_submit(filp, sfp, h3p, false, NULL);
7323ad3618b6151 Douglas Gilbert 2021-01-13 606 return res < 0 ? res : (int)count;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 607 }
7323ad3618b6151 Douglas Gilbert 2021-01-13 608 to_v2:
7323ad3618b6151 Douglas Gilbert 2021-01-13 609 /* v1 and v2 interfaces processed below this point */
^1da177e4c3f415 Linus Torvalds 2005-04-16 610 if (count < (SZ_SG_HEADER + 6))
7323ad3618b6151 Douglas Gilbert 2021-01-13 611 return -EIO; /* minimum scsi command length is 6 bytes */
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 612 p += SZ_SG_HEADER;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 @613 if (get_user(opcode, p))
062c9d4527ccbdb Al Viro 2019-10-17 614 return -EFAULT;
1bc0eb0446158cc Hannes Reinecke 2017-04-07 615 mutex_lock(&sfp->f_mutex);
^1da177e4c3f415 Linus Torvalds 2005-04-16 616 if (sfp->next_cmd_len > 0) {
^1da177e4c3f415 Linus Torvalds 2005-04-16 617 cmd_size = sfp->next_cmd_len;
58ba7207d476f7d Douglas Gilbert 2021-01-13 618 sfp->next_cmd_len = 0; /* reset, only this write() effected */
^1da177e4c3f415 Linus Torvalds 2005-04-16 619 } else {
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 620 cmd_size = COMMAND_SIZE(opcode); /* old: SCSI command group */
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 621 if (opcode >= 0xc0 && ohp->twelve_byte)
^1da177e4c3f415 Linus Torvalds 2005-04-16 622 cmd_size = 12;
^1da177e4c3f415 Linus Torvalds 2005-04-16 623 }
1bc0eb0446158cc Hannes Reinecke 2017-04-07 624 mutex_unlock(&sfp->f_mutex);
f3b3ed24bc3cdb2 Douglas Gilbert 2021-01-13 625 SG_LOG(4, sfp, "%s: scsi opcode=0x%02x, cmd_size=%d\n", __func__,
f3b3ed24bc3cdb2 Douglas Gilbert 2021-01-13 626 (unsigned int)opcode, cmd_size);
^1da177e4c3f415 Linus Torvalds 2005-04-16 627 input_size = count - cmd_size;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 628 mxsize = max_t(int, input_size, ohp->reply_len);
^1da177e4c3f415 Linus Torvalds 2005-04-16 629 mxsize -= SZ_SG_HEADER;
^1da177e4c3f415 Linus Torvalds 2005-04-16 630 input_size -= SZ_SG_HEADER;
7323ad3618b6151 Douglas Gilbert 2021-01-13 631 if (input_size < 0)
7323ad3618b6151 Douglas Gilbert 2021-01-13 632 return -EIO; /* Insufficient bytes passed for this command. */
7323ad3618b6151 Douglas Gilbert 2021-01-13 633 memset(h3p, 0, sizeof(*h3p));
7323ad3618b6151 Douglas Gilbert 2021-01-13 634 h3p->interface_id = '\0';/* indicate v1 or v2 interface (tunnelled) */
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 635 h3p->cmd_len = (u8)cmd_size;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 636 h3p->iovec_count = 0;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 637 h3p->mx_sb_len = 0;
^1da177e4c3f415 Linus Torvalds 2005-04-16 638 if (input_size > 0)
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 639 h3p->dxfer_direction = (ohp->reply_len > SZ_SG_HEADER) ?
^1da177e4c3f415 Linus Torvalds 2005-04-16 640 SG_DXFER_TO_FROM_DEV : SG_DXFER_TO_DEV;
^1da177e4c3f415 Linus Torvalds 2005-04-16 641 else
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 642 h3p->dxfer_direction = (mxsize > 0) ? SG_DXFER_FROM_DEV :
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 643 SG_DXFER_NONE;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 644 h3p->dxfer_len = mxsize;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 645 if (h3p->dxfer_direction == SG_DXFER_TO_DEV ||
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 646 h3p->dxfer_direction == SG_DXFER_TO_FROM_DEV)
58ba7207d476f7d Douglas Gilbert 2021-01-13 647 h3p->dxferp = (u8 __user *)p + cmd_size;
fad7f01e61bf737 FUJITA Tomonori 2008-09-02 648 else
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 649 h3p->dxferp = NULL;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 650 h3p->sbp = NULL;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 651 h3p->timeout = ohp->reply_len; /* structure abuse ... */
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 652 h3p->flags = input_size; /* structure abuse ... */
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 653 h3p->pack_id = ohp->pack_id;
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 654 h3p->usr_ptr = NULL;
7323ad3618b6151 Douglas Gilbert 2021-01-13 655 cmnd[0] = opcode;
7323ad3618b6151 Douglas Gilbert 2021-01-13 656 if (copy_from_user(cmnd + 1, p + 1, cmd_size - 1))
^1da177e4c3f415 Linus Torvalds 2005-04-16 657 return -EFAULT;
^1da177e4c3f415 Linus Torvalds 2005-04-16 658 /*
^1da177e4c3f415 Linus Torvalds 2005-04-16 659 * SG_DXFER_TO_FROM_DEV is functionally equivalent to SG_DXFER_FROM_DEV,
d1e05aee44eb284 Douglas Gilbert 2021-01-13 660 * but it is possible that the app intended SG_DXFER_TO_DEV, because
d1e05aee44eb284 Douglas Gilbert 2021-01-13 661 * there is a non-zero input_size, so emit a warning.
^1da177e4c3f415 Linus Torvalds 2005-04-16 662 */
56859eca4c1d8b1 Douglas Gilbert 2021-01-13 663 if (h3p->dxfer_direction == SG_DXFER_TO_FROM_DEV) {
d1e05aee44eb284 Douglas Gilbert 2021-01-13 664 printk_ratelimited
d1e05aee44eb284 Douglas Gilbert 2021-01-13 665 (KERN_WARNING
d1e05aee44eb284 Douglas Gilbert 2021-01-13 666 "%s: data in/out %d/%d bytes for SCSI command 0x%x-- guessing data in;\n"
d1e05aee44eb284 Douglas Gilbert 2021-01-13 667 " program %s not setting count and/or reply_len properly\n",
d1e05aee44eb284 Douglas Gilbert 2021-01-13 668 __func__, ohp->reply_len - (int)SZ_SG_HEADER,
d1e05aee44eb284 Douglas Gilbert 2021-01-13 669 input_size, (unsigned int)cmnd[0], current->comm);
eaa3e22e8d32bf7 Andi Kleen 2008-01-13 670 }
7323ad3618b6151 Douglas Gilbert 2021-01-13 671 cwr.frq_bm[0] = 0; /* initial state clear for all req flags */
7323ad3618b6151 Douglas Gilbert 2021-01-13 672 cwr.h3p = h3p;
b7e82532d92cfba Douglas Gilbert 2021-01-13 673 cwr.timeout = sfp->timeout;
b7e82532d92cfba Douglas Gilbert 2021-01-13 674 cwr.cmnd = cmnd;
7323ad3618b6151 Douglas Gilbert 2021-01-13 675 srp = sg_common_write(sfp, &cwr);
7323ad3618b6151 Douglas Gilbert 2021-01-13 676 return (IS_ERR(srp)) ? PTR_ERR(srp) : (int)count;
^1da177e4c3f415 Linus Torvalds 2005-04-16 677 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 678
:::::: The code at line 613 was first introduced by commit
:::::: 56859eca4c1d8b10d6669268f85b6020fc7dccec scsi: sg: Improve naming
:::::: TO: Douglas Gilbert <dgilbert@interlog.com>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25026 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-04 13:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 13:27 [mkp-scsi:for-next 202/203] drivers/scsi/sg.c:613:13: sparse: sparse: incorrect type in initializer (different address spaces) kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.