* [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
[not found] <CGME20220215114002epcms2p1eb4e53507c96e0f24770af16aedcf5c6@epcms2p1>
@ 2022-02-15 11:40 ` Keoseong Park
2022-02-15 16:21 ` Alim Akhtar
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Keoseong Park @ 2022-02-15 11:40 UTC (permalink / raw)
To: ALIM AKHTAR, avri.altman, jejb, martin.petersen, bvanassche,
beanhuo, cang, adrian.hunter, asutoshd, linux-scsi, linux-kernel
Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
removed all callers of wlun_dev_to_hba(). Hence also remove the macro itself.
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
---
drivers/scsi/ufs/ufshcd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 41d85b69fa50..1243d73d669b 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -83,8 +83,6 @@
/* Polling time to wait for fDeviceInit */
#define FDEVICEINIT_COMPL_TIMEOUT 1500 /* millisecs */
-#define wlun_dev_to_hba(dv) shost_priv(to_scsi_device(dv)->host)
-
#define ufshcd_toggle_vreg(_dev, _vreg, _on) \
({ \
int _ret; \
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* RE: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
2022-02-15 11:40 ` [PATCH] scsi: ufs: Remove wlun_dev_to_hba() Keoseong Park
@ 2022-02-15 16:21 ` Alim Akhtar
2022-02-15 17:06 ` Bart Van Assche
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Alim Akhtar @ 2022-02-15 16:21 UTC (permalink / raw)
To: keosung.park, avri.altman, jejb, martin.petersen, bvanassche,
beanhuo, cang, adrian.hunter, asutoshd, linux-scsi, linux-kernel
>-----Original Message-----
>From: Keoseong Park [mailto:keosung.park@samsung.com]
>Sent: Tuesday, February 15, 2022 5:10 PM
>To: ALIM AKHTAR <alim.akhtar@samsung.com>; avri.altman@wdc.com;
>jejb@linux.ibm.com; martin.petersen@oracle.com; bvanassche@acm.org;
>beanhuo@micron.com; cang@codeaurora.org; adrian.hunter@intel.com;
>asutoshd@codeaurora.org; linux-scsi@vger.kernel.org; linux-
>kernel@vger.kernel.org
>Subject: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
>
>Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
>removed all callers of wlun_dev_to_hba(). Hence also remove the macro
>itself.
>
>Signed-off-by: Keoseong Park <keosung.park@samsung.com>
>---
Thanks!
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
> drivers/scsi/ufs/ufshcd.c | 2 --
> 1 file changed, 2 deletions(-)
>
>diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index
>41d85b69fa50..1243d73d669b 100644
>--- a/drivers/scsi/ufs/ufshcd.c
>+++ b/drivers/scsi/ufs/ufshcd.c
>@@ -83,8 +83,6 @@
> /* Polling time to wait for fDeviceInit */ #define
>FDEVICEINIT_COMPL_TIMEOUT 1500 /* millisecs */
>
>-#define wlun_dev_to_hba(dv) shost_priv(to_scsi_device(dv)->host)
>-
> #define ufshcd_toggle_vreg(_dev, _vreg, _on)
> \
> ({ \
> int _ret; \
>--
>2.17.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
2022-02-15 11:40 ` [PATCH] scsi: ufs: Remove wlun_dev_to_hba() Keoseong Park
2022-02-15 16:21 ` Alim Akhtar
@ 2022-02-15 17:06 ` Bart Van Assche
2022-02-19 22:13 ` Martin K. Petersen
2022-02-28 3:43 ` Martin K. Petersen
3 siblings, 0 replies; 5+ messages in thread
From: Bart Van Assche @ 2022-02-15 17:06 UTC (permalink / raw)
To: keosung.park, ALIM AKHTAR, avri.altman, jejb, martin.petersen,
beanhuo, cang, adrian.hunter, asutoshd, linux-scsi, linux-kernel
On 2/15/22 03:40, Keoseong Park wrote:
> Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
> removed all callers of wlun_dev_to_hba(). Hence also remove the macro itself.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
2022-02-15 11:40 ` [PATCH] scsi: ufs: Remove wlun_dev_to_hba() Keoseong Park
2022-02-15 16:21 ` Alim Akhtar
2022-02-15 17:06 ` Bart Van Assche
@ 2022-02-19 22:13 ` Martin K. Petersen
2022-02-28 3:43 ` Martin K. Petersen
3 siblings, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2022-02-19 22:13 UTC (permalink / raw)
To: Keoseong Park
Cc: ALIM AKHTAR, avri.altman, jejb, martin.petersen, bvanassche,
beanhuo, cang, adrian.hunter, asutoshd, linux-scsi, linux-kernel
Keoseong,
> Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
> removed all callers of wlun_dev_to_hba(). Hence also remove the macro
> itself.
Applied to 5.18/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
2022-02-15 11:40 ` [PATCH] scsi: ufs: Remove wlun_dev_to_hba() Keoseong Park
` (2 preceding siblings ...)
2022-02-19 22:13 ` Martin K. Petersen
@ 2022-02-28 3:43 ` Martin K. Petersen
3 siblings, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2022-02-28 3:43 UTC (permalink / raw)
To: linux-scsi, adrian.hunter, avri.altman, beanhuo, ALIM AKHTAR,
Keoseong Park, linux-kernel, jejb, asutoshd, cang, bvanassche
Cc: Martin K . Petersen
On Tue, 15 Feb 2022 20:40:02 +0900, Keoseong Park wrote:
> Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
> removed all callers of wlun_dev_to_hba(). Hence also remove the macro itself.
>
>
Applied to 5.18/scsi-queue, thanks!
[1/1] scsi: ufs: Remove wlun_dev_to_hba()
https://git.kernel.org/mkp/scsi/c/482dcaa1c91a
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-02-28 3:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20220215114002epcms2p1eb4e53507c96e0f24770af16aedcf5c6@epcms2p1>
2022-02-15 11:40 ` [PATCH] scsi: ufs: Remove wlun_dev_to_hba() Keoseong Park
2022-02-15 16:21 ` Alim Akhtar
2022-02-15 17:06 ` Bart Van Assche
2022-02-19 22:13 ` Martin K. Petersen
2022-02-28 3:43 ` Martin K. Petersen
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.