From patchwork Mon Jan 26 16:22:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 43764 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1707D20D5D for ; Mon, 26 Jan 2015 16:23:48 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id y19sf4824564wgg.2 for ; Mon, 26 Jan 2015 08:23:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=WA2uw6H1GT9s1XwYg80+WkXqZmtSZSEybd6mkRH7C9w=; b=da3+j1LmmQ161rf+ucXUlD7eBRDoGApPp9Q/c/EbPgmhQDI2x10fgvV+TTVHz+E4nC 6+q/oErdmwlf12ykdLT3t6hEwh6awlXRzdA/6cWEuPizWbDUU958peDzP9tX967bRM0d jyAiDbcTIRxsSC1Gv9IAwyFPqxypHw0LYFiEqVJ26mlFK9ly8Y77PInjTbQHvl9f0MXj 8ii0r8YfUL1t2yRuC82QMm4/ql5LgGDsnMWUGLVCK9TgizHJEs3ARjTpukvqzTcnrN8I ssb9dtrt9rBcYQFWfvuHWGJyiAOV74aGLBAxT+KvTQXmowqLXXZ2Le1sK/lKFDfZLjhU n7Aw== X-Gm-Message-State: ALoCoQn2gigP/M+Jclr1hkeIJ/ghBdX7EeLBEt1Z+MprzlwVMOdch3rb0NH+/kbp0EoHEB8IzYqj X-Received: by 10.180.74.140 with SMTP id t12mr1975188wiv.2.1422289427311; Mon, 26 Jan 2015 08:23:47 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.40 with SMTP id a8ls496334laf.66.gmail; Mon, 26 Jan 2015 08:23:47 -0800 (PST) X-Received: by 10.112.41.234 with SMTP id i10mr22346003lbl.25.1422289426994; Mon, 26 Jan 2015 08:23:46 -0800 (PST) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id uj9si9374471lbb.97.2015.01.26.08.23.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Jan 2015 08:23:46 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by mail-lb0-f178.google.com with SMTP id u10so8429238lbd.9 for ; Mon, 26 Jan 2015 08:23:46 -0800 (PST) X-Received: by 10.112.90.170 with SMTP id bx10mr7406662lbb.69.1422289426904; Mon, 26 Jan 2015 08:23:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp828546lbj; Mon, 26 Jan 2015 08:23:46 -0800 (PST) X-Received: by 10.66.141.5 with SMTP id rk5mr6319199pab.112.1422289421217; Mon, 26 Jan 2015 08:23:41 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1si12748861pat.153.2015.01.26.08.23.40; Mon, 26 Jan 2015 08:23:41 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756349AbbAZQXZ (ORCPT + 28 others); Mon, 26 Jan 2015 11:23:25 -0500 Received: from mail-pd0-f182.google.com ([209.85.192.182]:56936 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756210AbbAZQXV (ORCPT ); Mon, 26 Jan 2015 11:23:21 -0500 Received: by mail-pd0-f182.google.com with SMTP id z10so12666708pdj.13 for ; Mon, 26 Jan 2015 08:23:21 -0800 (PST) X-Received: by 10.68.179.226 with SMTP id dj2mr35582965pbc.100.1422289401266; Mon, 26 Jan 2015 08:23:21 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id gr7sm10111137pbc.75.2015.01.26.08.23.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Jan 2015 08:23:20 -0800 (PST) From: mathieu.poirier@linaro.org To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 9/9] coresight: fix function etm_writel_cp14() parameter order Date: Mon, 26 Jan 2015 09:22:25 -0700 Message-Id: <1422289345-2084-10-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422289345-2084-1-git-send-email-mathieu.poirier@linaro.org> References: <1422289345-2084-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Kaixu Xia Function etm_writel_cp14() takes an offset and a value rather than the other way around, something this patch is correcting. The semantic remains the same since it is only a function stub. Signed-off-by: Kaixu Xia Signed-off-by: Mathieu Poirier --- drivers/coresight/coresight-priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/coresight/coresight-priv.h b/drivers/coresight/coresight-priv.h index 7b3372fca4f6..62fcd98cc7cf 100644 --- a/drivers/coresight/coresight-priv.h +++ b/drivers/coresight/coresight-priv.h @@ -57,7 +57,7 @@ extern int etm_readl_cp14(u32 off, unsigned int *val); extern int etm_writel_cp14(u32 off, u32 val); #else static inline int etm_readl_cp14(u32 off, unsigned int *val) { return 0; } -static inline int etm_writel_cp14(u32 val, u32 off) { return 0; } +static inline int etm_writel_cp14(u32 off, u32 val) { return 0; } #endif #endif