From patchwork Thu Feb 2 10:47:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 9551583 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 56314602F0 for ; Thu, 2 Feb 2017 10:48:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5517226E4C for ; Thu, 2 Feb 2017 10:48:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47B6728304; Thu, 2 Feb 2017 10:48:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5594126E4C for ; Thu, 2 Feb 2017 10:48:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZEwI-0005nO-Vg; Thu, 02 Feb 2017 10:48:30 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZEwH-0005mt-NY for ath10k@bombadil.infradead.org; Thu, 02 Feb 2017 10:48:29 +0000 Received: from wolverine01.qualcomm.com ([199.106.114.254]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZEwE-00018L-LL for ath10k@lists.infradead.org; Thu, 02 Feb 2017 10:48:28 +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=1486032506; x=1517568506; h=subject:from:to:cc:date:message-id:mime-version: content-transfer-encoding; bh=uJNrA8dGLesH4O55T9V2L2zBdOx9qzzEN7rU4gAHfck=; b=PwLLM+kwcw8krDX3dPG+zfbJTs0prLJMGnm5eYXKoQcdZ0PTfq6GdC6G KcUM6TuTTWUa9q3miFCVc9A988NYM/8idFqlpTiR46uC4MueJ+jE30IuJ 6ebCHfH1wJp1XgPaxyICTW/pD8/JUwQr26F2JINe3Jtunc5TBOGiIWrP6 c=; X-IronPort-AV: E=Sophos;i="5.33,324,1477983600"; d="scan'208";a="259846565" Received: from unknown (HELO ironmsg02-L.qualcomm.com) ([10.53.140.109]) by wolverine01.qualcomm.com with ESMTP; 02 Feb 2017 02:48:02 -0800 X-IronPort-AV: E=McAfee;i="5700,7163,8426"; a="859163558" Received: from nasanexm01c.na.qualcomm.com ([10.85.0.83]) by ironmsg02-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 02 Feb 2017 02:48:00 -0800 Received: from eusanexr01a.eu.qualcomm.com (10.85.0.97) by NASANEXM01C.na.qualcomm.com (10.85.0.83) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 2 Feb 2017 02:48:00 -0800 Received: from potku.adurom.net (10.80.80.8) by eusanexr01a.eu.qualcomm.com (10.85.0.97) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 2 Feb 2017 02:47:57 -0800 Subject: [PATCH 1/3] ath10k: prefer unsigned int over just unsigned From: Kalle Valo To: Date: Thu, 2 Feb 2017 12:47:45 +0200 Message-ID: <148603246555.7275.3348416808167032391.stgit@potku.adurom.net> User-Agent: StGit/0.17.1-17-ge4e0 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01C.na.qualcomm.com (10.85.0.83) To eusanexr01a.eu.qualcomm.com (10.85.0.97) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170202_104826_973121_939108B9 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes new checkpatch warnings: drivers/net/wireless/ath/ath10k/htt.h:1639: Prefer 'unsigned int' to bare use of 'unsigned' drivers/net/wireless/ath/ath10k/htt.h:1660: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/htt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt.h b/drivers/net/wireless/ath/ath10k/htt.h index 44b25cf00553..dfe9627df7d0 100644 --- a/drivers/net/wireless/ath/ath10k/htt.h +++ b/drivers/net/wireless/ath/ath10k/htt.h @@ -1636,7 +1636,7 @@ struct ath10k_htt { int size; /* size - 1 */ - unsigned size_mask; + unsigned int size_mask; /* how many rx buffers to keep in the ring */ int fill_level; @@ -1657,7 +1657,7 @@ struct ath10k_htt { /* where HTT SW has processed bufs filled by rx MAC DMA */ struct { - unsigned msdu_payld; + unsigned int msdu_payld; } sw_rd_idx; /*