diff mbox

[RFC] sound, media: array_find() can be static

Message ID 20180422180503.GA27818@lkp-sb04.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot April 22, 2018, 6:05 p.m. UTC
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(-)

Comments

Takashi Iwai April 23, 2018, 6:52 a.m. UTC | #1
On Sun, 22 Apr 2018 20:05:03 +0200,
kbuild test robot wrote:
> 
> 
> Fixes: dbd775375e7d ("sound, media: allow building ISA drivers it with COMPILE_TEST")

It's not actually a bug that was introduced by the commit, but it just
made appearing clearer.  So I dropped this tag.

> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

The fix is applied now.  Thanks.


Takashi
diff mbox

Patch

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;