Skip to contentSkip to conversation

platform/x86: ISST: Fix typo in comments

PATCH Superseded chen zhang 2 participants 2 messages Nov 2, 2022

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

chen zhang

author
#0 lore raw

PATCH v2 1/1 platform/x86: ISST: Fix typo in comments

Fix spelling typo in comments. Change "interace" to "interface".

---
v2: update the commit
There is a bug with my company's mailbox with kylinos.cn, and sometimes I can't receive reply emails. I cc my personal 163 mailbox, so that I can receive feedback from reviewer on time.

---
 drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/intel/speed_select_if/isst_if_common.c +1 -1
index fd102678c75f..c1d7f4f38765 100644
@@ -623,7 +623,7 @@ static long isst_if_def_ioctl(struct file *file, unsigned int cmd,
 
 /* Lock to prevent module registration when already opened by user space */
 static DEFINE_MUTEX(punit_misc_dev_open_lock);
-/* Lock to allow one share misc device for all ISST interace */
+/* Lock to allow one share misc device for all ISST interface */
 static DEFINE_MUTEX(punit_misc_dev_reg_lock);
 static int misc_usage_count;
 static int misc_device_ret;
Signature · 1 line
2.25.1
#1 lore raw

Hi--

Quoted 18 lines · chen zhang

Fix spelling typo in comments. Change "interace" to "interface".

---
v2: update the commit
There is a bug with my company's mailbox with kylinos.cn, and sometimes I can't receive reply emails. I cc my personal 163 mailbox, so that I can receive feedback from reviewer on time.

---
 drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/intel/speed_select_if/isst_if_common.c +0 -0
index fd102678c75f..c1d7f4f38765 100644

drivers/platform/x86/intel/speed_select_if/isst_if_common.c static long isst_if_def_ioctl(struct file *file, unsigned int cmd, · line 626

Quoted 5 lines
drivers/platform/x86/intel/speed_select_if/isst_if_common.c +1 -1
@@ -623,7 +623,7 @@ static long isst_if_def_ioctl(struct file *file, unsigned int cmd,
 
 /* Lock to prevent module registration when already opened by user space */
 static DEFINE_MUTEX(punit_misc_dev_open_lock);
-/* Lock to allow one share misc device for all ISST interace */
+/* Lock to allow one share misc device for all ISST interface */

How about:

+/* Lock to allow one shared misc device for all ISST interfaces */

Quoted 3 lines
drivers/platform/x86/intel/speed_select_if/isst_if_common.c +0 -0
 static DEFINE_MUTEX(punit_misc_dev_reg_lock);
 static int misc_usage_count;
 static int misc_device_ret;
Signature · 1 line
~Randy