Skip to contentSkip to conversation

scsi: fnic: Remove unnecessary debug print

PATCH Applied Karan Tilak Kumar 2 participants 3 messages Feb 25, 2025 – Mar 11, 2025

Subsystems (2)
lore
Share & tools
lore

Karan Tilak Kumar

author maintainer
#0 lore raw

PATCH 1/1 scsi: fnic: Remove unnecessary debug print

Remove unnecessary debug print from fdls_schedule_oxid_free_retry_work. As suggested by Dan, this information is already present in stack traces, and the kernel is not expected to fail small allocations.

Fixes a63e78eb2b0f ("scsi: fnic: Add support for fabric based solicited requests and responses")
---
 drivers/scsi/fnic/fdls_disc.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/scsi/fnic/fdls_disc.c +0 -4
index 11211c469583..d12caede8919 100644
@@ -323,10 +323,6 @@ void fdls_schedule_oxid_free_retry_work(struct work_struct *work)
 		spin_lock_irqsave(&fnic->fnic_lock, fnic->lock_flags);
 
 		if (!reclaim_entry) {
-			FNIC_FCS_DBG(KERN_WARNING, fnic->host, fnic->fnic_num,
-				"Failed to allocate memory for reclaim struct for oxid idx: 0x%x\n",
-				idx);
-
 			schedule_delayed_work(&oxid_pool->schedule_oxid_free_retry,
 				msecs_to_jiffies(SCHEDULE_OXID_FREE_RETRY_TIME));
 			spin_unlock_irqrestore(&fnic->fnic_lock, fnic->lock_flags);
Signature · 1 line
2.47.1
#1 lore raw

Karan,

Quoted 3 lines

Remove unnecessary debug print from fdls_schedule_oxid_free_retry_work. As suggested by Dan, this information is already present in stack traces, and the kernel is not expected to fail small allocations.

Applied to 6.15/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#2 lore raw
In reply to Karan Tilak Kumar
Quoted 5 lines · Karan Tilak Kumar

Remove unnecessary debug print from fdls_schedule_oxid_free_retry_work. As suggested by Dan, this information is already present in stack traces, and the kernel is not expected to fail small allocations.

Applied to 6.15/scsi-queue, thanks!

[1/1] scsi: fnic: Remove unnecessary debug print

      https://git.kernel.org/mkp/scsi/c/9b2d1ecf8797
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering