Message ID | 1394577653-8615-17-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | 09e15176ded1faa7bd685b3b5b1213cf0240566e |
Headers | show
Return-Path: <patchwork-forward+bncBDIYTLXUW4BRBM5C72MAKGQEMMLNAWA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 15C7420068 for <linaro@patches.linaro.org>; Tue, 11 Mar 2014 22:41:55 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w5sf21016580qac.4 for <linaro@patches.linaro.org>; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) 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=+5PkUFxNedNnIHTOece6KGjKjQibLDLooffO4p6knDo=; b=EXfmIb4+PYM07HX8xCQs05x1wx4bz3VmccnXT63dt++5SVap2m0HYj2VzwsVpkfptG 5uVVAjCyl9gNU2C9cL60gKRT/9mvh0YClMzBoHStR10nNc9j0X1MsJBVyTUEDmo1wqdZ dfsu/FZCSwOlCnrM+xlqIha67LrHMo+bKSPyHSeYfh/hbHAAAC6tLisAJoTshrzWDEmR BoWELb8s1pIHYZR0oq71YRTVKq4dSkMRhXVSBNkcR4ts7IldwO+RwtiNZPZ5Q4or5zt0 rKo+I5T82tWc6RZnKvswqPM4Znz1Uz+slzN8ssAV6oVZe34As1160V4RrZiOdKuHAWpO EsEQ== X-Gm-Message-State: ALoCoQmUV7fQZUmGvfZIx1Dhoi2eKw36MGtKDORRXmOwdf6w7uxeFpT2Ki46/f1NczIDm/8ZNKn2 X-Received: by 10.58.22.166 with SMTP id e6mr16059349vef.6.1394577715829; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.19.136 with SMTP id 8ls2713800qgh.43.gmail; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) X-Received: by 10.58.207.74 with SMTP id lu10mr2103396vec.15.1394577715664; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id oj4si6211796vcb.50.2014.03.11.15.41.55 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 15:41:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id la4so5905413vcb.31 for <patchwork-forward@linaro.org>; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) X-Received: by 10.221.39.138 with SMTP id tm10mr29732666vcb.7.1394577715562; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) 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.220.78.9 with SMTP id i9csp238835vck; Tue, 11 Mar 2014 15:41:55 -0700 (PDT) X-Received: by 10.66.155.102 with SMTP id vv6mr743011pab.89.1394577714564; Tue, 11 Mar 2014 15:41:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si348875pba.151.2014.03.11.15.41.53; Tue, 11 Mar 2014 15:41:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756148AbaCKWlm (ORCPT <rfc822;linus.walleij@linaro.org> + 26 others); Tue, 11 Mar 2014 18:41:42 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:50271 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756107AbaCKWlS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 11 Mar 2014 18:41:18 -0400 Received: by mail-wg0-f42.google.com with SMTP id y10so10699151wgg.13 for <linux-kernel@vger.kernel.org>; Tue, 11 Mar 2014 15:41:17 -0700 (PDT) X-Received: by 10.194.78.77 with SMTP id z13mr141580wjw.64.1394577677366; Tue, 11 Mar 2014 15:41:17 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-526-136.w109-220.abo.wanadoo.fr. [109.220.245.136]) by mx.google.com with ESMTPSA id n3sm10411631wix.10.2014.03.11.15.41.15 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 15:41:16 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, dan.carpenter@oracle.com, ezequiel.garcia@free-electrons.com, ivan.khoronzhuk@ti.com, linus.walleij@linaro.org, magnus.damm@gmail.com, matthias.bgg@gmail.com, soren.brinkmann@xilinx.com, sboyd@codeaurora.org Subject: [PATCH 17/17] clocksource: exynos_mct: silence a static checker warning Date: Tue, 11 Mar 2014 23:40:53 +0100 Message-Id: <1394577653-8615-17-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1394577653-8615-1-git-send-email-daniel.lezcano@linaro.org> References: <531F8FAC.2040902@linaro.org> <1394577653-8615-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 48f76bc..c2e390e 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -410,7 +410,7 @@ static int exynos4_local_timer_setup(struct clock_event_device *evt) mevt = container_of(evt, struct mct_clock_event_device, evt); mevt->base = EXYNOS4_MCT_L_BASE(cpu); - sprintf(mevt->name, "mct_tick%d", cpu); + snprintf(mevt->name, sizeof(mevt->name), "mct_tick%d", cpu); evt->name = mevt->name; evt->cpumask = cpumask_of(cpu);