From: kbuild test robot <lkp@intel.com>
Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.com>,
Mauro Carvalho Chehab <mchehab@s-opensource.com>,
kbuild-all@01.org, Mauro Carvalho Chehab <mchehab@infradead.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: [RFC PATCH] sound, media: array_find() can be static
Date: Mon, 23 Apr 2018 02:05:03 +0800 [thread overview]
Message-ID: <20180422180503.GA27818@lkp-sb04.lkp.intel.com> (raw)
In-Reply-To: <3f4d8ae83a91c765581d9cbbd1e436b6871368fa.1524227382.git.mchehab@s-opensource.com>
Fixes: dbd775375e7d ("sound, media: allow building ISA drivers it with COMPILE_TEST")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
cmi8328.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/isa/cmi8328.c b/sound/isa/cmi8328.c
index d09e456..de6ef1b 100644
--- a/sound/isa/cmi8328.c
+++ b/sound/isa/cmi8328.c
@@ -192,7 +192,7 @@ static int snd_cmi8328_mixer(struct snd_wss *chip)
}
/* find index of an item in "-1"-ended array */
-int array_find(int array[], int item)
+static int array_find(int array[], int item)
{
int i;
@@ -203,7 +203,7 @@ int array_find(int array[], int item)
return -1;
}
/* the same for long */
-int array_find_l(long array[], long item)
+static int array_find_l(long array[], long item)
{
int i;
next prev parent reply other threads:[~2018-04-22 18:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-20 12:32 [PATCH 0/4] More COMPILE_TEST patches to build all media drivers on x86_64 Mauro Carvalho Chehab
2018-04-20 12:32 ` [PATCH 3/4] sound, media: allow building ISA drivers it with COMPILE_TEST Mauro Carvalho Chehab
2018-04-20 12:37 ` Takashi Iwai
2018-04-20 12:51 ` Mauro Carvalho Chehab
2018-04-20 12:58 ` Takashi Iwai
2018-04-20 13:09 ` Mauro Carvalho Chehab
2018-04-20 13:01 ` Mauro Carvalho Chehab
2018-04-20 13:06 ` Takashi Iwai
2018-04-22 18:05 ` kbuild test robot
2018-04-23 6:52 ` Takashi Iwai
2018-04-22 18:05 ` kbuild test robot [this message]
2018-04-23 6:52 ` [RFC PATCH] sound, media: array_find() can be static Takashi Iwai
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=20180422180503.GA27818@lkp-sb04.lkp.intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=mchehab@s-opensource.com \
--cc=tiwai@suse.com \
/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