From patchwork Mon Dec 6 23:27:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Mosberger-Tang X-Patchwork-Id: 521907 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1CB6C433EF for ; Mon, 6 Dec 2021 23:27:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353829AbhLFXbD (ORCPT ); Mon, 6 Dec 2021 18:31:03 -0500 Received: from o1.ptr2625.egauge.net ([167.89.112.53]:24070 "EHLO o1.ptr2625.egauge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343510AbhLFXa7 (ORCPT ); Mon, 6 Dec 2021 18:30:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egauge.net; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type; s=sgd; bh=guW23mtTiuXwskiyecdg4qte38wrAp/AoTMhy7lWU8Q=; b=mgCujg937KxmbAHssJ0ootFafPyQbdzAkwFXoBRbou2mtwdstM5LaGe+qX8HoFR6xHeB 1KCnlGJUsfd6Wuar/Pmu62I6KeFc+6yv5TawqrieUqNqeudtTGeEaQxpGIAtx9ZkBLgy8V nLeRma/mot/cVMeylrbQ8vSzfxqpNZn+grVbblayOYtVf1q8+/Jpp5P8pe9P05p2DKqbLr UHHkbCnrV6MNp1IbIt2AzzEHrHo/TAm2xCvPF6Tamt+Gf3VTcjQIKmdruknnoX+0PJvk2y sbsQbPmN3nieCWmuSYP+J6euNXLKJMCOTGXGU3HwGDIQsPlTajeBP0NkElreFi6g== Received: by filterdrecv-7bf5c69d5-rfl26 with SMTP id filterdrecv-7bf5c69d5-rfl26-1-61AE9C61-7 2021-12-06 23:27:29.145840161 +0000 UTC m=+8298397.887489927 Received: from pearl.egauge.net (unknown) by ismtpd0042p1las1.sendgrid.net (SG) with ESMTP id yhYDs2-tRiq_G3Ztow9I1A Mon, 06 Dec 2021 23:27:28.993 +0000 (UTC) Received: by pearl.egauge.net (Postfix, from userid 1000) id 2547470016C; Mon, 6 Dec 2021 16:27:28 -0700 (MST) From: David Mosberger-Tang Subject: [PATCH 1/2] wilc1000: Fix copy-and-paste typo in wilc_set_mac_address Date: Mon, 06 Dec 2021 23:27:29 +0000 (UTC) Message-Id: <20211206232709.3192856-2-davidm@egauge.net> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211206232709.3192856-1-davidm@egauge.net> References: <20211206232709.3192856-1-davidm@egauge.net> MIME-Version: 1.0 X-SG-EID: +kMxBqj35EdRUKoy8diX1j4AXmPtd302oan+iXZuF8m2Nw4HRW2irNspffT/khET6RJF6+Prbl0h/EtF1rRLvE0edDvWCJfLmJJeJyLdPFdjcmJadQ1tVAys6WtKgGjBcOwi3qJ8nwdkucZAH+dD5nMbK21Cx50FV9oWEoYF1zOnuJBbdwoXY/IPejf9c3o5hmbOytylPnZNSsAkL+2zEFujxbbGIANckmTlbeNX7W/BAEtIXD8WQECuLkO1yGh35hJ/fKi8GyVOXJGf5UAZRA== To: Ajay Singh Cc: Claudiu Beznea , Kalle Valo , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, David Mosberger-Tang X-Entity-ID: Xg4JGAcGrJFIz2kDG9eoaQ== Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The messages appears to have been copied from wilc_get_mac_address and says "get" when it should say "set". Signed-off-by: David Mosberger-Tang --- drivers/net/wireless/microchip/wilc1000/hif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/microchip/wilc1000/hif.c b/drivers/net/wireless/microchip/wilc1000/hif.c index e69b9c7f3d31..a019da0bfc3f 100644 --- a/drivers/net/wireless/microchip/wilc1000/hif.c +++ b/drivers/net/wireless/microchip/wilc1000/hif.c @@ -1312,7 +1312,7 @@ int wilc_set_mac_address(struct wilc_vif *vif, u8 *mac_addr) result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); if (result) - netdev_err(vif->ndev, "Failed to get mac address\n"); + netdev_err(vif->ndev, "Failed to set mac address\n"); return result; }