Patch "nvme: tcp: Fix compilation warning with W=1" has been added to the 6.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    nvme: tcp: Fix compilation warning with W=1

to the 6.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     nvme-tcp-fix-compilation-warning-with-w-1.patch
and it can be found in the queue-6.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2b2c9cee67f7aba6a71f85effec7f2822e970f80
Author: Damien Le Moal <dlemoal@xxxxxxxxxx>
Date:   Thu Feb 13 15:52:31 2025 +0900

    nvme: tcp: Fix compilation warning with W=1
    
    [ Upstream commit cd513e0434c3e736c549bc99bf7982658b25114d ]
    
    When compiling with W=1, a warning result for the function
    nvme_tcp_set_queue_io_cpu():
    
    host/tcp.c:1578: warning: Function parameter or struct member 'queue'
    not described in 'nvme_tcp_set_queue_io_cpu'
    host/tcp.c:1578: warning: expecting prototype for Track the number of
    queues assigned to each cpu using a global per(). Prototype was for
    nvme_tcp_set_queue_io_cpu() instead
    
    Avoid this warning by using the regular comment format for the function
    nvme_tcp_set_queue_io_cpu() instead of the kdoc comment format.
    
    Fixes: 32193789878c ("nvme-tcp: Fix I/O queue cpu spreading for multiple controllers")
    Signed-off-by: Damien Le Moal <dlemoal@xxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
    Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c
index 841238f38fdda..4162893d49395 100644
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -1565,7 +1565,7 @@ static bool nvme_tcp_poll_queue(struct nvme_tcp_queue *queue)
 			  ctrl->io_queues[HCTX_TYPE_POLL];
 }
 
-/**
+/*
  * Track the number of queues assigned to each cpu using a global per-cpu
  * counter and select the least used cpu from the mq_map. Our goal is to spread
  * different controllers I/O threads across different cpu cores.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux