lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 5 May 2022 18:37:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     Al Cooper <alcooperx@...il.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Ulf Hansson <ulf.hansson@...aro.org>,
        Kamal Dasu <kdasu.kdev@...il.com>
Subject: [ulfh-mmc:next 43/52] drivers/mmc/host/sdhci-brcmstb.c:51:6:
 warning: no previous prototype for function 'brcmstb_reset'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next
head:   0662d797d5962fd0a21aceb0cf651a6ff308e924
commit: 6bcc55fe648b860ef0c2b8dc23adc05bcddb93c2 [43/52] mmc: sdhci-brcmstb: Enable Clock Gating to save power
config: mips-bmips_stb_defconfig (https://download.01.org/0day-ci/archive/20220505/202205051804.E5PoKkYL-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e004fb787698440a387750db7f8028e7cb14cfc)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git/commit/?id=6bcc55fe648b860ef0c2b8dc23adc05bcddb93c2
        git remote add ulfh-mmc git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
        git fetch --no-tags ulfh-mmc next
        git checkout 6bcc55fe648b860ef0c2b8dc23adc05bcddb93c2
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/mmc/host/

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

All warnings (new ones prefixed by >>):

>> drivers/mmc/host/sdhci-brcmstb.c:51:6: warning: no previous prototype for function 'brcmstb_reset' [-Wmissing-prototypes]
   void brcmstb_reset(struct sdhci_host *host, u8 mask)
        ^
   drivers/mmc/host/sdhci-brcmstb.c:51:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void brcmstb_reset(struct sdhci_host *host, u8 mask)
   ^
   static 
   1 warning generated.


vim +/brcmstb_reset +51 drivers/mmc/host/sdhci-brcmstb.c

    50	
  > 51	void brcmstb_reset(struct sdhci_host *host, u8 mask)
    52	{
    53		struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
    54		struct sdhci_brcmstb_priv *priv = sdhci_pltfm_priv(pltfm_host);
    55	
    56		sdhci_reset(host, mask);
    57	
    58		/* Reset will clear this, so re-enable it */
    59		if (priv->flags & BRCMSTB_PRIV_FLAGS_GATE_CLOCK)
    60			enable_clock_gating(host);
    61	}
    62	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ