lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 8 Nov 2016 19:09:54 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Manish Rangankar <manish.rangankar@...ium.com>
Cc:     kbuild-all@...org, martin.petersen@...cle.com, lduncan@...e.com,
        cleech@...hat.com, linux-scsi@...r.kernel.org,
        netdev@...r.kernel.org, QLogic-Storage-Upstream@...ium.com,
        Yuval.Mintz@...ium.com
Subject: Re: [PATCH v2 6/6] qedi: Add support for data path.

Hi Manish,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.9-rc4 next-20161028]
[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/Manish-Rangankar/qed-Add-support-for-hardware-offloaded-iSCSI/20161108-180027
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:253:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> drivers/scsi/qedi/qedi_fw.c:2179:31: sparse: incompatible types in comparison expression (different base types)

vim +2179 drivers/scsi/qedi/qedi_fw.c

  2163		fw_task_ctx = qedi_get_task_mem(&qedi->tasks, tid);
  2164	
  2165		memset(fw_task_ctx, 0, sizeof(struct iscsi_task_context));
  2166		cmd->task_id = tid;
  2167	
  2168		/* Ystorm context */
  2169		fw_cmd = &fw_task_ctx->ystorm_st_context.pdu_hdr.cmd;
  2170		SET_FIELD(fw_cmd->flags_attr, ISCSI_CMD_HDR_ATTR, ISCSI_ATTR_SIMPLE);
  2171	
  2172		if (sc->sc_data_direction == DMA_TO_DEVICE) {
  2173			if (conn->session->initial_r2t_en) {
  2174				fw_task_ctx->ustorm_ag_context.exp_data_acked =
  2175					min((conn->session->imm_data_en *
  2176					    conn->max_xmit_dlength),
  2177					    conn->session->first_burst);
  2178				fw_task_ctx->ustorm_ag_context.exp_data_acked =
> 2179				      min(fw_task_ctx->ustorm_ag_context.exp_data_acked,
  2180					  scsi_bufflen(sc));
  2181			} else {
  2182				fw_task_ctx->ustorm_ag_context.exp_data_acked =
  2183				      min(conn->session->first_burst, scsi_bufflen(sc));
  2184			}
  2185	
  2186			SET_FIELD(fw_cmd->flags_attr, ISCSI_CMD_HDR_WRITE, 1);
  2187			task_type = ISCSI_TASK_TYPE_INITIATOR_WRITE;

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ