Re: [PATCH 02/13] target: split target_submit_cmd_map_sgls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/9/21 10:15 AM, kernel test robot wrote:
>   1682	 * @cdb: pointer to SCSI CDB
>   1683	 *
>   1684	 * target_submit_prep must have been called on the cmd, and this must be
>   1685	 * called from process context.
>   1686	 */
>   1687	static void target_submit(struct se_cmd *se_cmd, unsigned char *cdb)
>   1688	{
>   1689		struct scatterlist *sgl = se_cmd->t_data_sg;
>   1690		unsigned char *buf = NULL;
>   1691		int rc;
>   1692	
>   1693		might_sleep();
>   1694	
>> 1695		rc = target_cmd_init_cdb(se_cmd, cdb);

This is a valid issue. rc should be a sense_reason_t. I'll fix in the next
posting.



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux