From patchwork Wed Jan 22 05:27:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1226963 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 482YpG3Gtwz9sRR; Wed, 22 Jan 2020 16:28:04 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1iu8YX-000751-Ig; Wed, 22 Jan 2020 05:27:57 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iu8YV-00074r-Pz for fwts-devel@lists.ubuntu.com; Wed, 22 Jan 2020 05:27:55 +0000 Received: from 2.general.alexhung.us.vpn ([10.172.65.255] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iu8YV-0000kO-65; Wed, 22 Jan 2020 05:27:55 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH] fwts_hwinfo: fix copy & paste typos Date: Tue, 21 Jan 2020 22:27:49 -0700 Message-Id: <20200122052749.4612-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" There are no functional changes Signed-off-by: Alex Hung Acked-by: Colin Ian King Acked-by: Ivan Hu --- 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(