]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/cio: Correct some typos in comments
authorShen Lichuan <shenlichuan@vivo.com>
Sun, 29 Sep 2024 08:03:53 +0000 (16:03 +0800)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 10 Oct 2024 13:32:44 +0000 (15:32 +0200)
Fixed some confusing typos that were currently identified with codespell,
the details are as follows:

-in the code comments:
drivers/s390/cio/chsc.c:379: EBCIDC ==> EBCDIC
drivers/s390/cio/cio.h:22: sublass ==> subclass
drivers/s390/cio/cmf.c:49: exended ==> extended
drivers/s390/cio/cmf.c:138: sinlge ==> single
drivers/s390/cio/cmf.c:1230: Reenable ==> Re-enable

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/r/20240929080353.11690-1-shenlichuan@vivo.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/chsc.c
drivers/s390/cio/cio.h
drivers/s390/cio/cmf.c

index dcc1e1c34ca2e139367d6eefa7964c87d1432627..a86b05d140050321496766017a570e4ecde738ec 100644 (file)
@@ -376,7 +376,7 @@ struct lir {
 #define PARAMS_LEN     10      /* PARAMS=xx,xxxxxx */
 #define NODEID_LEN     35      /* NODEID=tttttt/mdl,mmm.ppssssssssssss,xxxx */
 
-/* Copy EBCIDC text, convert to ASCII and optionally add delimiter. */
+/* Copy EBCDIC text, convert to ASCII and optionally add delimiter. */
 static char *store_ebcdic(char *dest, const char *src, unsigned long len,
                          char delim)
 {
index a9057a5b670a665d3f267e14c6a7140da4ca7f4f..08a5e9380e75a93bbacac1eb2cce63335cc0e7b6 100644 (file)
@@ -19,7 +19,7 @@ struct pmcw {
        u32 intparm;            /* interruption parameter */
        u32 qf   : 1;           /* qdio facility */
        u32 w    : 1;
-       u32 isc  : 3;           /* interruption sublass */
+       u32 isc  : 3;           /* interruption subclass */
        u32 res5 : 3;           /* reserved zeros */
        u32 ena  : 1;           /* enabled */
        u32 lm   : 2;           /* limit mode */
index f80dc18e2a761662dcd491faad85296ea951d252..314d53d365d1a4dafb7e490e5aa98e2d3ffeff86 100644 (file)
@@ -46,7 +46,7 @@
 /* indices for READCMB */
 enum cmb_index {
        avg_utilization = -1,
- /* basic and exended format: */
+ /* basic and extended format: */
        cmb_ssch_rsch_count = 0,
        cmb_sample_count,
        cmb_device_connect_time,
@@ -135,7 +135,7 @@ static inline u64 time_to_nsec(u32 value)
  * Users are usually interested in average times,
  * not accumulated time.
  * This also helps us with atomicity problems
- * when reading sinlge values.
+ * when reading single values.
  */
 static inline u64 time_to_avg_nsec(u32 value, u32 count)
 {
@@ -1227,7 +1227,7 @@ int cmf_readall(struct ccw_device *cdev, struct cmbdata *data)
        return cmbops->readall(cdev, data);
 }
 
-/* Reenable cmf when a disconnected device becomes available again. */
+/* Re-enable cmf when a disconnected device becomes available again. */
 int cmf_reenable(struct ccw_device *cdev)
 {
        cmbops->reset(cdev);