aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/core.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2018-05-25 11:04:03 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-25 16:50:12 +0200
commit1e5f44616287b24a2c032274d6a5e3690dfd279b (patch)
treeef5b1c612ab409bdc4345bb515259121f038d6f6 /drivers/nvme/host/core.c
parentnvmet-loop: use nr_phys_segments when map rq to sgl (diff)
downloadlinux-dev-1e5f44616287b24a2c032274d6a5e3690dfd279b.tar.xz
linux-dev-1e5f44616287b24a2c032274d6a5e3690dfd279b.zip
nvme: fix KASAN warning when parsing host nqn
The host nqn actually is smaller than the space reserved for it, so we should be using strlcpy to keep KASAN happy. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions