All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	Stanley Jhu <chu.stanley@gmail.com>,
	Can Guo <quic_cang@quicinc.com>,
	"Bao D. Nguyen" <quic_nguyenb@quicinc.com>,
	Keoseong Park <keosung.park@samsung.com>,
	Po-Wen Kao <powen.kao@mediatek.com>,
	Avri Altman <avri.altman@wdc.com>,
	zhanghui <zhanghui31@xiaomi.com>
Subject: [PATCH 1/4] scsi: ufs: Declare ufshcd_mcq_poll_cqe_lock() once
Date: Thu, 11 Apr 2024 17:02:21 -0700	[thread overview]
Message-ID: <20240412000246.1167600-2-bvanassche@acm.org> (raw)
In-Reply-To: <20240412000246.1167600-1-bvanassche@acm.org>

ufshcd_mcq_poll_cqe_lock() is declared in include/ufs/ufshcd.h and also in
drivers/ufs/core/ufshcd-priv.h. Remove the declaration from the latter file.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 drivers/ufs/core/ufshcd-priv.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/ufs/core/ufshcd-priv.h b/drivers/ufs/core/ufshcd-priv.h
index a1add22205db..fb4457a84d11 100644
--- a/drivers/ufs/core/ufshcd-priv.h
+++ b/drivers/ufs/core/ufshcd-priv.h
@@ -72,8 +72,6 @@ u32 ufshcd_mcq_read_cqis(struct ufs_hba *hba, int i);
 void ufshcd_mcq_write_cqis(struct ufs_hba *hba, u32 val, int i);
 struct ufs_hw_queue *ufshcd_mcq_req_to_hwq(struct ufs_hba *hba,
 					   struct request *req);
-unsigned long ufshcd_mcq_poll_cqe_lock(struct ufs_hba *hba,
-				       struct ufs_hw_queue *hwq);
 void ufshcd_mcq_compl_all_cqes_lock(struct ufs_hba *hba,
 				    struct ufs_hw_queue *hwq);
 bool ufshcd_cmd_inflight(struct scsi_cmnd *cmd);

  reply	other threads:[~2024-04-12  0:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12  0:02 [PATCH 0/4] Fix a rare crash in the UFS driver Bart Van Assche
2024-04-12  0:02 ` Bart Van Assche [this message]
2024-04-12  0:02 ` [PATCH 2/4] scsi: ufs: Make ufshcd_poll() complain about unsupported arguments Bart Van Assche
2024-04-12  8:55   ` Avri Altman
2024-04-12 16:31     ` Bart Van Assche
2024-04-12  0:02 ` [PATCH 3/4] scsi: ufs: Make the polling code report which command has been completed Bart Van Assche
2024-04-12  9:14   ` Avri Altman
2024-04-12 16:45     ` Bart Van Assche
2024-04-12  9:32   ` Peter Wang (王信友)
2024-04-12 16:46     ` Bart Van Assche
2024-04-12 13:19   ` kernel test robot
2024-04-12 14:44   ` kernel test robot
2024-04-12 16:00   ` kernel test robot
2024-04-12  0:02 ` [PATCH 4/4] scsi: ufs: Check for completion from the timeout handler Bart Van Assche
2024-04-12  9:34   ` Peter Wang (王信友)
2024-04-12 16:50     ` Bart Van Assche

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=20240412000246.1167600-2-bvanassche@acm.org \
    --to=bvanassche@acm.org \
    --cc=avri.altman@wdc.com \
    --cc=chu.stanley@gmail.com \
    --cc=jejb@linux.ibm.com \
    --cc=keosung.park@samsung.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=powen.kao@mediatek.com \
    --cc=quic_cang@quicinc.com \
    --cc=quic_nguyenb@quicinc.com \
    --cc=zhanghui31@xiaomi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.