From patchwork Tue Feb 16 08:39:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8322721 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 306379F372 for ; Tue, 16 Feb 2016 08:40:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50285202D1 for ; Tue, 16 Feb 2016 08:40:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 705CC202A1 for ; Tue, 16 Feb 2016 08:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754190AbcBPIkZ (ORCPT ); Tue, 16 Feb 2016 03:40:25 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36154 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752598AbcBPIkX (ORCPT ); Tue, 16 Feb 2016 03:40:23 -0500 Received: by mail-pf0-f177.google.com with SMTP id e127so101536226pfe.3 for ; Tue, 16 Feb 2016 00:40:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZsxrEkirXu/iHkF3LOhR+Is9C9dX/q/2kki9hM5uz+g=; b=SItgWEjnZiGFxk42P53QPdEbU+USlXeAuVamnGz8+m7fCwEf3r50lkE6eBXXwTjZyy gI/W8lrF8OwckAhhHZ+4nD7WKZgSVPZxY46iPlD25hltFka5divH9yreZTGNRmAkg5qS DVIHHJI6pV8ZZBoXynrMbKbZb1zt1+fGRCYRcF8U+4CMfOE0UzA2erVhLMi8Q/mxxo0R 1noTC0HY/HgEuQIgoWD1FOw9BEbpC4MO0FsxlfT8gB7IvZAlBrWBz18M4bFtxQ7Fug6K 8l5OWzxbI4quxIukF5+9ANl5jGFnQ3jIhpH/1eTitnd6USQhOytAPZsYd/0N6eNsXHnN qV4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZsxrEkirXu/iHkF3LOhR+Is9C9dX/q/2kki9hM5uz+g=; b=UCa7fSA9U4l7yIsGI3O2KDmDf+slTzme3IZ6AylgmxnH6aDe1n/aVTuA6DhxSFD32m 7PbmdJTBfHtlbDwhoHPf3Gr5/PU4zG56aGM2V97WORXQRZrJqwei6vaguI+CL+JkHYZN PKeqFx0UJkUBs0aGGezcbmJ3xd2RSkTsE1SRQS0Mh9QoQQ2lfgEWUZVnD7YlgiJa//3C O0cYyUcCNBN97PXVbPAsvy8JsGfaV6FlHFoba85iK8loHS7VS53H2c3QDQrMvYcZUCK1 dY6YekArbhWhEsgWlqwt4GjQuhy7e+5zcRwDJkK/5sa7AkFFvTPiXM75Ougt8sQnIdNo LAJA== X-Gm-Message-State: AG10YOTytIF1+MpUpn3GMvIFyLeltnbLGA5/d6Kt4jgu9FGrMU+9YtBpim/if9B3u+7pqw== X-Received: by 10.98.7.146 with SMTP id 18mr29226886pfh.47.1455612022493; Tue, 16 Feb 2016 00:40:22 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id s197sm43783511pfs.62.2016.02.16.00.40.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Feb 2016 00:40:21 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 7/7] staging: wilc1000: handle_set_mac_address: use netdev_err Date: Tue, 16 Feb 2016 17:39:55 +0900 Message-Id: <1455611995-28773-7-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455611995-28773-1-git-send-email-chaehyun.lim@gmail.com> References: <1455611995-28773-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch uses netdev_err instead of PRINT_ER that is a custom debug print. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index bfca0b4..d5859c5 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -442,7 +442,7 @@ static void handle_set_mac_address(struct wilc_vif *vif, ret = wilc_send_config_pkt(vif, SET_CFG, &wid, 1, wilc_get_vif_idx(vif)); if (ret) - PRINT_ER("Failed to set mac address\n"); + netdev_err(vif->ndev, "Failed to set mac address\n"); kfree(mac_buf); }