From patchwork Wed Nov 9 19:14:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 119639 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC728A034C; Wed, 9 Nov 2022 20:15:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64C574113D; Wed, 9 Nov 2022 20:14:58 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 94DC14113D for ; Wed, 9 Nov 2022 20:14:57 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id g24so18005236plq.3 for ; Wed, 09 Nov 2022 11:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b1WcfSMTUpWNCO1EbJfT3lp8xDOEHidPF/QX2vmYEtI=; b=QtkzSg1Z7tm5iDZpvkxabc2w+fqq5B7HR8W89M34JobJoFdaj5FhYrM+CVl9/eYfJw wvVeefou4hH9CKSp9/k7cYaQuVutHMn4FtRgTi/q0YUkvwBHfEy6UGc59/YJEO4IQ8vI ACFc0C2O+O7BnXoBrZpugg4Dc8NQftCwDgTZqF/H0fx7C+j+gltGVW8BIi3m6EPbNA+E auRwLBWTnJDyu1/A8DfOS13CDbVVY5928buHSBgB1CkPY4HpED9n5HaV9/rwP52Oy+qj paugbAYRRaoCnN977JFtClbELq8oH1ns/mqmV7oHMWuj0BXkLpN+kwHq6wcwYspYdItg h9sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b1WcfSMTUpWNCO1EbJfT3lp8xDOEHidPF/QX2vmYEtI=; b=WxKCWLGYdCGHG4Fdo525ub+m2+SGTLtYY5LG0IYGdbH4GZrVDx/XPgQtZStYI3rk2e +eLug6cguBGCUnqm6BNc/Klv7JBorj/D1ES4YfxxnF83ojDHr2Ry4uNtkBLmZH/x7Sii vLdvOrvi4PknVSTw0sHhEfcCR2XtgU7UeQxAEWBiy7KJ/AR7pBS1buww+5JSm7WiWkBW 1GArTyvouXapw0etGFez+cQiYKV2zq01ABOLZU7/a27QmVPEPtGw/tLBTk9P124aNd6D cQzLqPis0crTuC1BeA/t0f7p3qhH3ATdLEbPdetJs9Sk6CKlyytTvlr7TAcCSwFyykDm Vc6w== X-Gm-Message-State: ACrzQf26BpR11H8fsLge0ho4kKCmbnFwk/TkEq7Bd27eqKHPXUuc+i85 C2kYgWsiLhcBlS9ljV6Fz+fzPlIyO4CUWA== X-Google-Smtp-Source: AMsMyM4yade2vkAWV0p5fAXzLEoydltwSA2iKZxle+PSxw4/OBgGpzGqArneWyWPx6bL5HqJ+E2a0A== X-Received: by 2002:a17:90a:8d15:b0:216:df8f:3de with SMTP id c21-20020a17090a8d1500b00216df8f03demr31292166pjo.80.1668021296450; Wed, 09 Nov 2022 11:14:56 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id gn16-20020a17090ac79000b002130c269b6fsm1586698pjb.1.2022.11.09.11.14.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 11:14:55 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Erik Gabriel Carrillo Subject: [PATCH 03/14] timer: fix whitespace Date: Wed, 9 Nov 2022 11:14:34 -0800 Message-Id: <20221109191445.140320-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221109191445.140320-1-stephen@networkplumber.org> References: <20221109191445.140320-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add space after keywords. Signed-off-by: Stephen Hemminger --- lib/timer/rte_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c index 85d67573eb9e..9eb73f1fed13 100644 --- a/lib/timer/rte_timer.c +++ b/lib/timer/rte_timer.c @@ -350,7 +350,7 @@ timer_get_prev_entries(uint64_t time_val, unsigned tim_lcore, { unsigned lvl = priv_timer[tim_lcore].curr_skiplist_depth; prev[lvl] = &priv_timer[tim_lcore].pending_head; - while(lvl != 0) { + while (lvl != 0) { lvl--; prev[lvl] = prev[lvl+1]; while (prev[lvl]->sl_next[lvl] &&