All of lore.kernel.org
 help / color / mirror / Atom feed
* [morimoto-linux:fw-cleanup-2020-12-08-v1 58/70] sound/soc/generic/simple-card-utils.c:739:5: warning: no previous prototype for function 'asoc_graph_card_probe'
@ 2020-12-08  7:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-08  7:02 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2453 bytes --]

tree:   https://github.com/morimoto/linux fw-cleanup-2020-12-08-v1
head:   7bec55c91dcc40e561497938a4b24aff3b8b51ba
commit: dfb28ee4ff22ae4055cf916206cda27936711b18 [58/70] ASoC: audio-graph: move asoc_graph_card_probe() to simple-card-utils.c
config: arm-randconfig-r031-20201208 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a2f922140f5380571fb74179f2bf622b3b925697)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/morimoto/linux/commit/dfb28ee4ff22ae4055cf916206cda27936711b18
        git remote add morimoto-linux https://github.com/morimoto/linux
        git fetch --no-tags morimoto-linux fw-cleanup-2020-12-08-v1
        git checkout dfb28ee4ff22ae4055cf916206cda27936711b18
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> sound/soc/generic/simple-card-utils.c:739:5: warning: no previous prototype for function 'asoc_graph_card_probe' [-Wmissing-prototypes]
   int asoc_graph_card_probe(struct snd_soc_card *card)
       ^
   sound/soc/generic/simple-card-utils.c:739:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int asoc_graph_card_probe(struct snd_soc_card *card)
   ^
   static 
   1 warning generated.

vim +/asoc_graph_card_probe +739 sound/soc/generic/simple-card-utils.c

   738	
 > 739	int asoc_graph_card_probe(struct snd_soc_card *card)
   740	{
   741		struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(card);
   742		int ret;
   743	
   744		ret = asoc_simple_init_hp(card, &priv->hp_jack, NULL);
   745		if (ret < 0)
   746			return ret;
   747	
   748		ret = asoc_simple_init_mic(card, &priv->mic_jack, NULL);
   749		if (ret < 0)
   750			return ret;
   751	
   752		return 0;
   753	}
   754	EXPORT_SYMBOL_GPL(asoc_graph_card_probe);
   755	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36377 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-08  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08  7:02 [morimoto-linux:fw-cleanup-2020-12-08-v1 58/70] sound/soc/generic/simple-card-utils.c:739:5: warning: no previous prototype for function 'asoc_graph_card_probe' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.