]> www.infradead.org Git - users/sagi/libnvme.git/commit
util: Add feature length for host memory buffer
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 29 Apr 2022 15:06:27 +0000 (17:06 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 29 Apr 2022 15:09:33 +0000 (17:09 +0200)
commite7e79cbf541f755f06f491d08a0d0c2c7cc483a7
treef862438faf699baa45cd87969d2d607889a4c2f8
parent3f0bff88871693e0be322375a5fae00ce9e6a1d7
util: Add feature length for host memory buffer

Without this the command "nvme get-feature /dev/nvme0 -H -f 0x0d"
segfaults because it retrieves no data but tries to use it in
nvme_show_host_mem_buffer()
src/nvme/util.c