public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v4 2/2] mmc: sdhci-of-dwcmshc: Implement SDHCI CQE support
       [not found] <20231229101128.392089-3-serghox@gmail.com>
@ 2023-12-30  3:46 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-30  3:46 UTC (permalink / raw)
  To: Sergey Khimich, linux-mmc
  Cc: llvm, oe-kbuild-all, linux-kernel, Adrian Hunter, Ulf Hansson,
	Shawn Lin, Jyan Chou

Hi Sergey,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on ulf-hansson-mmc-mirror/next v6.7-rc7]
[cannot apply to next-20231222]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Sergey-Khimich/mmc-cqhci-Add-cqhci-set_tran_desc-callback/20231229-181345
base:   linus/master
patch link:    https://lore.kernel.org/r/20231229101128.392089-3-serghox%40gmail.com
patch subject: [PATCH v4 2/2] mmc: sdhci-of-dwcmshc: Implement SDHCI CQE support
config: i386-buildonly-randconfig-001-20231230 (https://download.01.org/0day-ci/archive/20231230/202312301130.itEZhhI5-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231230/202312301130.itEZhhI5-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312301130.itEZhhI5-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/mmc/host/sdhci-of-dwcmshc.c:224:5: warning: no previous prototype for function 'dwcmshc_execute_tuning' [-Wmissing-prototypes]
     224 | int dwcmshc_execute_tuning(struct mmc_host *mmc, u32 opcode)
         |     ^
   drivers/mmc/host/sdhci-of-dwcmshc.c:224:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     224 | int dwcmshc_execute_tuning(struct mmc_host *mmc, u32 opcode)
         | ^
         | static 
   1 warning generated.


vim +/dwcmshc_execute_tuning +224 drivers/mmc/host/sdhci-of-dwcmshc.c

   223	
 > 224	int dwcmshc_execute_tuning(struct mmc_host *mmc, u32 opcode)
   225	{
   226		int err = sdhci_execute_tuning(mmc, opcode);
   227		struct sdhci_host *host = mmc_priv(mmc);
   228	
   229		if (err)
   230			return err;
   231	
   232		/*
   233		 * Tuning can leave the IP in an active state (Buffer Read Enable bit
   234		 * set) which prevents the entry to low power states (i.e. S0i3). Data
   235		 * reset will clear it.
   236		 */
   237		sdhci_reset(host, SDHCI_RESET_DATA);
   238	
   239		return 0;
   240	}
   241	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2023-12-30  3:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20231229101128.392089-3-serghox@gmail.com>
2023-12-30  3:46 ` [PATCH v4 2/2] mmc: sdhci-of-dwcmshc: Implement SDHCI CQE support kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox