From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id BE5A558CE for ; Sun, 9 Jul 2017 12:43:40 +0200 (CEST) Received: by mail-wr0-f173.google.com with SMTP id c11so101636442wrc.3 for ; Sun, 09 Jul 2017 03:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=njiHpRe/bJB5AWLQ5fRAO7tIBTg0frIRH7LqUm5Y3u0=; b=geiCO7D/DNr+4JK2dI7fzLmCN3n+gaaWSG6eTo2LZDGhleKyTi2qVpXCqjhL/mBdy8 qynf7U8yFuKRbfl/k7ykt+JEb5FsUEuEbz1NzHrURc04y6j/3dgKDLg2/hFAKB0qJUMz 6TCgbkMLTEgwwClPMI5oBD0xrzOKBK6lcYMB0ci7SfXNqjxF8NOj/o75ROcCYaWN6e9p gup8dfRwO7aDHNJuUQYreEEp4y7BQKZ89M2fh+GLm8KvE3E+B+EHWP+zugUs+OP5Wi51 kYYySpjKYtw8gc4L0tuVgoYe2JrndKVo9pqbx5akiqkpYEdIedE+KLSEkxVsnrKZb73q d6cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=njiHpRe/bJB5AWLQ5fRAO7tIBTg0frIRH7LqUm5Y3u0=; b=AtJ0WNc02kLynrs2JWkhA9oCaoJigvqnfEFMAbBOuGU9eD54zY4VpYv0izQwLxMZzR 9t2f+iEt3e2qPJogDRLcrCjRHYS3tSfwy5eRadO36DiHoMh7DocIFC3sXb2LjSr4JEzw YAA/tPmpnits2WcNwi6Xsb8Efep0WY5MggVnYIbjfC9278gtqgarNdkzkMMk+ZAoCkuU oY72qbqMcTCpAyyMyySpnEb5pqYg8dLMLO5EF6CMySmLjmr/5txmmzQkBcCuZ4BOSFzv xHzncQzgH9iaDLrH1VpX6i8iZhxA2o8Dwxsagru6McgoRgmkxgoVsGgz71oIQMUt09ab A4kw== X-Gm-Message-State: AIVw112AP/28xkQ64iAehIYiDK4mQ1AXh49xUt6yjBGND0OfC5SR+7fA 9Vv5m8lFS0eU8W9dWptSVBV5JPSdHPFV X-Received: by 10.223.142.143 with SMTP id q15mr4603346wrb.180.1499597020321; Sun, 09 Jul 2017 03:43:40 -0700 (PDT) MIME-Version: 1.0 Sender: jblunck@gmail.com Received: by 10.28.45.210 with HTTP; Sun, 9 Jul 2017 03:43:39 -0700 (PDT) In-Reply-To: <1582621.mDe9fsxt3G@xps> References: <20170709094416.15045-1-jblunck@infradead.org> <1582621.mDe9fsxt3G@xps> From: Jan Blunck Date: Sun, 9 Jul 2017 06:43:39 -0400 X-Google-Sender-Auth: J6UYltfBdQNIUHyU4Dakf-gAWwg Message-ID: To: Thomas Monjalon Cc: dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 10:43:41 -0000 On Sun, Jul 9, 2017 at 6:38 AM, Thomas Monjalon wrote: > 09/07/2017 11:44, Jan Blunck: >> Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") >> >> drivers/crypto/scheduler/scheduler_multicore.c: In function 'scheduler_stop': >> drivers/crypto/scheduler/scheduler_multicore.c:286:2: error: 'for' loop >> initial declarations are only allowed in C99 or C11 mode >> for (uint16_t i = 0; i < sched_ctx->nb_wc; i++) >> ^ > > I wonder why I have not spotted it. > What is your compiler? which version? This is with Debian Jessie: gcc version 4.9.2 (Debian 4.9.2-10)