From patchwork Tue Feb 24 10:27:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 44929 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 94E5C20502 for ; Tue, 24 Feb 2015 10:28:31 +0000 (UTC) Received: by labgm9 with SMTP id gm9sf16200393lab.2 for ; Tue, 24 Feb 2015 02:28:30 -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=0xAfyMoo1lwR1hKmZBJhQrPDdLTJfZOR/KjwINh+w8s=; b=LsIeHmx8Id2BvqHXx/ddoFOgwQBAh7ELVPIiAkoPsmZaXXIrGHi/4UHtoo01jDyITQ GeBSLiZNKnv1RL3DViKSCuNuLpfoh8TN+SV08v8NxJ+HQ6qY0LdcjuRZj6zIPfnfWz6h o5qT1HKgc5WTkdt6wCz1j3ZR1bwebP60TPCw2jQERKKmfCPF16x/mBN7BOTuyBWijWCg oHvIY0JI6gWrOwLcSkIYt1V80VH3DXDYscZMzry6YGGz/m6/1TzwQY5fJK+GYpL+Tj4G 4fZGqlEaNBJIY5On53Ob9YZyheS/icztwpNNeQKTebTXNQOp0iUK83sD3YvzZ8/cHZtx REMQ== X-Gm-Message-State: ALoCoQmtxogKSWnied7QNVeO4eR29pVUVpsnFrxVN0Yj7aUnOqD+yogrGm/A/wBChP/oNzzbFaGO X-Received: by 10.112.131.106 with SMTP id ol10mr2030441lbb.20.1424773710322; Tue, 24 Feb 2015 02:28:30 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.48 with SMTP id t16ls594066lal.55.gmail; Tue, 24 Feb 2015 02:28:30 -0800 (PST) X-Received: by 10.152.6.2 with SMTP id w2mr13673103law.6.1424773710176; Tue, 24 Feb 2015 02:28:30 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id c6si25869669lbn.158.2015.02.24.02.28.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 02:28:30 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbvp9 with SMTP id p9so23996812lbv.3 for ; Tue, 24 Feb 2015 02:28:30 -0800 (PST) X-Received: by 10.112.64.193 with SMTP id q1mr13822815lbs.88.1424773710095; Tue, 24 Feb 2015 02:28:30 -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 h5csp1819936lbj; Tue, 24 Feb 2015 02:28:29 -0800 (PST) X-Received: by 10.140.43.11 with SMTP id d11mr33341461qga.95.1424773708866; Tue, 24 Feb 2015 02:28:28 -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 u3si38848300qaf.94.2015.02.24.02.28.27 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Feb 2015 02:28:28 -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 1YQCj3-0005HI-Om; Tue, 24 Feb 2015 10:28:25 +0000 Received: from mail-lb0-f169.google.com ([209.85.217.169]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQCin-00058X-Hj for lng-odp@lists.linaro.org; Tue, 24 Feb 2015 10:28:09 +0000 Received: by lbiz12 with SMTP id z12so23714323lbi.11 for ; Tue, 24 Feb 2015 02:28:03 -0800 (PST) X-Received: by 10.112.126.162 with SMTP id mz2mr13618398lbb.51.1424773683518; Tue, 24 Feb 2015 02:28:03 -0800 (PST) Received: from localhost.localdomain ([80.77.38.170]) by mx.google.com with ESMTPSA id w9sm6248291laj.24.2015.02.24.02.28.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Feb 2015 02:28:02 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Tue, 24 Feb 2015 12:27:53 +0200 Message-Id: <1424773673-10840-4-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 3/3] validation: odp_init_log: fix clang format string error 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.217.177 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 From: Mike Holmes odp_init_log.c:75:23: error: format string is not a string literal [-Werror,-Wformat-nonliteral] r = vfprintf(stderr, fmt, args); Fixes https://bugs.linaro.org/show_bug.cgi?id=1248 Signed-off-by: Mike Holmes Reviewed-by: Taras Kondratiuk --- test/validation/odp_init_log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/validation/odp_init_log.c b/test/validation/odp_init_log.c index c072147..275d343 100644 --- a/test/validation/odp_init_log.c +++ b/test/validation/odp_init_log.c @@ -10,6 +10,7 @@ int replacement_logging_used; +ODP_PRINTF_FORMAT(2, 3) static int odp_init_log(odp_log_level_e level , const char *fmt, ...); static void test_odp_init_global_replace_log(void)