Hi Bryant,

[auto build test ERROR on target/master]
[also build test ERROR on v4.11-rc7 next-20170421]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Bryant-G-Ly/target-user-PGR-Support/20170422-070434
base:   https://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git 
master
config: i386-randconfig-x010-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers//target/target_core_device.c: In function 'passthrough_parse_cdb':
>> drivers//target/target_core_device.c:1106:3: error: expected ';' before '}' 
>> token
      }
      ^

vim +1106 drivers//target/target_core_device.c

  1090                          size = (cdb[7] << 8) + cdb[8];
  1091                          return target_cmd_size_check(cmd, size);
  1092                  }
  1093                  if (cdb[0] == PERSISTENT_RESERVE_OUT) {
  1094                          cmd->execute_cmd = target_scsi3_emulate_pr_out;
  1095                          size = (cdb[7] << 8) + cdb[8];
  1096                          return target_cmd_size_check(cmd, size);
  1097                  }
  1098  
  1099                  if (cdb[0] == RELEASE || cdb[0] == RELEASE_10) {
  1100                          cmd->execute_cmd = 
target_scsi2_reservation_release;
  1101                          if (cdb[0] == RELEASE_10)
  1102                                  size = (cdb[7] << 8) | cdb[8];
  1103                          else
  1104                                  size = cmd->data_length;
  1105                          return target_cmd_size_check(cmd, size)
> 1106                  }
  1107                  if (cdb[0] == RESERVE || cdb[0] == RESERVE_10) {
  1108                          cmd->execute_cmd = 
target_scsi2_reservation_reserve;
  1109                          if (cdb[0] == RESERVE_10)
  1110                                  size = (cdb[7] << 8) | cdb[8];
  1111                          else
  1112                                  size = cmd->data_length;
  1113                          return target_cmd_size_check(cmd, size);
  1114                  }

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to