Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3642153ybd; Tue, 25 Jun 2019 06:11:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9FLmelNlVFzNN4rV3FxGzjG9YlrvYo4M4tWqTu0PUPt9a71Kw0fvuKm3SS1gVJ1Ydbcql X-Received: by 2002:a17:902:9a82:: with SMTP id w2mr135894720plp.291.1561468292821; Tue, 25 Jun 2019 06:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561468292; cv=none; d=google.com; s=arc-20160816; b=xw7FamcJv2p9T2LTgAGG98SRRFQMizfyPbgxzQvJ8yZsjca9zZLrhHVwtnfivwR1pG XjiViFQbN8DeLbxRkzoFM930V4/Xmng0ltOSTEc+z4SPmbTrc2hEDX2UjGEeQ/vb6z+H zg9G6F51gUr11Uu0gwRL7BaJqFIzeXu76KwwsO+MmT35JKeq/d6v0EsNdTgM4TlOsG2I FV6ugMp6a1deaOA6FT1esuEY4VMsmq80GJE5gcTXoH4GxAXWuNYDyelA5z0P+NGgTptW M56DU2BTQJTdEOm7SwED5RdowWxjdNhoXblJAkQgfb4wOtISFJBJzKLCJ0304Nb2qVzx DKJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=KC6UqMNqqkqf945o5TbzjnUd7iFuYFfkkwWAw6cVa+A=; b=U2gTyT3fiPdQSHN5sfhvbH2rjZ7vs6BBlvUQ5rxFHqVFMjQCwDc1csr51Xx5pc4jCS y8XW8kF7vr0UV8ypZKFbQ3pmjjCoRm5+ZFrP134ofbO+R09kfHDb8yWRQINFwOB+xM0z B8n8CTnv5bIu3CEFJ+P7pZ2cCew8QbQ347XJCRQutRoPQd0pMIGHiszXrrsus0GGfn4/ uGgoA8HiSc3013qNyghUHY3mj4CpS+METid/300g9C3nZBAAbCmbuRXG4PiQjPID7b6r 4U1fVW9LAZNPGEhuh7+w/CkLi+vGQUaxQ7vJFR6T4qsrg1Ldh6mKV/TmXNs7LQtGbqHC gWDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRpoMSro; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si295006plr.340.2019.06.25.06.11.16; Tue, 25 Jun 2019 06:11:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRpoMSro; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731034AbfFYLmz (ORCPT + 99 others); Tue, 25 Jun 2019 07:42:55 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:46837 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729164AbfFYLmx (ORCPT ); Tue, 25 Jun 2019 07:42:53 -0400 Received: by mail-lf1-f68.google.com with SMTP id z15so12347203lfh.13 for ; Tue, 25 Jun 2019 04:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KC6UqMNqqkqf945o5TbzjnUd7iFuYFfkkwWAw6cVa+A=; b=dRpoMSrornZ5+U7nptq/uktaa04UFIo/QAPLaDjRnueu6KFQvvbSC6ea/xIkrZ1H+I Je7LPWkHilJBcantQI2hVUlxVqRs1rx96wT1pMz6dMOJHhnnGQlCkxVOepvxEeCOShTL Yk4beULHTY/vTur12Zdo9Cktt4Ag8Xlo1DSjye7uzhgOi6xbe0mMRHDoIUsYjhCT9JDP B6XZNeVqaYT95yRVDq8vrsv4Oi62dfsZacGbbZRDRztCjG8Ep7/SB33ub9e+WQ0Ep7vt 6UyJgyu/fZjIQRTiLMN6bJdHGOJtcz9XOJutcYpEA+DsJl38eDuJcLtKImIBfeVyUsIX 89pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KC6UqMNqqkqf945o5TbzjnUd7iFuYFfkkwWAw6cVa+A=; b=nAJACM43E+P2NSv4Nu3qMeEMIuxDofXF+b4BTHYn8GJTyYUJUCfBECGjqcks1Gutki H6O8pHbghsU+iiM2+rfay3GNzM/pfNwcpAkzosFvY/jzC2t0hP5YKAPOnaqG5JVV/WrF 48uwOscbP2f3Mcy1fS3qdCMglP3ctOJheSDj7D7PtBFsz3n3q9g6RcMI7JzaJIwIcYs8 YbWkePthA7bhUuyIf3TWBTn6nHusvIHZO+dIMYV1Fy2W4p846g4ivKO+TC8AAEhJr+kR xQlF+nkY3T3r1or7Ee/FMXaMnfDMdQhAHPKXlFH+Cw4MhA0r0sQ1otBKuXv3VWlTZm2F tXHA== X-Gm-Message-State: APjAAAWNG7mirFkxNrx1Yu3T5+kKMTHN361205JRTcPD2rDurgH9pf0h Qemyb8POPOKKO032PKDqCLFyNxWEwCA= X-Received: by 2002:a19:3804:: with SMTP id f4mr6841525lfa.69.1561462970776; Tue, 25 Jun 2019 04:42:50 -0700 (PDT) Received: from localhost.localdomain (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id r2sm1913675lfi.51.2019.06.25.04.42.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 04:42:50 -0700 (PDT) From: Ivan Khoronzhuk To: netdev@vger.kernel.org, davem@davemloft.net Cc: xdp-newbies@vger.kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org, hawk@kernel.org, Ivan Khoronzhuk Subject: [[PATCH net-next]] net: core: xdp: make __mem_id_disconnect to be static Date: Tue, 25 Jun 2019 14:42:46 +0300 Message-Id: <20190625114246.14726-1-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missed static for local __mem_id_disconnect(). Signed-off-by: Ivan Khoronzhuk --- net/core/xdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/xdp.c b/net/core/xdp.c index b29d7b513a18..829377cc83db 100644 --- a/net/core/xdp.c +++ b/net/core/xdp.c @@ -85,7 +85,7 @@ static void __xdp_mem_allocator_rcu_free(struct rcu_head *rcu) kfree(xa); } -bool __mem_id_disconnect(int id, bool force) +static bool __mem_id_disconnect(int id, bool force) { struct xdp_mem_allocator *xa; bool safe_to_remove = true; -- 2.17.1