From patchwork Sun Dec 14 14:29:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yannis Damigos X-Patchwork-Id: 5487651 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87446BEEA8 for ; Sun, 14 Dec 2014 14:30:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D4F920A0B for ; Sun, 14 Dec 2014 14:30:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CCE0B20A09 for ; Sun, 14 Dec 2014 14:30:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753140AbaLNOaI (ORCPT ); Sun, 14 Dec 2014 09:30:08 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:45695 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752216AbaLNOaG (ORCPT ); Sun, 14 Dec 2014 09:30:06 -0500 Received: by mail-wi0-f169.google.com with SMTP id r20so8328027wiv.0; Sun, 14 Dec 2014 06:30:04 -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; bh=sxcHHU4u6a7N4Ge40+8RZRcYNSH17SU66baDPie27ak=; b=pGJFOXEF+bGrHn/X5LtZyY3ja6JUV6L1+oSBrgBfHp4wy556kGN76yu7FnYqQUWq+G gM8AIEIOtwU/+2eG6tOCY4ht+2Ph5HnK894nJ6Y5wjefvtRp8eVMIcyZAYuJGnIGgFMk FrLPgsnaUxWHzgBM2xzBJHp+eqFO+/LWLA/qToGuT2qN6EGl42P8M8jaiNmAZGrzUm31 qs/Jt/KSWjUoMBAo51BmjJv8rQ8vG74W23HdAOqdHFUNOkZfcjHnIGoPCOb0Wyh1wmLU 40z3z+PC7e5RZqxh4/9uQvpx0/ROIY0dsIKyJ7NQlIPSWItKVNwd/iyiq3r0kRfq/8TB Zohw== X-Received: by 10.180.78.73 with SMTP id z9mr23628763wiw.52.1418567404554; Sun, 14 Dec 2014 06:30:04 -0800 (PST) Received: from localhost (athedsl-229453.home.otenet.gr. [85.74.215.235]) by mx.google.com with ESMTPSA id w10sm9365911wje.10.2014.12.14.06.30.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Dec 2014 06:30:03 -0800 (PST) From: Yannis Damigos To: Larry Finger , Jes Sorensen , linux-wireless@vger.kernel.org Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Yannis Damigos Subject: [PATCH 1/1] staging: rtl8723au: Fix sparse warnings invalid assignment |= Date: Sun, 14 Dec 2014 16:29:25 +0200 Message-Id: <1418567365-18168-1-git-send-email-giannis.damigos@gmail.com> X-Mailer: git-send-email 2.1.3 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, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 is a patch to the hal/rtl8723au_xmit.c file that fixes various warnings: "invalid warning: invalid assignment: |= left side has type unsigned int right side has type restricted __le32" found by sparse tool. Signed-off-by: Yannis Damigos --- drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c index 6070510..e7e796e 100644 --- a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c +++ b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c @@ -79,7 +79,7 @@ static void fill_txdesc_sectype(struct pkt_attrib *pattrib, struct tx_desc *ptxd } } -static void fill_txdesc_vcs(struct pkt_attrib *pattrib, u32 *pdw) +static void fill_txdesc_vcs(struct pkt_attrib *pattrib, __le32 *pdw) { /* DBG_8723A("cvs_mode =%d\n", pattrib->vcs_mode); */