From patchwork Fri Jan 15 19:21:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 59890 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp739835lbb; Fri, 15 Jan 2016 11:27:18 -0800 (PST) X-Received: by 10.67.5.98 with SMTP id cl2mr17422831pad.157.1452886030550; Fri, 15 Jan 2016 11:27:10 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m86si18218205pfi.229.2016.01.15.11.27.10; Fri, 15 Jan 2016 11:27:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-rt-users-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753133AbcAOT1F (ORCPT + 4 others); Fri, 15 Jan 2016 14:27:05 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:35579 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751709AbcAOT1D (ORCPT ); Fri, 15 Jan 2016 14:27:03 -0500 Received: by mail-lf0-f54.google.com with SMTP id c192so288988795lfe.2 for ; Fri, 15 Jan 2016 11:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xqixt2VVGZMcFcDJdwHPmcuG5ZB60HzSNkB30p1oEZI=; b=dNs40Lj4wBUrSo2quG+cm1hzVJZ8hLROfxbQQ1Xyej7eWXyoX5eFLHcEhaUIAUvqq4 fKz3djJynSeMTFEfpafX9cBrf+1YEcM14d0kVqwl0TqYBcPKITAfAgtGCx9IFA2yWBBN TzLi9os08Jhl5RX8YXqWHCcrMZsgdM3irJZUQ= 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:in-reply-to :references; bh=xqixt2VVGZMcFcDJdwHPmcuG5ZB60HzSNkB30p1oEZI=; b=JaASJ6wcoVHud/zZMSDFwz2omgCvDlvzCqoFiqoMjMnxbl2pBsc2iuWEU5eP940Z8w VKcSSSGPykyWb1TJZqKYAHth8b2htJEmT5VLmNRrHk2jxHk0e8NERvtT9EP0go7+bwRk GfFsk6MuSF2vK2Y9gqLszHstnLsBGUR32gaOR456FYbe+2kvAQLidBVOLoumzESYv/m5 rWSoTzbYDq/ORdREBJ5xHh6Sy7orm24YSDeyVLzVMCycIHjx542ckcLUai/K6tEi3pAj WJXoKTt7fZ42frrcPchvp86guBYFJ4G/l+13wp021t9SWOy8uPPd0FN+cU+ZfH1FcO+U tULg== X-Gm-Message-State: ALoCoQlm/WpBGScNz0dSZs7Ad6M9gnLfaihAIWN2q9k/HI35CAIohaLLle+aaEfGeB1xH6FGGVGNWV7eaZP5EGzXTbO6PJTySw== X-Received: by 10.25.21.106 with SMTP id l103mr3875619lfi.92.1452886021667; Fri, 15 Jan 2016 11:27:01 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id n185sm1478543lfd.27.2016.01.15.11.27.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 11:27:01 -0800 (PST) From: Anders Roxell To: bigeasy@linutronix.de Cc: linux-rt-users@vger.kernel.org, khilman@kernel.org, Anders Roxell Subject: [PATCH 4/9] drivers/clocksource: timer-atmel-st: undeclared var 'ret' Date: Fri, 15 Jan 2016 20:21:08 +0100 Message-Id: <1452885673-30891-5-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452885673-30891-1-git-send-email-anders.roxell@linaro.org> References: <1452885673-30891-1-git-send-email-anders.roxell@linaro.org> Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org Used the at91_dt_defconfig and this caused a compilation error without this fix: ../drivers/clocksource/timer-atmel-st.c: In function 'clkevt32k_set_periodic': ../drivers/clocksource/timer-atmel-st.c:157:2: error: 'ret' undeclared (first use in this function) Signed-off-by: Anders Roxell --- drivers/clocksource/timer-atmel-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clocksource/timer-atmel-st.c b/drivers/clocksource/timer-atmel-st.c index ea37afc..b6f4aa6 100644 --- a/drivers/clocksource/timer-atmel-st.c +++ b/drivers/clocksource/timer-atmel-st.c @@ -150,7 +150,7 @@ static int clkevt32k_set_oneshot(struct clock_event_device *dev) static int clkevt32k_set_periodic(struct clock_event_device *dev) { - int irq; + int irq, ret; clkdev32k_disable_and_flush_irq();