From b58adc26f48a5bd93f70eb9c8c5662ddff92247e Mon Sep 17 00:00:00 2001 From: Jens Remus Date: Thu, 29 Nov 2018 16:16:35 +0100 Subject: [PATCH] zdev: Cleanup zfcp attribute help MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add missing punctuation, remove duplicate newline, and add missing spacing. Signed-off-by: Jens Remus Reviewed-by: Peter Oberparleiter Signed-off-by: Jan Höppner --- zdev/src/zfcp.c | 4 ++-- zdev/src/zfcp_host.c | 4 ++-- zdev/src/zfcp_lun.c | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/zdev/src/zfcp.c b/zdev/src/zfcp.c index 03aa252e..7facbadc 100644 --- a/zdev/src/zfcp.c +++ b/zdev/src/zfcp.c @@ -1,7 +1,7 @@ /* * zdev - Modify and display the persistent configuration of devices * - * Copyright IBM Corp. 2016, 2017 + * Copyright IBM Corp. 2016, 2019 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. @@ -67,7 +67,7 @@ static struct attrib zfcp_tattr_allow_lun_scan = { "Control the use of the automatic LUN scanning feature for FCP\n" "devices that are configured in N_PORT ID Virtualization mode.\n" " 0: Automatic LUN scanning is disabled\n" - " 1: Automatic LUN scanning is enabled\n\n", + " 1: Automatic LUN scanning is enabled\n", .nounload = 1, .defval = "1", .accept = ACCEPT_ARRAY(ACCEPT_RANGE(0, 1)), diff --git a/zdev/src/zfcp_host.c b/zdev/src/zfcp_host.c index 729bc425..0fc87491 100644 --- a/zdev/src/zfcp_host.c +++ b/zdev/src/zfcp_host.c @@ -1,7 +1,7 @@ /* * zdev - Modify and display the persistent configuration of devices * - * Copyright IBM Corp. 2016, 2017 + * Copyright IBM Corp. 2016, 2019 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. @@ -64,7 +64,7 @@ static struct attrib zfcp_host_attr_port_rescan = { .title = "Trigger a port rescan for the FCP device", .desc = "Rescan FCP device for available remote ports by writing the value 1\n" - "to this attribute\n", + "to this attribute.\n", .activeonly = 1, .writeonly = 1, .accept = ACCEPT_ARRAY(ACCEPT_NUM(1)), diff --git a/zdev/src/zfcp_lun.c b/zdev/src/zfcp_lun.c index f16cbfd8..8533a982 100644 --- a/zdev/src/zfcp_lun.c +++ b/zdev/src/zfcp_lun.c @@ -1,7 +1,7 @@ /* * zdev - Modify and display the persistent configuration of devices * - * Copyright IBM Corp. 2016, 2017 + * Copyright IBM Corp. 2016, 2019 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. @@ -317,6 +317,7 @@ struct namespace zfcp_lun_namespace = { /* * zfcp lun device attributes. */ + static struct attrib zfcp_lun_attr_failed = { .name = "failed", .title = "Check and restart FCP SCSI device recovery", @@ -1080,6 +1081,7 @@ static exit_code_t zfcp_lun_st_detect_definable(struct subtype *st, /* * zfcp lun subtype. */ + struct subtype zfcp_lun_subtype = { .super = &subtype_base,