s390/raw3270: add comment to spinlock member
authorSven Schnelle <svens@linux.ibm.com>
Mon, 5 Dec 2022 07:57:01 +0000 (08:57 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:03 +0000 (14:34 +0100)
Add a small comment to the lock member of struct raw3270_view
to make checkpatch happy.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/raw3270.h

index 449eae127b723af249d1c3eb08a934d58a3976f5..47b41778faaed11cf53f9139c8d6571c06daa8e2 100644 (file)
@@ -159,7 +159,7 @@ struct raw3270_fn {
  */
 struct raw3270_view {
        struct list_head list;
-       spinlock_t lock;
+       spinlock_t lock; /* protects members of view */
 #define RAW3270_VIEW_LOCK_IRQ  0
 #define RAW3270_VIEW_LOCK_BH   1
        atomic_t ref_count;