Merging upstream version 2.4+really2.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
58746eb9a3
commit
1fbda9c797
458 changed files with 5141 additions and 7138 deletions
|
@ -350,8 +350,7 @@ static int fdp_status(int argc, char **argv, struct command *cmd, struct plugin
|
|||
goto out;
|
||||
}
|
||||
|
||||
len = sizeof(struct nvme_fdp_ruh_status) +
|
||||
le16_to_cpu(hdr.nruhsd) * sizeof(struct nvme_fdp_ruh_status_desc);
|
||||
len = le16_to_cpu(hdr.nruhsd) * sizeof(struct nvme_fdp_ruh_status_desc);
|
||||
buf = malloc(len);
|
||||
if (!buf) {
|
||||
err = -ENOMEM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue