From: Cornelia Huck <cohuck@redhat.com>
Date: Thu, 22 Feb 2018 12:14:16 +0000 (+0100)
Subject: s390: fix comment for scsw_cmd_is_valid_sctl
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b35fe61df4bf10c7e164a416ff8241e42f3991aa;p=linux.git

s390: fix comment for scsw_cmd_is_valid_sctl

This function is checking for the suspend control, not the function
control.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---

diff --git a/arch/s390/include/asm/scsw.h b/arch/s390/include/asm/scsw.h
index 79b7ffa918327..c00f7b0316288 100644
--- a/arch/s390/include/asm/scsw.h
+++ b/arch/s390/include/asm/scsw.h
@@ -390,10 +390,10 @@ static inline int scsw_cmd_is_valid_key(union scsw *scsw)
 }
 
 /**
- * scsw_cmd_is_valid_sctl - check fctl field validity
+ * scsw_cmd_is_valid_sctl - check sctl field validity
  * @scsw: pointer to scsw
  *
- * Return non-zero if the fctl field of the specified command mode scsw is
+ * Return non-zero if the sctl field of the specified command mode scsw is
  * valid, zero otherwise.
  */
 static inline int scsw_cmd_is_valid_sctl(union scsw *scsw)