diff options
author | James Smart <jsmart2021@gmail.com> | 2020-03-31 09:49:50 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-09 16:18:33 -0600 |
commit | f56bf76f79f3dc15f17433dda1b567d34f18e699 (patch) | |
tree | 2995bba623452667df8340e2f439e1ac310ea492 /lib/vsprintf.c | |
parent | 3b8281b02bdc6fc7bed6f20af6fd7933a86b94e2 (diff) | |
download | linux-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/vsprintf.c')
0 files changed, 0 insertions, 0 deletions