From patchwork Tue Jun 18 12:03:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11001473 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-2.web.codeaurora.org (Postfix) with ESMTP id A7D8E1395 for ; Tue, 18 Jun 2019 12:03:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95FA728A56 for ; Tue, 18 Jun 2019 12:03:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A2F228A60; Tue, 18 Jun 2019 12:03:42 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 42D2728A56 for ; Tue, 18 Jun 2019 12:03:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EDDTd9aO1/60L6nLpsq2fxFYDj4W7CYHAIFPyre66Po=; b=S4yYP429NbToS2 EVzgdSQb98JA+aUh+ppHYw37p7Es1/vgqK/A68e7cH5rXKi3LuRQQClMfwdkVDoh8NZ7/L3SP+GjK tKCUV4nnzTlyaz3Q24eXo8JWryyUu9MIYRSPzBb5vb7KGH6H2A0t5rPA1G+kh79ksBQ/jcY7UDqg7 laJLrvsH+VVJkwMuYIupkMeMU8e7KTS5SWtM0l02nJuzkwI6bhFhoQzblAHzhTbwJiZ5uzZJBhIBG m+idxBrn/oiVeBbf3knMVeqEaJgTpao/HLGLIt4KbOZh/M2U5d2rXML4UaI468ha3Km9Y18+2OXAg qB3ve2JjDS/ed+EoQKXA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdCpx-0000zq-H4; Tue, 18 Jun 2019 12:03:41 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdCpv-0000z1-6U for ath11k@lists.infradead.org; Tue, 18 Jun 2019 12:03:40 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6F58D60C5F; Tue, 18 Jun 2019 12:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560859418; bh=0Tguh4ab9ATTW3SvkifCA7dBHK4FA0pMr9lpI9aD3Ec=; h=From:To:Subject:Date:From; b=awtTnyiij6iroTSPjJPVE74MiX/vF33T8AIl3wvF+YcLNMpetfepHj9pE5op2Xbhu iIxkXcDguUsSQgjR1+y/l+uSO6QZwdjtLi+9Y2LokT8XN3ZsS2LXNZnAn+Q5yKWrUQ wpFjxoPpRquy+MG2Xp+AhCEQZ+AwiJkBli4JVffA= Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 81B5B608BA for ; Tue, 18 Jun 2019 12:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560859418; bh=0Tguh4ab9ATTW3SvkifCA7dBHK4FA0pMr9lpI9aD3Ec=; h=From:To:Subject:Date:From; b=awtTnyiij6iroTSPjJPVE74MiX/vF33T8AIl3wvF+YcLNMpetfepHj9pE5op2Xbhu iIxkXcDguUsSQgjR1+y/l+uSO6QZwdjtLi+9Y2LokT8XN3ZsS2LXNZnAn+Q5yKWrUQ wpFjxoPpRquy+MG2Xp+AhCEQZ+AwiJkBli4JVffA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 81B5B608BA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: ath11k@lists.infradead.org Subject: [PATCH 1/2] ath11k: fix typo with swap16() and swap32() Date: Tue, 18 Jun 2019 15:03:32 +0300 Message-Id: <1560859413-8788-1-git-send-email-kvalo@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190618_050339_251680_7D207ABF X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix GCC errors on sparc64: drivers/net/wireless/ath/ath11k/dp.h:1490:13: error: implicit declaration of function 'swap32' [-Werror=implicit-function-declaration] drivers/net/wireless/ath/ath11k/dp.h:1491:13: error: implicit declaration of function 'swap16' [-Werror=implicit-function-declaration] Reported-by: kbuild test robot Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/dp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/dp.h b/drivers/net/wireless/ath/ath11k/dp.h index 037fcbd7604d..6eeeff99dbd8 100644 --- a/drivers/net/wireless/ath/ath11k/dp.h +++ b/drivers/net/wireless/ath/ath11k/dp.h @@ -1487,8 +1487,8 @@ static inline void dp_peer_map_get_mac_addr(u32 addr_l32, u16 addr_h16, u8 *addr) { #ifdef __BIG_ENDIAN - addr_l32 = swap32(addr_l32); - addr_h16 = swap16(addr_h16); + addr_l32 = swab32(addr_l32); + addr_h16 = swab16(addr_h16); #endif memcpy(addr, &addr_l32, 4); memcpy(addr + 4, &addr_h16, ETH_ALEN - 4); From patchwork Tue Jun 18 12:03:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11001475 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-2.web.codeaurora.org (Postfix) with ESMTP id D11B81395 for ; Tue, 18 Jun 2019 12:03:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF38028A56 for ; Tue, 18 Jun 2019 12:03:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B34B028A60; Tue, 18 Jun 2019 12:03:44 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 6A81A28A56 for ; Tue, 18 Jun 2019 12:03:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mwod3pXKp2CNFobTCprV0O7R1Y3ldjyKSgDfFUuW+UY=; b=fVRVjPhItn6O8e JPOMUsB4Cb6J/g0Thw4jcaeYkNf6Sbv9tCEk3bKBMzySA5CnKsaGtyHXijho6ekFzjaVmexujy5Yl KHwx4c3Av+NLP+q83FG++84EaoSYcVFQu9Mm6vlBGoOWwW2Snh64dQRb14UWYis/ACLzjxoD8Lgnj u3OLz6/2PRnopTKaabNxV6OLM3Gqy0ua0lEKoewaTne/WSdztstHtofjA8SOKLAUlECdh3H22sXDw p5xcJ77GBGOryp+hnNAndU++sbMVoDdL9uGSl07hXgR59/kjjsJ9/OtbjrkgdEYV92+744F+6mQbT Bnt4Ol8Ffd6tKfIML40w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdCpz-00010k-Pi; Tue, 18 Jun 2019 12:03:43 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdCpw-0000zV-8q for ath11k@lists.infradead.org; Tue, 18 Jun 2019 12:03:41 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0EA4A60A97; Tue, 18 Jun 2019 12:03:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560859420; bh=wQIHOp6bgpHw4/LcIevSIS7CzuYv3kpG4d449oxLhXs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QI/t7oDakSsW4OvhmKrsOCbMSh2iHEzA2FLi1Bj0uz9aVFIAlnC4NqjOQujjsZzxE Un4cVbza7mh/YCxm2rwGcvX1lqOiu6Fmwzj3FKLB/ZMXmcHpeiydxyfrqukHd7zGn1 /sF9pvIUU3KsoQzzXEhfUuFcwjtFxSze6sKtnaNE= Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 93CAC608BA for ; Tue, 18 Jun 2019 12:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560859419; bh=wQIHOp6bgpHw4/LcIevSIS7CzuYv3kpG4d449oxLhXs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZYn6TVVWf4/8/ndr1rbiR5BbETE8b5s/pKc0d4Xnge/RFEJjNpFX/b8yyWqhHjyQY yL3hYgG0KFm1llU8k+9auoLieTLeYlWHRVhDbt4Toqwx8ZerBTYWTz2t02NQ+CFdV9 nOI8YzjoQalg97tWU0FADk0D2e/a/74J5aAE9Axg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 93CAC608BA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: ath11k@lists.infradead.org Subject: [PATCH 2/2] ath11k: include vmalloc.h to fix a compilation error on sparc64 Date: Tue, 18 Jun 2019 15:03:33 +0300 Message-Id: <1560859413-8788-2-git-send-email-kvalo@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560859413-8788-1-git-send-email-kvalo@codeaurora.org> References: <1560859413-8788-1-git-send-email-kvalo@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190618_050340_321817_6406A6DF X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix GCC errors on sparc64: drivers/net/wireless/ath/ath11k/debugfs_sta.c:414:14: error: implicit declaration of function 'vzalloc'; did you mean 'kvzalloc'? [-Werror=implicit-function-declaration] drivers/net/wireless/ath/ath11k/debugfs_sta.c:427:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration] Reported-by: kbuild test robot Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/debugfs_sta.c b/drivers/net/wireless/ath/ath11k/debugfs_sta.c index cff6a3f048ea..470cb97a160b 100644 --- a/drivers/net/wireless/ath/ath11k/debugfs_sta.c +++ b/drivers/net/wireless/ath/ath11k/debugfs_sta.c @@ -3,6 +3,8 @@ * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */ +#include + #include "core.h" #include "debug.h"