Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
ikegami-t committed Mar 11, 2024
1 parent d877a48 commit 8803b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -6481,7 +6481,7 @@ static int dsm(int argc, char **argv, struct command *cmd, struct plugin *plugin
err = nvme_dsm(&args);
gettimeofday(&end_time, NULL);
if (cfg.latency)
printf(" latency: dsm: %llu us\n", elapsed_utime(start_time, end_time));
printf(" latency: %s: %llu us\n", __func__, elapsed_utime(start_time, end_time));

Check failure on line 6484 in nvme.c

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: Prefer using '"%s...", __func__' to using 'dsm', this function's name, in a string
if (err < 0)
nvme_show_error("data-set management: %s", nvme_strerror(errno));
else if (err != 0)
Expand Down

0 comments on commit 8803b79

Please sign in to comment.