summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-08-04 22:47:00 +0000
committerChuck Lever <chuck.lever@oracle.com>2025-09-21 19:24:50 -0400
commit9ebcd022a34388bd3c37c6a11c1a9d49d5394eb2 (patch)
treee2634c2a9bb7b1e9cd4374744adb2ee427d6b66a /drivers/infiniband/hw/ionic/ionic_datapath.c
parent17695d72d0b192bb471a699483dd6c6c2576c57d (diff)
nfsd: Eliminate an allocation in nfs4_make_rec_clidname()
Since MD5 digests are fixed-size, make nfs4_make_rec_clidname() store the digest in a stack buffer instead of a dynamically allocated buffer. Use MD5_DIGEST_SIZE instead of a hard-coded value, both in nfs4_make_rec_clidname() and in the definition of HEXDIR_LEN. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions