All of lore.kernel.org
 help / color / mirror / Atom feed
* [morimoto-linux:fw-cleanup-2020-12-15-v2 82/93] sound/soc/generic/sample-custom-card.c:24:5: warning: no previous prototype for 'custom_parse_of_hook_pre'
@ 2020-12-15 14:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-15 14:33 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/morimoto/linux fw-cleanup-2020-12-15-v2
head:   228442c52651fc123cc1f69999b08965852a0019
commit: 9504c4aa3b48a4cef52fcefd7727aebcc96fb6e6 [82/93] card2
config: ia64-randconfig-r014-20201215 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
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
        # https://github.com/morimoto/linux/commit/9504c4aa3b48a4cef52fcefd7727aebcc96fb6e6
        git remote add morimoto-linux https://github.com/morimoto/linux
        git fetch --no-tags morimoto-linux fw-cleanup-2020-12-15-v2
        git checkout 9504c4aa3b48a4cef52fcefd7727aebcc96fb6e6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 

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/sample-custom-card.c:24:5: warning: no previous prototype for 'custom_parse_of_hook_pre' [-Wmissing-prototypes]
      24 | int custom_parse_of_hook_pre(struct asoc_simple_priv *priv) {
         |     ^~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/generic/sample-custom-card.c:33:5: warning: no previous prototype for 'custom_parse_of_hook_post' [-Wmissing-prototypes]
      33 | int custom_parse_of_hook_post(struct asoc_simple_priv *priv) {
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~

vim +/custom_parse_of_hook_pre +24 sound/soc/generic/sample-custom-card.c

    23	
  > 24	int custom_parse_of_hook_pre(struct asoc_simple_priv *priv) {
    25	
    26		struct device *dev = simple_priv_to_dev(priv);
    27	
    28		dev_info(dev, "hook for start of parse_of\n");
    29	
    30		return 0;
    31	}
    32	
  > 33	int custom_parse_of_hook_post(struct asoc_simple_priv *priv) {
    34	
    35		struct device *dev = simple_priv_to_dev(priv);
    36	
    37		dev_info(dev, "hook for end of parse_of\n");
    38	
    39		return 0;
    40	}
    41	

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

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

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

only message in thread, other threads:[~2020-12-15 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 14:33 [morimoto-linux:fw-cleanup-2020-12-15-v2 82/93] sound/soc/generic/sample-custom-card.c:24:5: warning: no previous prototype for 'custom_parse_of_hook_pre' 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.