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: 9551579 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 78082602F0 for ; Thu, 2 Feb 2017 10:48:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 769EB26E4C for ; Thu, 2 Feb 2017 10:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A62228113; Thu, 2 Feb 2017 10:48:06 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E00B826E4C for ; Thu, 2 Feb 2017 10:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750972AbdBBKsE (ORCPT ); Thu, 2 Feb 2017 05:48:04 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:60176 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbdBBKsD (ORCPT ); Thu, 2 Feb 2017 05:48:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1486032483; x=1517568483; h=subject:from:to:cc:date:message-id:mime-version: content-transfer-encoding; bh=uJNrA8dGLesH4O55T9V2L2zBdOx9qzzEN7rU4gAHfck=; b=pe24RwS9frMgG6e9Fjv+oB6cftl5nE7DCs/VCoIXyrn9/QbEiN5MEwOV rSb6HfUo3c+aFDel19qM8ayq8KVhAUc6JeDiQj1TBETRczWGMR/TdNFro evHlDNcKTz+wa5wYg9khacSFzdNJgIeSbkzEYlIfoMPBHYPy3I0eKX3PP 8=; X-IronPort-AV: E=Sophos;i="5.33,324,1477983600"; d="scan'208";a="355257390" Received: from unknown (HELO ironmsg02-L.qualcomm.com) ([10.53.140.109]) by wolverine02.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: CC: 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) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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; /*