Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6960229ybi; Wed, 5 Jun 2019 08:59:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKgBwWKjBrt/CTZsOTti44aLbpSKwRxowDpXoptxyM2DkWb9/Gaw/Teg6Z5Q6k1KA5/1Dt X-Received: by 2002:a62:1bd1:: with SMTP id b200mr23409839pfb.210.1559750392103; Wed, 05 Jun 2019 08:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559750392; cv=none; d=google.com; s=arc-20160816; b=MBQJOqg5LVjMy+g/WEZfWw5c7+ysgnahWMaS7GbhEKIXN7nbkc/tVD8/XrD2bQeXpL 9jz22TYHW9ipLza5DfzYymJTMxDl14RmKCEGJ6VI2FxkdLBmKiWuy9iAbEMa9rCSctQ5 TmZsrR9MtD/8Ae9FiUiuUnvDkb1dqxfiQV6x0nbOk1YUQwXa9E1SkvTlZ5OidxraQz64 0biUcfIYTMy6m4GQhU87E1CskA1Za5/H6XQsXTtt1k0sQwR6Sv8sGH6lLB5Vcz8aq5Mk rFGBNoTlaVverdgD2Bbset6Sajo/vQtJ+OrAd4N0giDObMsGzyOVIoak6w3bcm7zYGcu StBQ== 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=rA3vsfkqh5egWjaPGw3fMqsipviOktraHdbK2Sevo6Y=; b=UQaEVXCf00YJloj3AWcbSSmdk5DU9/j5yKrbiNEsLTK+6OPrhzTjOC67TfLmm3qob/ 8K0vpMd9tOvFvcLtz4BZBjIb4khDuo9Xa6FViU4TLDZwZtm+jKziZWP6O7mUn94ltyv7 6kC4LjC8M0VXBKkRqNsk7tbK+vcymWYABdAH29l5eqNCxQ778Th4QGk0pWEMhuarCdUf y33Cqey23c/vg3P2yvLl1O4AbXtQCsh73v7OCWaIYhvSUwaizrhyo45QpBzRvV5EMyN4 9JPfIVfzLxo33PuFIfgDuURfd1WgxtA/OmVyozHRDpqdGu+5RQ/q/0qvXVEq0SMoDEK7 ZKGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oXLvHLvS; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 36si31999848pla.80.2019.06.05.08.59.35; Wed, 05 Jun 2019 08:59:52 -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=@gmail.com header.s=20161025 header.b=oXLvHLvS; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728446AbfFEP50 (ORCPT + 99 others); Wed, 5 Jun 2019 11:57:26 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35297 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726421AbfFEP50 (ORCPT ); Wed, 5 Jun 2019 11:57:26 -0400 Received: by mail-wr1-f67.google.com with SMTP id m3so4207012wrv.2 for ; Wed, 05 Jun 2019 08:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=rA3vsfkqh5egWjaPGw3fMqsipviOktraHdbK2Sevo6Y=; b=oXLvHLvSuyfl/Z/VI+0HDmZgPfI+F4hbIyIsIG8r7tpFLSFtGqk6BbXnPscyq7zpPU R8bR2osq0wXH6QL6oDEfPdCDD4PHsOnJxrsfSMX9Amze/IdsUv2hTcKLf7Ijrdo2sAmY FkIjL1KgCvH7faWhP4fkS8spjRwEIbg8EPUMCBMAoBoMi0vGVEVxgRZb1pQ1fz6NFc2u aAesJiFSkX0+HAdvO9f/6BZF5RwEoWEcBssFQXUDhuEaNa/WMiaiRqHjVSmS+BNdGMtA SEm5jeimDTDsBAkZsc04+khhWfqmc+uvb6AE5Z0UGCCcYoKXjllAu4kSzFnLCS164W2M fCGw== 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=rA3vsfkqh5egWjaPGw3fMqsipviOktraHdbK2Sevo6Y=; b=Hc+nyqgMsn1eFCsophheM1DOMIWtbAr4HzmSsypkpdInK49GZER+150t04ncrfOIkD pdfI2/xGsq06IbH60VNDg8qK7SJAMZ2NGhdW5j6ZBfE0cLzHHMlmozdu+ulmOUtaKc1W Q5m1Yd7pqx0D3ysLMePerf7ZnAeNykrxLbTFV+IdEAtgCyZxaE9+ZDWTrGkrikuRQFT2 zF/ixM9wt9i3DZBqpAIviOgWgUhmnoqF2mPtaBasjF848ltg4YImTZeK/gFP+IseQIcW XfCIXUn6qddU3nKnEaxsiYe1Uw5boVcRFrXGrMFmmDbpwaxlbIyO9Emev4JcBCvvqljZ zJNg== X-Gm-Message-State: APjAAAWtduZJCozG4sYKE/riCgFG0SkE3avKVdNqxdVOTEwGJ96ZvPE9 u+zHa6TU4LSSAKb5PRU1SSJyDB32 X-Received: by 2002:a5d:4302:: with SMTP id h2mr731522wrq.137.1559750244732; Wed, 05 Jun 2019 08:57:24 -0700 (PDT) Received: from localhost.localdomain (host228-128-static.243-194-b.business.telecomitalia.it. [194.243.128.228]) by smtp.googlemail.com with ESMTPSA id j123sm30845556wmb.32.2019.06.05.08.57.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jun 2019 08:57:24 -0700 (PDT) From: Valerio Genovese To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Valerio Genovese Subject: [PATCH] staging: kpc2000: kpc_dma: fix symbol 'kpc_dma_add_device' was not declared. Date: Wed, 5 Jun 2019 17:57:11 +0200 Message-Id: <20190605155711.19722-1-valerio.click@gmail.com> 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 This was reported by sparse: drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c:39:7: warning: symbol 'kpc_dma_add_device ' was not declared. Should it be static? Signed-off-by: Valerio Genovese --- drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h index ee47f43e71cf..19e88c3bc13f 100644 --- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h +++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h @@ -56,6 +56,7 @@ struct dev_private_data { }; struct kpc_dma_device *kpc_dma_lookup_device(int minor); +void kpc_dma_add_device(struct kpc_dma_device *ldev); extern const struct file_operations kpc_dma_fops; -- 2.17.1