platform/x86: ISST: Fix typo in comments

Message ID 20221102032940.24912-1-chenzhang@kylinos.cn
State New
Headers
Series platform/x86: ISST: Fix typo in comments |

Commit Message

chen zhang Nov. 2, 2022, 3:29 a.m. UTC
  Fix spelling typo in comments.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: chen zhang <chenzhang@kylinos.cn>
---
 drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bagas Sanjaya Nov. 2, 2022, 4:23 a.m. UTC | #1
On Wed, Nov 02, 2022 at 11:29:40AM +0800, chen zhang wrote:
> Fix spelling typo in comments.
> 

What typofix and what comment does it fix? I have to see the actual diff
below.

Also, why do you also Cc your @163.com address?

> @@ -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 */

s/interace/interface/ in isst_if_def_ioctl() comment, right?

Thanks.
  

Patch

diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
index fd102678c75f..c1d7f4f38765 100644
--- a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
+++ b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
@@ -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;