From patchwork Wed Feb 4 08:33:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 5775351 Return-Path: X-Original-To: patchwork-ath10k@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 361359F302 for ; Wed, 4 Feb 2015 08:34:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5EEF6202DD for ; Wed, 4 Feb 2015 08:34:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91E9B2021A for ; Wed, 4 Feb 2015 08:34:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YIvPY-0004TS-GS; Wed, 04 Feb 2015 08:34:12 +0000 Received: from sabertooth02.qualcomm.com ([65.197.215.38]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YIvPX-0004Pq-1Q for ath10k@lists.infradead.org; Wed, 04 Feb 2015 08:34:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1423038851; x=1454574851; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=MaZm+cNvjiQrNQS8gkaxtEVdN2fN7zZ2Xsz1BqY3PyA=; b=O24zIc/8uX1mp/IuqVedR+aNo1cQDjhmqtp03lsUpXfMmwIdJeKiZF79 QF4WLaTUiWS3cLvMCqClEphF+cEShHfDHcTPGyR/VakKlT/nRZHuVl+HW QOD+ppZRCPglCbL9hUePOnAP16cm0iXBGF/PS+F4UcaIQfZ8xaHAogp4+ M=; X-IronPort-AV: E=McAfee;i="5600,1067,7701"; a="83456772" Received: from ironmsg03-lv.qualcomm.com ([10.47.202.181]) by sabertooth02.qualcomm.com with ESMTP; 04 Feb 2015 00:33:49 -0800 X-IronPort-AV: E=Sophos;i="5.09,517,1418112000"; d="scan'208";a="25773537" Received: from nalasexr01g.na.qualcomm.com ([10.49.56.53]) by ironmsg03-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 04 Feb 2015 00:33:48 -0800 Received: from potku.adurom.net (10.80.80.8) by NALASEXR01G.na.qualcomm.com (10.49.56.53) with Microsoft SMTP Server (TLS) id 15.0.995.29; Wed, 4 Feb 2015 00:33:45 -0800 From: Kalle Valo To: Subject: Re: [PATCH 3/8] ath10k: fix spelling mistakes and add details to mac logging. References: <1421087564-10384-1-git-send-email-greearb@candelatech.com> <1421087564-10384-3-git-send-email-greearb@candelatech.com> Date: Wed, 4 Feb 2015 10:33:37 +0200 In-Reply-To: <1421087564-10384-3-git-send-email-greearb@candelatech.com> (greearb@candelatech.com's message of "Mon, 12 Jan 2015 10:32:39 -0800") Message-ID: <87d25qulcu.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01D.na.qualcomm.com (10.85.0.84) To NALASEXR01G.na.qualcomm.com (10.49.56.53) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150204_003411_150679_B3621D33 X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.1 (-----) Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 greearb@candelatech.com writes: > From: Ben Greear > > A bit of general cleanup to make debug messages more useful. > > Signed-off-by: Ben Greear [...] > - ath10k_warn(ar, "failed to synchronise monitor vdev %i: %d\n", > + ath10k_warn(ar, "failed to synchronize monitor vdev %i: %d (stop)\n", Hehe, spelling fixes? You know not everyone speak "American" ;) Anyway, I changed the patch in pending branch to follow the style with other similar warning messages: diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 40c666615993..f4ab3d0a5fa0 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -608,7 +608,7 @@ static int ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) ret = ath10k_vdev_setup_sync(ar); if (ret) { - ath10k_warn(ar, "failed to synchronize setup for monitor vdev %i: %d (start)\n", + ath10k_warn(ar, "failed to synchronize setup for monitor vdev %i start: %d\n", vdev_id, ret); return ret; } @@ -655,7 +655,7 @@ static int ath10k_monitor_vdev_stop(struct ath10k *ar) ret = ath10k_vdev_setup_sync(ar); if (ret) - ath10k_warn(ar, "failed to synchronize monitor vdev %i: %d (stop)\n", + ath10k_warn(ar, "failed to synchronize monitor vdev %i stop: %d\n", ar->monitor_vdev_id, ret); ath10k_dbg(ar, ATH10K_DBG_MAC, "mac monitor vdev %i stopped\n", @@ -924,8 +924,9 @@ static int ath10k_vdev_start_restart(struct ath10k_vif *arvif, bool restart) ret = ath10k_vdev_setup_sync(ar); if (ret) { - ath10k_warn(ar, "failed to synchronize setup for vdev %i: %d (restart %d)\n", - arg.vdev_id, ret, restart); + ath10k_warn(ar, + "failed to synchronize setup for vdev %i restart %d: %d\n", + arg.vdev_id, restart, ret); return ret; } @@ -963,7 +964,7 @@ static int ath10k_vdev_stop(struct ath10k_vif *arvif) ret = ath10k_vdev_setup_sync(ar); if (ret) { - ath10k_warn(ar, "failed to synchronize setup for vdev %i: %d (stop)\n", + ath10k_warn(ar, "failed to synchronize setup for vdev %i stop: %d\n", arvif->vdev_id, ret); return ret; }