From patchwork Tue Feb 24 10:27:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 44928 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 47C8420502 for ; Tue, 24 Feb 2015 10:28:27 +0000 (UTC) Received: by wesk11 with SMTP id k11sf16277253wes.3 for ; Tue, 24 Feb 2015 02:28:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=g5wgj+C8PFl72RJ2+nGTv5nYIDFK+C+NETblgnGh+WM=; b=Gw9i7DYsWmawt0A5iSb8pjIhFOuIR4lVVwScdSKTvNp8ZghnmzlkisdOUl3h8cCXZn 2/VqGz3HGki0qajthlx9+6SlljoE5MBqVX2ZTwntICT2d3N7+FEsG5RTrYeGMVDecPym iqJFdBao706Eg+TyWhcjPAGiOPm1JN6qaQu8Byifazt9vvJ6Pwfght+bjHfzWvruD+Zq PdRwIcpWQ0HUJB5v6AlyLZU0XaZ3YPTaVRRQqyhn1Z687H5xzeSziTjxapACK4TSafVB 64CvkUquWW9W6EjeH3nDQsJ2svemVDQNxxO5FNZtKImgsG6tRnSXKKTMNuu1WT5QPx1V x0+g== X-Gm-Message-State: ALoCoQkq7mAclr9Yu1w1u5hI/b5TRiEYC9YL/zdWkT4sAqbToRfaaES7X61nu+4+sH9oLUcLriz2 X-Received: by 10.112.131.106 with SMTP id ol10mr2030401lbb.20.1424773706556; Tue, 24 Feb 2015 02:28:26 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.67 with SMTP id l3ls652950lae.93.gmail; Tue, 24 Feb 2015 02:28:26 -0800 (PST) X-Received: by 10.152.28.5 with SMTP id x5mr13523425lag.112.1424773706343; Tue, 24 Feb 2015 02:28:26 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id is5si22699754lac.125.2015.02.24.02.28.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 02:28:26 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labgq15 with SMTP id gq15so24844097lab.3 for ; Tue, 24 Feb 2015 02:28:26 -0800 (PST) X-Received: by 10.152.21.100 with SMTP id u4mr13520239lae.41.1424773706230; Tue, 24 Feb 2015 02:28:26 -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 h5csp1819913lbj; Tue, 24 Feb 2015 02:28:25 -0800 (PST) X-Received: by 10.140.129.65 with SMTP id 62mr7121441qhb.11.1424773705007; Tue, 24 Feb 2015 02:28:25 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id t9si28552473qad.71.2015.02.24.02.28.23 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Feb 2015 02:28:24 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQCiz-0005Gt-I4; Tue, 24 Feb 2015 10:28:21 +0000 Received: from mail-la0-f53.google.com ([209.85.215.53]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQCim-00058W-02 for lng-odp@lists.linaro.org; Tue, 24 Feb 2015 10:28:08 +0000 Received: by labgm9 with SMTP id gm9so24867142lab.2 for ; Tue, 24 Feb 2015 02:28:02 -0800 (PST) X-Received: by 10.152.6.100 with SMTP id z4mr13589824laz.114.1424773682354; Tue, 24 Feb 2015 02:28:02 -0800 (PST) Received: from localhost.localdomain ([80.77.38.170]) by mx.google.com with ESMTPSA id w9sm6248291laj.24.2015.02.24.02.28.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Feb 2015 02:28:01 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Tue, 24 Feb 2015 12:27:52 +0200 Message-Id: <1424773673-10840-3-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424773673-10840-1-git-send-email-taras.kondratiuk@linaro.org> References: <1424453231-28250-1-git-send-email-mike.holmes@linaro.org> <1424773673-10840-1-git-send-email-taras.kondratiuk@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 2/3] linux-generic: weak: fix -Wformat-nonliteral warning X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@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.215.51 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 Signed-off-by: Taras Kondratiuk --- platform/linux-generic/odp_weak.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/odp_weak.c b/platform/linux-generic/odp_weak.c index 9dc3a4a..7fa5955 100644 --- a/platform/linux-generic/odp_weak.c +++ b/platform/linux-generic/odp_weak.c @@ -9,8 +9,8 @@ #include #include -ODP_WEAK_SYMBOL int odp_override_log(odp_log_level_e level ODP_UNUSED, - const char *fmt, ...) +ODP_WEAK_SYMBOL ODP_PRINTF_FORMAT(2, 3) +int odp_override_log(odp_log_level_e level ODP_UNUSED, const char *fmt, ...) { va_list args; int r;