fwts_hwinfo: fix copy & paste typos
diff mbox series

Message ID 20200122052749.4612-1-alex.hung@canonical.com
State Accepted
Headers show
Series
  • fwts_hwinfo: fix copy & paste typos
Related show

Commit Message

Alex Hung Jan. 22, 2020, 5:27 a.m. UTC
There are no functional changes

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/lib/src/fwts_hwinfo.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Colin Ian King Jan. 22, 2020, 11:18 p.m. UTC | #1
On 22/01/2020 05:27, Alex Hung wrote:
> There are no functional changes
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/lib/src/fwts_hwinfo.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/lib/src/fwts_hwinfo.c b/src/lib/src/fwts_hwinfo.c
> index 6453d714..465b58b2 100644
> --- a/src/lib/src/fwts_hwinfo.c
> +++ b/src/lib/src/fwts_hwinfo.c
> @@ -146,7 +146,7 @@ static int fwts_hwinfo_bluetooth_config_cmp(void *data1, void *data2)
>  
>  /*
>   *  fwts_hwinfo_bluetooth_get()
> - * 	read a specific input device config
> + * 	read a specific bluetooth device config
>   */
>  static int fwts_hwinfo_bluetooth_get(
>  	fwts_framework *fw,
> @@ -157,7 +157,7 @@ static int fwts_hwinfo_bluetooth_get(
>  
>  	fwts_list_init(devices);
>  	if ((dp = opendir(FWTS_HWINFO_SYS_BLUETOOTH)) == NULL) {
> -		fwts_log_error(fw, "Cannot open %s to scan network devices.", FWTS_HWINFO_SYS_BLUETOOTH);
> +		fwts_log_error(fw, "Cannot open %s to scan bluetooth devices.", FWTS_HWINFO_SYS_BLUETOOTH);
>  		return FWTS_ERROR;
>  	}
>  
> @@ -265,7 +265,7 @@ static int fwts_hwinfo_input_get(
>  
>  	fwts_list_init(devices);
>  	if ((dp = opendir(FWTS_HWINFO_SYS_INPUT)) == NULL) {
> -		fwts_log_error(fw, "Cannot open %s to scan network devices.", FWTS_HWINFO_SYS_INPUT);
> +		fwts_log_error(fw, "Cannot open %s to scan input devices.", FWTS_HWINFO_SYS_INPUT);
>  		return FWTS_ERROR;
>  	}
>  
> @@ -739,7 +739,7 @@ static int fwts_hwinfo_lists_differ(
>  }
>  
>  /*
> - *  fwts_hwinfo_compare()
> + *  fwts_hwinfo_lists_compare()
>   *	check for differences in a list and if any found, dump out both lists
>   */
>  static void fwts_hwinfo_lists_compare(
> 
Nice catch!

Acked-by: Colin Ian King <colin.king@canonical.com>
ivanhu Feb. 4, 2020, 5:13 a.m. UTC | #2
On 1/22/20 1:27 PM, Alex Hung wrote:
> There are no functional changes
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/lib/src/fwts_hwinfo.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/lib/src/fwts_hwinfo.c b/src/lib/src/fwts_hwinfo.c
> index 6453d714..465b58b2 100644
> --- a/src/lib/src/fwts_hwinfo.c
> +++ b/src/lib/src/fwts_hwinfo.c
> @@ -146,7 +146,7 @@ static int fwts_hwinfo_bluetooth_config_cmp(void *data1, void *data2)
>  
>  /*
>   *  fwts_hwinfo_bluetooth_get()
> - * 	read a specific input device config
> + * 	read a specific bluetooth device config
>   */
>  static int fwts_hwinfo_bluetooth_get(
>  	fwts_framework *fw,
> @@ -157,7 +157,7 @@ static int fwts_hwinfo_bluetooth_get(
>  
>  	fwts_list_init(devices);
>  	if ((dp = opendir(FWTS_HWINFO_SYS_BLUETOOTH)) == NULL) {
> -		fwts_log_error(fw, "Cannot open %s to scan network devices.", FWTS_HWINFO_SYS_BLUETOOTH);
> +		fwts_log_error(fw, "Cannot open %s to scan bluetooth devices.", FWTS_HWINFO_SYS_BLUETOOTH);
>  		return FWTS_ERROR;
>  	}
>  
> @@ -265,7 +265,7 @@ static int fwts_hwinfo_input_get(
>  
>  	fwts_list_init(devices);
>  	if ((dp = opendir(FWTS_HWINFO_SYS_INPUT)) == NULL) {
> -		fwts_log_error(fw, "Cannot open %s to scan network devices.", FWTS_HWINFO_SYS_INPUT);
> +		fwts_log_error(fw, "Cannot open %s to scan input devices.", FWTS_HWINFO_SYS_INPUT);
>  		return FWTS_ERROR;
>  	}
>  
> @@ -739,7 +739,7 @@ static int fwts_hwinfo_lists_differ(
>  }
>  
>  /*
> - *  fwts_hwinfo_compare()
> + *  fwts_hwinfo_lists_compare()
>   *	check for differences in a list and if any found, dump out both lists
>   */
>  static void fwts_hwinfo_lists_compare(
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch
diff mbox series

diff --git a/src/lib/src/fwts_hwinfo.c b/src/lib/src/fwts_hwinfo.c
index 6453d714..465b58b2 100644
--- a/src/lib/src/fwts_hwinfo.c
+++ b/src/lib/src/fwts_hwinfo.c
@@ -146,7 +146,7 @@  static int fwts_hwinfo_bluetooth_config_cmp(void *data1, void *data2)
 
 /*
  *  fwts_hwinfo_bluetooth_get()
- * 	read a specific input device config
+ * 	read a specific bluetooth device config
  */
 static int fwts_hwinfo_bluetooth_get(
 	fwts_framework *fw,
@@ -157,7 +157,7 @@  static int fwts_hwinfo_bluetooth_get(
 
 	fwts_list_init(devices);
 	if ((dp = opendir(FWTS_HWINFO_SYS_BLUETOOTH)) == NULL) {
-		fwts_log_error(fw, "Cannot open %s to scan network devices.", FWTS_HWINFO_SYS_BLUETOOTH);
+		fwts_log_error(fw, "Cannot open %s to scan bluetooth devices.", FWTS_HWINFO_SYS_BLUETOOTH);
 		return FWTS_ERROR;
 	}
 
@@ -265,7 +265,7 @@  static int fwts_hwinfo_input_get(
 
 	fwts_list_init(devices);
 	if ((dp = opendir(FWTS_HWINFO_SYS_INPUT)) == NULL) {
-		fwts_log_error(fw, "Cannot open %s to scan network devices.", FWTS_HWINFO_SYS_INPUT);
+		fwts_log_error(fw, "Cannot open %s to scan input devices.", FWTS_HWINFO_SYS_INPUT);
 		return FWTS_ERROR;
 	}
 
@@ -739,7 +739,7 @@  static int fwts_hwinfo_lists_differ(
 }
 
 /*
- *  fwts_hwinfo_compare()
+ *  fwts_hwinfo_lists_compare()
  *	check for differences in a list and if any found, dump out both lists
  */
 static void fwts_hwinfo_lists_compare(