From patchwork Tue Mar 8 12:14:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Glauber X-Patchwork-Id: 8532871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6C7949F2B4 for ; Tue, 8 Mar 2016 12:18:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F0AF201E4 for ; Tue, 8 Mar 2016 12:18:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 85FE8201D3 for ; Tue, 8 Mar 2016 12:18:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1adGXk-0002vG-Lh; Tue, 08 Mar 2016 12:15:16 +0000 Received: from mail-wm0-f47.google.com ([74.125.82.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1adGXg-0001iW-Op for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2016 12:15:13 +0000 Received: by mail-wm0-f47.google.com with SMTP id l68so128572068wml.0 for ; Tue, 08 Mar 2016 04:14:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VKhpmGqa7xaKg068+yGmkfj9Cm5nHukvEC3kNLDhYnM=; b=gupIJZoLzzMXaHHS87PbyLpr8PkYccrxt9E37r4GaeTabdmKmMHTczAdBhzs/fwguu oGzB+MOEJdZlcD6+5knvT1YrptPd/C7vvgjqmVRbJa9suub4mwtOK/sc1NI4JfnrdBjc 2Dpm2/UO/8kfG0lEfBSmNE3quB5XBbgqD9GwXBZuAOlvUQ0PM2TXa4bKLaCOeOYHED7w +yedQKLZlew9bvozBiAMhgqlCL82rILzJynToqouaCPUUCMyXldgCXybzVFgb+rN0+ZD uA8nnIITGAT7PyDDI/LQ/mm1QHnHll4NREW8ceTarXJ2Vm4TYXe3iyDIOWAsffOgMG+x RYVA== X-Gm-Message-State: AD7BkJLC8IarTx5WcUhBt9q/Fkl9GAZX0acDZ1cFJulqwlCI6q9kvIDYuv4cyyTcM3oyXg== X-Received: by 10.194.23.7 with SMTP id i7mr28437528wjf.9.1457439290734; Tue, 08 Mar 2016 04:14:50 -0800 (PST) Received: from hardcore.uni-tuebingen.de (u-087-c054.eap.uni-tuebingen.de. [134.2.87.54]) by smtp.gmail.com with ESMTPSA id t8sm2655208wjy.41.2016.03.08.04.14.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Mar 2016 04:14:50 -0800 (PST) From: Jan Glauber To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] bus: arm-ccn: Fix cpu notifier priority Date: Tue, 8 Mar 2016 13:14:33 +0100 Message-Id: <1457439273-5998-1-git-send-email-jglauber@cavium.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160308_041512_970150_DD04D77A X-CRM114-Status: GOOD ( 10.87 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Pawel Moll , Jan Glauber MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Fix cpu priority of notifier block that was erroneously set to return value of next statement. Signed-off-by: Jan Glauber Acked-by: Pawel Moll --- drivers/bus/arm-ccn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c index 7082c72..d4a939e 100644 --- a/drivers/bus/arm-ccn.c +++ b/drivers/bus/arm-ccn.c @@ -1271,7 +1271,7 @@ static int arm_ccn_pmu_init(struct arm_ccn *ccn) * picked to have a chance to migrate events before perf is notified. */ ccn->dt.cpu_nb.notifier_call = arm_ccn_pmu_cpu_notifier; - ccn->dt.cpu_nb.priority = CPU_PRI_PERF + 1, + ccn->dt.cpu_nb.priority = CPU_PRI_PERF + 1; err = register_cpu_notifier(&ccn->dt.cpu_nb); if (err) goto error_cpu_notifier;