summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-wsem.h
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2020-03-31 09:49:50 -0700
committerJens Axboe <axboe@kernel.dk>2020-05-09 16:18:33 -0600
commitf56bf76f79f3dc15f17433dda1b567d34f18e699 (patch)
tree2995bba623452667df8340e2f439e1ac310ea492 /lib/locking-selftest-wsem.h
parent3b8281b02bdc6fc7bed6f20af6fd7933a86b94e2 (diff)
downloadlinux-f56bf76f79f3dc15f17433dda1b567d34f18e699.tar.gz
nvme-fc: Ensure private pointers are NULL if no data
Ensure that when allocations are done, and the lldd options indicate no private data is needed, that private pointers will be set to NULL (catches driver error that forgot to set private data size). Slightly reorg the allocations so that private data follows allocations for LS request/response buffers. Ensures better alignments for the buffers as well as the private pointer. Signed-off-by: James Smart <jsmart2021@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions