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]
Message-ID: <202109141230.jO6JROZc-lkp@intel.com>
Date:   Tue, 14 Sep 2021 12:02:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kamil Rakoczy <krakoczy@...micro.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Stafford Horne <shorne@...il.com>,
        Maciej Dudek <mdudek@...ernships.antmicro.com>,
        Gabriel Somlo <gsomlo@...il.com>,
        Paul Mackerras <paulus@...abs.org>
Subject: [stffrdhrn:or1k-5.15-litex-sdcard 1/1]
 drivers/mmc/host/litex_mmc.c:96:6: warning: no previous prototype for
 'sdclk_set_clk'

tree:   https://github.com/stffrdhrn/linux.git or1k-5.15-litex-sdcard
head:   9802d0ed2e47ab8b2c6c3e82c4f41591ec11f958
commit: 9802d0ed2e47ab8b2c6c3e82c4f41591ec11f958 [1/1] LiteX: driver for LiteSDCard (litex_mmc)
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/stffrdhrn/linux/commit/9802d0ed2e47ab8b2c6c3e82c4f41591ec11f958
        git remote add stffrdhrn https://github.com/stffrdhrn/linux.git
        git fetch --no-tags stffrdhrn or1k-5.15-litex-sdcard
        git checkout 9802d0ed2e47ab8b2c6c3e82c4f41591ec11f958
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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/litex_mmc.c:96:6: warning: no previous prototype for 'sdclk_set_clk' [-Wmissing-prototypes]
      96 | void sdclk_set_clk(struct litex_mmc_host *host, unsigned int clk_freq) {
         |      ^~~~~~~~~~~~~


vim +/sdclk_set_clk +96 drivers/mmc/host/litex_mmc.c

    94	
    95	
  > 96	void sdclk_set_clk(struct litex_mmc_host *host, unsigned int clk_freq) {
    97		u32 div = clk_freq ? host->freq / clk_freq : 256;
    98		div = roundup_pow_of_two(div);
    99		div = min(max(div, (u32)2), (u32)256);
   100		dev_info(&host->dev->dev,
   101			"Requested clk_freq=%d: set to %d via div=%d\n",
   102			clk_freq, host->freq / div, div);
   103		litex_write16(host->sdphy + LITEX_MMC_SDPHY_CLOCKERDIV_OFF, div);
   104	}
   105	

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

Download attachment ".config.gz" of type "application/gzip" (65483 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ