Re: [PATCH v2 7/7] nvmet-tcp: Support KeyUpdate
From: Simon Horman <horms@kernel.org>
Date: 2025-09-05 13:25:49
Also in:
linux-doc, linux-nfs, linux-nvme, lkml
From: Simon Horman <horms@kernel.org>
Date: 2025-09-05 13:25:49
Also in:
linux-doc, linux-nfs, linux-nvme, lkml
On Fri, Sep 05, 2025 at 12:46:59PM +1000, alistair23@gmail.com wrote: ...
diff --git a/drivers/nvme/target/tcp.c b/drivers/nvme/target/tcp.c
...
static int nvmet_tcp_tls_record_ok(struct nvmet_tcp_queue *queue,
struct msghdr *msg, char *cbuf)
{
struct cmsghdr *cmsg = (struct cmsghdr *)cbuf;
- u8 ctype, level, description;
+ u8 ctype, htype, level, description;nit: htype is unused in this function Flagged by W=1 builds.
int ret = 0; ctype = tls_get_record_type(queue->sock->sk, cmsg);
...