From patchwork Mon Jul 6 23:10:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 234895 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp392312ilg; Mon, 6 Jul 2020 16:10:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK+QMSt2Q/BSn7ZEbcAODp2fhr4OwiCuwPPYMwYr1vA6vLsUrfmSnyJgiCoVLCgvDX1Np8 X-Received: by 2002:a17:906:4bc1:: with SMTP id x1mr35811261ejv.377.1594077032324; Mon, 06 Jul 2020 16:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594077032; cv=none; d=google.com; s=arc-20160816; b=yzpGZJITjmw8FXeAJjYTdSUBo7bKN2Mu3L1KWDN1imXiOhjpKjsRDv1J/0D2UFih/7 8rh5cc9cj7+s1TGjMFC8yEMogJPk4lL5huq1+WogUYAal4VAZq0AJ8bC8uSk92Ih6Wck 9qjrYwX6IVg3YcIrJep7h31cx3LqglgdXFVOtE1ms7MQ1Es8dWty6QVi4gRdJ+Qh6UTn 8Au5CYWW1CFq3vULbpjAFIkbglAm8VV3NES9gLU7JC362fUehGn2D2ez3QAlB8ZCSoT7 DkED8piLr7o9bLzrmfS53IcsN7r/wLt+zRxnOuLc+sYHGxhFB6OyhFBHZCvXVFUGcZOs 9+9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PZvIX6vLMbdnQ9xi6X13Q9UES2Dc+IRz4gOtA11omag=; b=WLd1vWSDhefuDuisVJNoaSzKx1vhXbX7VHUQNZUNDKkWfppq6iHvOc4t+4EsPH3v2v tZ2/LE7KW6IjHtGcBFTINZnO7FVvzptOuxJMQcoHpDQgONjXcOpbxY1YuRd6LTq76cXP 4Nd+0riqt3sTEiP/daIyOZl32SbmaQpD+FcXtNEeuhQaYLDR+EgT5lkv/jU77uhqukYf MzbdK9ujd4pMv/Bywu0tNDiuwCjoj3PAWkIJCQ5wLTXSSQeKB+634di1+p/D+d+Yraqs jtnIj3/466PPoXiturPHGAlTQo2YaHcwTTx62t6wJsATy/8dBmgtkpKjphkqa2oHV9Ks q2Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cjf8h2QD; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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. [23.128.96.18]) by mx.google.com with ESMTP id w6si13885702edx.62.2020.07.06.16.10.32; Mon, 06 Jul 2020 16:10:32 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cjf8h2QD; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S1727928AbgGFXKb (ORCPT + 9 others); Mon, 6 Jul 2020 19:10:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727079AbgGFXKR (ORCPT ); Mon, 6 Jul 2020 19:10:17 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCEFC061755 for ; Mon, 6 Jul 2020 16:10:17 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id a12so41215281ion.13 for ; Mon, 06 Jul 2020 16:10:17 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=PZvIX6vLMbdnQ9xi6X13Q9UES2Dc+IRz4gOtA11omag=; b=Cjf8h2QDNDmu6NNDaeQqVXA0UYoFCg5Rnh/FqMDFA/mJbYX8C91CKnmrMizibrHZ+r cVrXBaQJIdLTRfiaR9ojksO3cW8C1k5Fx6yK+92XEPYmJtqfPGi2IY/HLhqG4/2rWpN7 40Rken9P0iVRYtrZi0N5lDn3FJk2S7rLqjx2oWQY0hkFGmbIx7RuWKiOsxBeXQ+0QZgT /0KpV5/2QBE5urHl98sv4+Bet4VJIqzgbiQ42BvSkkxdxrXUYJPQdKp/h8fmp8f1Aa9K GNzGOr8lNiNfJYjI+XuiiBCxBtumK585s1LvxeozZXFPop1HXNhG/man06ppLnxvjZMn s5ww== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PZvIX6vLMbdnQ9xi6X13Q9UES2Dc+IRz4gOtA11omag=; b=bcFOWYRNjNkrJBjpiJp6d/hcJSoI/6Yu5VXqQnuemYr+obb0lxVpTkkFPg8iq/gMyo SA/+VOTOO3BGhtGwtfmKrxLJfWKzaflLudzmLBhF+CQSCdpnNc/bChgY7duE1T9Z5XSD IbzkgkNG2bajAF2b3eu9Q2U7B/Gp7DDh1cHEfcmN+3dqSVElTBFPRsJN5TRK9zRlVHXN BwlmIm02Xl8OeMAkTw/rMaTqD8m+g8UMQScK6KV8m8+lGXW8nHLxYagGVhAcyQMl02JV ESWGi/mi3xrAjK6sbdNFObntFx20H2/7uY4vxWkDRw28pReaGMg62XDKXfUmlC+25hHZ vhNg== X-Gm-Message-State: AOAM532vt+c+6xNQzwcyg6SEOpRRVPFdemUFQgIEf2OUutqEV9vm0ymn PTcUKZK5Evo+nFlkGrGHYve2FA== X-Received: by 2002:a5e:da06:: with SMTP id x6mr27921238ioj.196.1594077016696; Mon, 06 Jul 2020 16:10:16 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id w16sm11523029iom.27.2020.07.06.16.10.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 16:10:16 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net 3/3] net: ipa: include declarations in "ipa_gsi.c" Date: Mon, 6 Jul 2020 18:10:10 -0500 Message-Id: <20200706231010.1233505-4-elder@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200706231010.1233505-1-elder@linaro.org> References: <20200706231010.1233505-1-elder@linaro.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Include "ipa_gsi.h" in "ipa_gsi.c", so the public functions are defined before they are used in "ipa_gsi.c". This addresses some warnings that are reported with a "W=1" build. Fixes: c3f398b141a8 ("soc: qcom: ipa: IPA interface to GSI") Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_gsi.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/drivers/net/ipa/ipa_gsi.c b/drivers/net/ipa/ipa_gsi.c index dc4a5c2196ae..d323adb03383 100644 --- a/drivers/net/ipa/ipa_gsi.c +++ b/drivers/net/ipa/ipa_gsi.c @@ -6,6 +6,7 @@ #include +#include "ipa_gsi.h" #include "gsi_trans.h" #include "ipa.h" #include "ipa_endpoint.h"