From: kbuild test robot <lkp@intel.com>
To: Michael Tretter <m.tretter@pengutronix.de>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
devicetree@vger.kernel.org, kernel@pengutronix.de,
robh+dt@kernel.org, mchehab@kernel.org, tfiga@chromium.org,
dshah@xilinx.com, hverkuil@xs4all.nl
Subject: [RFC PATCH] allegro: allegro_alloc_buffer() can be static
Date: Sat, 4 May 2019 19:40:50 +0800 [thread overview]
Message-ID: <20190504114050.GA12462@lkp-kbuild10> (raw)
In-Reply-To: <20190503122010.16663-5-m.tretter@pengutronix.de>
Fixes: ccd8b4b2b72d ("allegro: add Allegro DVT video IP core driver")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
allegro-core.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/media/platform/allegro-dvt/allegro-core.c b/drivers/media/platform/allegro-dvt/allegro-core.c
index 5ed8553..f4313cc 100644
--- a/drivers/media/platform/allegro-dvt/allegro-core.c
+++ b/drivers/media/platform/allegro-dvt/allegro-core.c
@@ -732,8 +732,8 @@ allegro_get_firmware_info(struct allegro_dev *dev,
* Buffers that are used internally by the MCU.
*/
-int allegro_alloc_buffer(struct allegro_dev *dev,
- struct allegro_buffer *buffer, size_t size)
+static int allegro_alloc_buffer(struct allegro_dev *dev,
+ struct allegro_buffer *buffer, size_t size)
{
buffer->vaddr = dma_alloc_coherent(&dev->plat_dev->dev, size,
&buffer->paddr, GFP_KERNEL);
@@ -744,7 +744,7 @@ int allegro_alloc_buffer(struct allegro_dev *dev,
return 0;
}
-void allegro_free_buffer(struct allegro_dev *dev, struct allegro_buffer *buffer)
+static void allegro_free_buffer(struct allegro_dev *dev, struct allegro_buffer *buffer)
{
if (buffer->vaddr) {
dma_free_coherent(&dev->plat_dev->dev, buffer->size,
@@ -1604,7 +1604,7 @@ static int allegro_receive_message(struct allegro_dev *dev)
return err;
}
-irqreturn_t allegro_hardirq(int irq, void *data)
+static irqreturn_t allegro_hardirq(int irq, void *data)
{
struct allegro_dev *dev = data;
unsigned int status;
@@ -1618,7 +1618,7 @@ irqreturn_t allegro_hardirq(int irq, void *data)
return IRQ_WAKE_THREAD;
}
-irqreturn_t allegro_irq_thread(int irq, void *data)
+static irqreturn_t allegro_irq_thread(int irq, void *data)
{
struct allegro_dev *dev = data;
next prev parent reply other threads:[~2019-05-04 11:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 12:20 [PATCH v5 0/5] Add ZynqMP VCU/Allegro DVT H.264 encoder driver Michael Tretter
2019-05-03 12:20 ` [PATCH v5 1/5] videobuf2-v4l2: set last_buffer_dequeued in dqbuf Michael Tretter
2019-05-03 12:20 ` [PATCH v5 2/5] media: dt-bindings: media: document allegro-dvt bindings Michael Tretter
2019-05-03 12:20 ` [PATCH v5 3/5] media: dt-bindings: media: Add vendor prefix for allegro Michael Tretter
2019-05-07 17:08 ` Rob Herring
2019-05-03 12:20 ` [PATCH v5 4/5] [media] allegro: add Allegro DVT video IP core driver Michael Tretter
2019-05-04 11:40 ` kbuild test robot
2019-05-04 11:40 ` kbuild test robot [this message]
2019-05-10 8:28 ` Hans Verkuil
2019-05-10 10:28 ` Michael Tretter
2019-05-10 10:58 ` Hans Verkuil
2019-05-10 13:52 ` Michael Tretter
2019-05-10 14:11 ` Hans Verkuil
2019-05-10 14:58 ` Michael Tretter
2019-05-10 10:49 ` Philipp Zabel
2019-05-03 12:20 ` [PATCH v5 5/5] [media] allegro: add SPS/PPS nal unit writer Michael Tretter
2019-05-04 12:25 ` kbuild test robot
2019-05-04 12:25 ` [RFC PATCH] allegro: nal_h264_write_start_code_prefix() can be static kbuild test robot
2019-05-06 10:24 ` [PATCH v5 5/5] [media] allegro: add SPS/PPS nal unit writer Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190504114050.GA12462@lkp-kbuild10 \
--to=lkp@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dshah@xilinx.com \
--cc=hverkuil@xs4all.nl \
--cc=kbuild-all@01.org \
--cc=kernel@pengutronix.de \
--cc=linux-media@vger.kernel.org \
--cc=m.tretter@pengutronix.de \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tfiga@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).