Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] accel/qaic: Add qaic_ prefix to irq_polling_work
@ 2025-10-31 19:25 Zack McKevitt
  2025-11-07 18:20 ` Jeff Hugo
  2025-11-07 18:29 ` Jeff Hugo
  0 siblings, 2 replies; 3+ messages in thread
From: Zack McKevitt @ 2025-10-31 19:25 UTC (permalink / raw)
  To: jeff.hugo, carl.vanderlip, troy.hanson, youssef.abdulrahman
  Cc: ogabbay, lizhi.hou, karol.wachowski, linux-arm-msm, dri-devel,
	andersson, Zack McKevitt

Rename irq_polling_work to qaic_irq_polling_work to reduce ambiguity
and avoid potential naming conflicts in the future.

Signed-off-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
---
 drivers/accel/qaic/qaic.h      | 2 +-
 drivers/accel/qaic/qaic_data.c | 2 +-
 drivers/accel/qaic/qaic_drv.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/accel/qaic/qaic.h b/drivers/accel/qaic/qaic.h
index 820d133236dd..7a18a617bd1d 100644
--- a/drivers/accel/qaic/qaic.h
+++ b/drivers/accel/qaic/qaic.h
@@ -317,6 +317,6 @@ int qaic_partial_execute_bo_ioctl(struct drm_device *dev, void *data, struct drm
 int qaic_wait_bo_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
 int qaic_perf_stats_bo_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
 int qaic_detach_slice_bo_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
-void irq_polling_work(struct work_struct *work);
+void qaic_irq_polling_work(struct work_struct *work);
 
 #endif /* _QAIC_H_ */
diff --git a/drivers/accel/qaic/qaic_data.c b/drivers/accel/qaic/qaic_data.c
index 703ef0ce9da1..4e12a1d1742d 100644
--- a/drivers/accel/qaic/qaic_data.c
+++ b/drivers/accel/qaic/qaic_data.c
@@ -1504,7 +1504,7 @@ irqreturn_t dbc_irq_handler(int irq, void *data)
 	return IRQ_WAKE_THREAD;
 }
 
-void irq_polling_work(struct work_struct *work)
+void qaic_irq_polling_work(struct work_struct *work)
 {
 	struct dma_bridge_chan *dbc = container_of(work, struct dma_bridge_chan,  poll_work);
 	unsigned long flags;
diff --git a/drivers/accel/qaic/qaic_drv.c b/drivers/accel/qaic/qaic_drv.c
index e162f4b8a262..4978f5864892 100644
--- a/drivers/accel/qaic/qaic_drv.c
+++ b/drivers/accel/qaic/qaic_drv.c
@@ -545,7 +545,7 @@ static int init_msi(struct qaic_device *qdev, struct pci_dev *pdev)
 			qdev->dbc[i].irq = pci_irq_vector(pdev, qdev->single_msi ? 0 : i + 1);
 			if (!qdev->single_msi)
 				disable_irq_nosync(qdev->dbc[i].irq);
-			INIT_WORK(&qdev->dbc[i].poll_work, irq_polling_work);
+			INIT_WORK(&qdev->dbc[i].poll_work, qaic_irq_polling_work);
 		}
 	}
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] accel/qaic: Add qaic_ prefix to irq_polling_work
  2025-10-31 19:25 [PATCH] accel/qaic: Add qaic_ prefix to irq_polling_work Zack McKevitt
@ 2025-11-07 18:20 ` Jeff Hugo
  2025-11-07 18:29 ` Jeff Hugo
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Hugo @ 2025-11-07 18:20 UTC (permalink / raw)
  To: Zack McKevitt, carl.vanderlip, troy.hanson, youssef.abdulrahman
  Cc: ogabbay, lizhi.hou, karol.wachowski, linux-arm-msm, dri-devel,
	andersson

On 10/31/2025 1:25 PM, Zack McKevitt wrote:
> Rename irq_polling_work to qaic_irq_polling_work to reduce ambiguity
> and avoid potential naming conflicts in the future.
> 
> Signed-off-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>

Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] accel/qaic: Add qaic_ prefix to irq_polling_work
  2025-10-31 19:25 [PATCH] accel/qaic: Add qaic_ prefix to irq_polling_work Zack McKevitt
  2025-11-07 18:20 ` Jeff Hugo
@ 2025-11-07 18:29 ` Jeff Hugo
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Hugo @ 2025-11-07 18:29 UTC (permalink / raw)
  To: Zack McKevitt, carl.vanderlip, troy.hanson, youssef.abdulrahman
  Cc: ogabbay, lizhi.hou, karol.wachowski, linux-arm-msm, dri-devel,
	andersson

On 10/31/2025 1:25 PM, Zack McKevitt wrote:
> Rename irq_polling_work to qaic_irq_polling_work to reduce ambiguity
> and avoid potential naming conflicts in the future.
> 
> Signed-off-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>

Pushed to drm-misc-next

-Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-07 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31 19:25 [PATCH] accel/qaic: Add qaic_ prefix to irq_polling_work Zack McKevitt
2025-11-07 18:20 ` Jeff Hugo
2025-11-07 18:29 ` Jeff Hugo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox