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
..
2018-02-10 10:43:18 +03:00
2017-09-22 14:11:25 +02:00
2017-09-22 14:11:23 +02:00
2017-09-07 19:02:30 +01:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2018-02-08 09:22:03 +08:00
2018-02-07 14:09:25 +01:00
2016-02-04 17:01:04 +00:00
2018-01-23 12:33:07 +01:00
2018-02-15 09:39:49 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2018-02-08 09:22:03 +08:00
2017-12-20 22:01:24 +08:00