From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f177.google.com (mail-ua0-f177.google.com [209.85.217.177]) by dpdk.org (Postfix) with ESMTP id 3221F2B9F for ; Fri, 18 Nov 2016 16:10:51 +0100 (CET) Received: by mail-ua0-f177.google.com with SMTP id 12so172947454uas.2 for ; Fri, 18 Nov 2016 07:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uENOeVJvQ83QhDbAJ5vTbfCAFdj00k1YEHr151PAYJs=; b=ebeH4UBCWUqK3HAb3AQLn+T8EiCPC3noEEPpBBd9+w1YEdxRPLcTq8SxpTXKmCAaeA NSL21soHM6DPqGg19iXMdlsSOEnndCsPvGcsdNcxAlOH7sNI4xYZ9zRuL1aKQtdLe8tw vThxCkrVX+vBMI4yPw43789u1kakv8Xbk9tbTn3SubOVhYBX1AeCb9e5CyPb4y3Akb93 GZtkU9Wl//PMo+BDBYUulSyu6xq7UdOh5HKCAApARzrXYP5PJ7iaNPsJYD9OoGcR5R+Q DbZodnFgPFjM1AJrJYOQfcZ6zxsWlRk2P+5M2txKt3DrWl5P92HPA/RZL+CTH8eBSfS1 2PTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uENOeVJvQ83QhDbAJ5vTbfCAFdj00k1YEHr151PAYJs=; b=UZuJUBX4GA0VB92vl9gKXOBBbRWyyXjPWX7WUwau0GGiMwYAuoyVx4TrDIrM/nJCMJ TIM3QHYh7GV3ubohErSw9qT79/4XrvE8LLXCOg/a518MBAnOBrKBtIZ916YNvdlR5aDw PhYxqepXJnbTpWjBgtKpnumiFX559dBqPur17W4f1G2fOsKyCktaJH0EH6Roqo5cvPNM 7p3t35+PziZuJBlNd9QmtcU1U5PbNj/Uee0i/oyhCZr6kzlKqqGfEq7MDFaw71D1J1q8 0DfiZRu6J211P3CC4GK5TDJlRdMHPhH++FmhZPiINaoJ19D/XYGgzQVnEuvGJbQC6ZKh iQgg== X-Gm-Message-State: AKaTC013xP+u5QawgmXN+Al1pkqafyBnj+pYjbuUbwN2WTpGSZ9pqwWiOV+CVJsttwr6MBiQIKQZybvedgvOA5LH X-Received: by 10.176.81.56 with SMTP id e53mr129753uaa.100.1479481850570; Fri, 18 Nov 2016 07:10:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.79.145 with HTTP; Fri, 18 Nov 2016 07:10:49 -0800 (PST) In-Reply-To: <20161118150433.AD575558B@dpdk.org> References: <1479481467-29431-1-git-send-email-alejandro.lucero@netronome.com> <20161118150433.AD575558B@dpdk.org> From: Alejandro Lucero Date: Fri, 18 Nov 2016 15:10:49 +0000 Message-ID: To: Thomas Monjalon , dev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Fwd: |WARNING| [PATCH] nfp: report link speed using hardware info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 15:10:51 -0000 Hi Thomas, I got this email when sending a patch some minutes ago. The point is I trusted script/checkpatches.sh which did not report those warnings. Am I doing anything wrong when using checkpatches.sh? ---------- Forwarded message ---------- From: Date: Fri, Nov 18, 2016 at 3:04 PM Subject: |WARNING| [PATCH] nfp: report link speed using hardware info To: test-report@dpdk.org Cc: Alejandro Lucero Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/17091 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'arr' - possible side-effects? #53: FILE: drivers/net/nfp/nfp_net.c:806: +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #91: FILE: drivers/net/nfp/nfp_net.c:856: + else { + total: 0 errors, 0 warnings, 2 checks, 68 lines checked