Paolo Bonzini 78d8c99e29 block/nvme: fix Coverity reports
1) string not null terminated in sysfs_find_group_file

2) NULL pointer dereference and dead local variable in nvme_init.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>

Message-Id: <20180213015240.9352-1-famz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
2018-03-01 15:21:46 +08:00
..
2017-12-22 15:05:32 +01:00
2018-02-13 16:18:35 +01:00
2018-02-08 09:22:03 +08:00
2018-03-01 15:21:46 +08:00
2018-02-09 05:05:11 +01:00
2018-02-08 09:22:03 +08:00
2017-08-31 12:29:07 +02:00