Content-Type: multipart/mixed; boundary="===============5124232884389123908==" MIME-Version: 1.0 From: Mike Christie To: kbuild-all@lists.01.org Subject: Re: [PATCH 02/13] target: split target_submit_cmd_map_sgls Date: Tue, 09 Feb 2021 12:40:56 -0600 Message-ID: <0515e0e3-afac-dc0c-32d3-3cbd687ee5dc@oracle.com> In-Reply-To: <202102100043.iwcq44PC-lkp@intel.com> List-Id: --===============5124232884389123908== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 m= ust be > 1685 * called from process context. > 1686 */ > 1687 static void target_submit(struct se_cmd *se_cmd, unsigned char *cd= b) > 1688 { > 1689 struct scatterlist *sgl =3D se_cmd->t_data_sg; > 1690 unsigned char *buf =3D NULL; > 1691 int rc; > 1692 = > 1693 might_sleep(); > 1694 = >> 1695 rc =3D 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. --===============5124232884389123908==--