Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp401807pxb; Wed, 3 Mar 2021 06:16:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVhb6RV4NFt6cQsXhwIZp2kGYAQxoYXow8a88QR+6WfMBLmqA7lVmfirmIYTHxWH2FyqK6 X-Received: by 2002:a17:906:774d:: with SMTP id o13mr25188618ejn.70.1614780964449; Wed, 03 Mar 2021 06:16:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614780964; cv=none; d=google.com; s=arc-20160816; b=x8YFBBN+SDGly7mRwz87FiJGN12lxMi+kCNt58MnwG92u4QBwuypm8m/KoBj3Mdnoe sqeCxCNCSOHlv4KRGgP1/PaPvvg9QmLc0CLsqmP9sgs5t06pXcfqJ4pbUpIiPs1IleuC V5CqlE4yePraNrJgcjT/faR/h6qlljheD2NMOzwh8VsXwFiENWlHdWNAaz3lKwD87GHm fBUFi0yQhRwFIujg5jp/ooQCcwpmwCiRUXLAHreuAIdjn+82IdlYYrGK5f7lkb5GROX5 T2HG7KPYyhzY15nY/0IOiilxHCMBhTV8fm/4bIPFThpKPVIJtHEMYYwmOpr2WQ4+UV7n GIVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LFu56XRGzSV3ZY/N0zbWgnX3xAGqR1gwmIl3js2lsr4=; b=YsyTYlt6XXQBWuRJRT4vD7SvJSnz/myIym9viAmTylvy/PsGVtDOqV4453HbDccuPx G2n1whl5oZzXfeE5spx667Zs+/Br0J87eagV6lEkq0g4RToICv9FywuZCZP9TEsv+Ntx QPvoYgeid7pmqHMKUj2rlUNlZd993ybtSYhNyCAh3Dhtbm6wVdxg0yi6SaLp9wyLsbRy fuZg/MqaPJGXrsZdUqqFYJvtdgqvWMGkAGjMEADIstRY+CvKXW6NaR/mRsK+vBh3IaCm EfEBqVzK2snp+VveRrMT0NoKNNc0roYj332dvIDhxAnIuyVofMwuE0ON60e2AjtLw4V7 w6aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vvosV6GZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si106532ejy.531.2021.03.03.06.14.52; Wed, 03 Mar 2021 06:16:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vvosV6GZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243850AbhCAU5q (ORCPT + 99 others); Mon, 1 Mar 2021 15:57:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:37668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232994AbhCARLQ (ORCPT ); Mon, 1 Mar 2021 12:11:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6F5A164DF5; Mon, 1 Mar 2021 16:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614616985; bh=oGjH/WxFSevkoUmxsuaDJh/WFcTzXRcAeebBI+2BCXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vvosV6GZZ3tkOOSpKG8tlATMoTBUKMKwk7giikH5/c6WKgtloIx80y9vlhfoAF7j7 5wT+rdOSanF7XSM9W8aw8QUecq314i8jPKNAYjp1QL2ffYCEB3EyjXr6uIF7xWntAD zEF3BcqjUDlDxgZKTJMOSoQzBQdZdo+S/WIdZ/y8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tom Rix , Daniel Lezcano , Sasha Levin Subject: [PATCH 4.19 122/247] clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined Date: Mon, 1 Mar 2021 17:12:22 +0100 Message-Id: <20210301161037.643265065@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tom Rix [ Upstream commit 7da390694afbaed8e0f05717a541dfaf1077ba51 ] When DEBUG is defined this error occurs drivers/clocksource/mxs_timer.c:138:1: error: expected ‘;’ before ‘}’ token The preceding statement needs a semicolon. Replace pr_info() with pr_debug() and remove the unneeded ifdef. Fixes: eb8703e2ef7c ("clockevents/drivers/mxs: Migrate to new 'set-state' interface") Signed-off-by: Tom Rix Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210118211955.763609-1-trix@redhat.com Signed-off-by: Sasha Levin --- drivers/clocksource/mxs_timer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/clocksource/mxs_timer.c b/drivers/clocksource/mxs_timer.c index f6ddae30933f7..dae8c0c2e606f 100644 --- a/drivers/clocksource/mxs_timer.c +++ b/drivers/clocksource/mxs_timer.c @@ -138,10 +138,7 @@ static void mxs_irq_clear(char *state) /* Clear pending interrupt */ timrot_irq_acknowledge(); - -#ifdef DEBUG - pr_info("%s: changing mode to %s\n", __func__, state) -#endif /* DEBUG */ + pr_debug("%s: changing mode to %s\n", __func__, state); } static int mxs_shutdown(struct clock_event_device *evt) -- 2.27.0