From: Bart Van Assche <bvanassche@acm.org>
To: Avri Altman <avri.altman@wdc.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] scsi: ufs: Zero utp_upiu_req at the beginning of each command
Date: Fri, 20 Sep 2024 11:28:38 -0700 [thread overview]
Message-ID: <0caf3cfa-d1ec-44b3-b2db-1d95a33567ec@acm.org> (raw)
In-Reply-To: <20240919084155.17004-1-avri.altman@wdc.com>
On 9/19/24 1:41 AM, Avri Altman wrote:
> +static void __ufshcd_setup_cmd(struct ufs_hba *hba, struct ufshcd_lrb *lrbp,
> + struct scsi_cmnd *cmd, u8 lun, int tag)
> +{
> + memset(lrbp->ucd_req_ptr, 0, sizeof(*lrbp->ucd_req_ptr));
> +
> + lrbp->cmd = cmd;
> + lrbp->task_tag = tag;
> + lrbp->lun = lun;
> + ufshcd_prepare_lrbp_crypto(cmd ? scsi_cmd_to_rq(cmd) : NULL, lrbp);
> +}
This function does not use the 'hba' argument so please remove that
argument. Otherwise this patch looks good to me.
Thanks,
Bart.
next prev parent reply other threads:[~2024-09-20 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-19 8:41 Avri Altman
2024-09-20 18:28 ` Bart Van Assche [this message]
2024-09-20 19:01 ` Avri Altman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0caf3cfa-d1ec-44b3-b2db-1d95a33567ec@acm.org \
--to=bvanassche@acm.org \
--cc=avri.altman@wdc.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®