Skip to content

Commit 7c0e8a5

Browse files
committed
ioctl: Set log page offset for nvme_get_log_telemetry_host
The function is not setting the passed in offset. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 7aab6de commit 7c0e8a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/ioctl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ static inline int nvme_get_log_telemetry_host(int fd, __u64 offset,
14611461
__u32 len, void *log)
14621462
{
14631463
struct nvme_get_log_args args = {
1464-
.lpo = 0,
1464+
.lpo = offset,
14651465
.result = NULL,
14661466
.log = log,
14671467
.args_size = sizeof(args),

0 commit comments

Comments
 (0)