summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_controlpath.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-08-11 17:37:07 +0300
committerChuck Lever <chuck.lever@oracle.com>2025-09-22 02:24:50 +0300
commita9a15ba23efc4d6d34127e8d175ae63a95434f58 (patch)
treee7a36bff46457ceff88ee8776be5fb988e4cc20d /drivers/infiniband/hw/ionic/ionic_controlpath.c
parente4f574ca9c6dfa66695bb054ff5df43ecea873ec (diff)
downloadlinux-a9a15ba23efc4d6d34127e8d175ae63a95434f58.tar.xz
sunrpc: fix pr_notice in svc_tcp_sendto() to show correct length
This pr_notice() is confusing since it only prints xdr->len, which doesn't include the 4-byte record marker. That can make it sometimes look like the socket sent more than was requested if it's short by just a few bytes. Add sizeof(marker) to the size and fix the format accordingly. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_controlpath.c')
0 files changed, 0 insertions, 0 deletions