diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2025-02-13 15:52:31 +0900 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-02-18 07:25:15 -0800 |
commit | cd513e0434c3e736c549bc99bf7982658b25114d (patch) | |
tree | fbcd3dd581816d959d7abafe55ff666d4131984c /lib/mpi/mpiutil.c | |
parent | 01ef7ff7dd3cd8cc71af8d1d1496be853281a948 (diff) |
nvme: tcp: Fix compilation warning with W=1
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@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions