-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin/ocp_fid_c6h:Added the ocp C6h feature api #2097
plugin/ocp_fid_c6h:Added the ocp C6h feature api #2097
Conversation
Reviewed-by: Karthik Balan karthik.b82@samsung.com, Arunpandian J arun.j@samsung.com Signed-off-by: Vigneshwaran Saravanan/SSD TS Dev /SSIR/Engineer/Samsung Electronics <s.vignesh@samsung.com>
plugins/ocp/ocp-nvme.c
Outdated
static int set_plp_health_check_interval(int argc, char **argv, struct command *cmd, | ||
struct plugin *plugin) | ||
{ | ||
const char *desc = "Define Issue Set Feature command (FID : 0xC2) PLP Health Check Interval"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentations should be fixed and also please refer the commit messages PR comments below to check patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you can use checkpatch.pl from the Linux project to figure out the obvious style problems:
$ ~/work/linux/scripts/checkpatch.pl -g HEAD
WARNING: Missing commit description - Add an appropriate one
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#20:
new file mode 100644
ERROR: trailing whitespace
#95: FILE: Documentation/nvme-ocp-set-plp-health-check-interval.txt:11:
+'nvme ocp set-plp-health-check-interval' <device> [--plp_health_interval=<plp_health_interval> | -p <plp_health_interval>] [--save | -s] [--no-uuid | -n] $
ERROR: code indent should use tabs where possible
#153: FILE: plugins/ocp/ocp-nvme.c:1970:
+ struct plugin *plugin)$
WARNING: please, no spaces at the start of a line
#153: FILE: plugins/ocp/ocp-nvme.c:1970:
+ struct plugin *plugin)$
WARNING: please, no spaces at the start of a line
#155: FILE: plugins/ocp/ocp-nvme.c:1972:
+ const char *desc = "Define Issue Set Feature command (FID : 0xC2) PLP Health Check Interval";$
FWIW, we just added a checkpatch.pl
github workflow check to libnvme. I suppose we should also
add this to nvme-cli soon. I just want to see how it work in libnvme first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorporated the review comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Karthik Balan karthik.b82@samsung.com, Arunpandian J arun.j@samsung.com Signed-off-by: Vigneshwaran Saravanan/SSD TS Dev /SSIR/Engineer/Samsung Electronics <s.vignesh@samsung.com>
Thanks! |
Added the ocp C6h feature api.
Reviewed-by: Karthik Balan karthik.b82@samsung.com, Arunpandian J arun.j@samsung.com
Signed-off-by: Vigneshwaran Saravanan/SSD TS Dev /SSIR/Engineer/Samsung Electronics s.vignesh@samsung.com