Skip to content

Fix tests#175

Merged
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:fix-tests
Jan 14, 2022
Merged

Fix tests#175
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:fix-tests

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Jan 14, 2022

A couple of simple fixes.

The argument order for memcpy is clearly the wrong way around. The
provided timestamp should be stored into the ts variable. The
compiler was warning about ts not being initialized.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Do not try to dereference a NULL pointer. Just ignore it.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
@igaw igaw merged commit 1be128e into linux-nvme:master Jan 14, 2022
@igaw igaw deleted the fix-tests branch January 14, 2022 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants