[PATCH 1/2] nvme-tcp: move nvme_tcp_reclassify_socket()
Nilay Shroff
nilay at linux.ibm.com
Sun May 31 08:21:45 PDT 2026
On 5/30/26 10:50 AM, Shin'ichiro Kawasaki wrote:
> Move nvme_tcp_reclassify_socket() in tcp.c after the struct
> nvme_tcp_queue definition. This is preparation for adding a reference
> to struct nvme_tcp_queue in the function, which would otherwise cause a
> compile failure due to the struct being defined after the function.
>
> Move the entire CONFIG_DEBUG_LOCK_ALLOC block along with the function
> to maintain the code organization.
>
> Signed-off-by: Shin'ichiro Kawasaki<shinichiro.kawasaki at wdc.com>
> ---
> drivers/nvme/host/tcp.c | 76 ++++++++++++++++++++---------------------
> 1 file changed, 38 insertions(+), 38 deletions(-)
Looks good to me.
Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>
More information about the Linux-nvme
mailing list