drivers/clk/tegra/clk-tegra210-emc.c:264:13: warning: no previous prototype for function 'tegra210_clk_register_emc'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
commit: 0ac65fc946d3a15ff30cea28b38a00b9ba98217b clk: tegra: Implement Tegra210 EMC clock
date: 6 weeks ago
config: arm64-randconfig-r002-20200619 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f5bbe390d23d7da0ffb110cdb24b583c2dc87eba)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git checkout 0ac65fc946d3a15ff30cea28b38a00b9ba98217b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/clk/tegra/clk-tegra210-emc.c:264:13: warning: no previous prototype for function 'tegra210_clk_register_emc' [-Wmissing-prototypes]
struct clk *tegra210_clk_register_emc(struct device_node *np,
^
drivers/clk/tegra/clk-tegra210-emc.c:264:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct clk *tegra210_clk_register_emc(struct device_node *np,
^
static
1 warning generated.
vim +/tegra210_clk_register_emc +264 drivers/clk/tegra/clk-tegra210-emc.c
263
> 264 struct clk *tegra210_clk_register_emc(struct device_node *np,
265 void __iomem *regs)
266 {
267 struct tegra210_clk_emc *emc;
268 struct clk_init_data init;
269 struct clk *clk;
270
271 emc = kzalloc(sizeof(*emc), GFP_KERNEL);
272 if (!emc)
273 return ERR_PTR(-ENOMEM);
274
275 emc->regs = regs;
276
277 init.name = "emc";
278 init.ops = &tegra210_clk_emc_ops;
279 init.flags = CLK_IS_CRITICAL | CLK_GET_RATE_NOCACHE;
280 init.parent_names = tegra210_clk_emc_parents;
281 init.num_parents = ARRAY_SIZE(tegra210_clk_emc_parents);
282 emc->hw.init = &init;
283
284 clk = clk_register(NULL, &emc->hw);
285 if (IS_ERR(clk)) {
286 kfree(emc);
287 return clk;
288 }
289
290 return clk;
291 }
292
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
drivers/gpu/drm/panel/panel-samsung-ld9040.c:240:12: warning: stack frame size of 8312 bytes in function 'ld9040_prepare'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
commit: 79591b7db21d255db158afaa48c557dcab631a1c spi: Add a PTP system timestamp to the transfer structure
date: 9 months ago
config: x86_64-randconfig-a014-20200620 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f5bbe390d23d7da0ffb110cdb24b583c2dc87eba)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 79591b7db21d255db158afaa48c557dcab631a1c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/gpu/drm/panel/panel-samsung-ld9040.c:240:12: warning: stack frame size of 8312 bytes in function 'ld9040_prepare' [-Wframe-larger-than=]
static int ld9040_prepare(struct drm_panel *panel)
^
1 warning generated.
vim +/ld9040_prepare +240 drivers/gpu/drm/panel/panel-samsung-ld9040.c
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 239
099b3e8699322e drivers/gpu/drm/panel/panel-ld9040.c Ajay Kumar 2014-07-31 @240 static int ld9040_prepare(struct drm_panel *panel)
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 241 {
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 242 struct ld9040 *ctx = panel_to_ld9040(panel);
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 243 int ret;
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 244
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 245 ret = ld9040_power_on(ctx);
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 246 if (ret < 0)
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 247 return ret;
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 248
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 249 ld9040_init(ctx);
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 250
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 251 ret = ld9040_clear_error(ctx);
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 252
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 253 if (ret < 0)
8141028278c2ea drivers/gpu/drm/panel/panel-ld9040.c Ajay Kumar 2014-07-31 254 ld9040_unprepare(panel);
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 255
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 256 return ret;
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 257 }
ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 258
:::::: The code at line 240 was first introduced by commit
:::::: 099b3e8699322efb7229913d2c1651588205f182 drm/panel: ld9040: Add dummy prepare and unprepare routines
:::::: TO: Ajay Kumar <ajaykumar.rs(a)samsung.com>
:::::: CC: Thierry Reding <treding(a)nvidia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[linux-next:master 1577/2242] drivers/scsi/ufs/ufs-exynos.c:1231: undefined reference to `ufshcd_pltfrm_init'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ce2cc8efd7a40cbd17841add878cb691d0ce0bba
commit: 55f4b1f73631a0817717fe6e98517de51b4c3527 [1577/2242] scsi: ufs: ufs-exynos: Add UFS host support for Exynos SoCs
config: arm64-randconfig-c023-20200619 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o: in function `exynos_ufs_probe':
>> drivers/scsi/ufs/ufs-exynos.c:1231: undefined reference to `ufshcd_pltfrm_init'
aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o: in function `exynos_ufs_pre_pwr_mode':
>> drivers/scsi/ufs/ufs-exynos.c:635: undefined reference to `ufshcd_get_pwr_dev_param'
>> aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o:(.data+0x10): undefined reference to `ufshcd_pltfrm_shutdown'
>> aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o:(.rodata+0xad0): undefined reference to `ufshcd_pltfrm_suspend'
>> aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o:(.rodata+0xad8): undefined reference to `ufshcd_pltfrm_resume'
>> aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o:(.rodata+0xb60): undefined reference to `ufshcd_pltfrm_runtime_suspend'
>> aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o:(.rodata+0xb68): undefined reference to `ufshcd_pltfrm_runtime_resume'
>> aarch64-linux-ld: drivers/scsi/ufs/ufs-exynos.o:(.rodata+0xb70): undefined reference to `ufshcd_pltfrm_runtime_idle'
vim +1231 drivers/scsi/ufs/ufs-exynos.c
1225
1226 static int exynos_ufs_probe(struct platform_device *pdev)
1227 {
1228 int err;
1229 struct device *dev = &pdev->dev;
1230
> 1231 err = ufshcd_pltfrm_init(pdev, &ufs_hba_exynos_ops);
1232 if (err)
1233 dev_err(dev, "ufshcd_pltfrm_init() failed %d\n", err);
1234
1235 return err;
1236 }
1237
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
ptp_ines.c:undefined reference to `devm_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
commit: bad1eaa6ac312ffd7aa46dd5a4d9843b824aa023 ptp: Add a driver for InES time stamping IP core.
date: 6 months ago
config: um-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout bad1eaa6ac312ffd7aa46dd5a4d9843b824aa023
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
xilinx_axienet_main.c:(.text+0x1aa6): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: xilinx_axienet_main.c:(.text+0x1d06): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: xilinx_axienet_main.c:(.text+0x2001): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: drivers/ptp/ptp_ines.o: in function `ines_ptp_ctrl_probe':
>> ptp_ines.c:(.text+0x17eb): undefined reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
drivers/gpu/drm/i915/i915_active.c:123:20: error: unused function 'debug_active_fini'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
commit: 9f4069b055d1508c833115df7493b6e0001e5c9b drm/i915: re-disable -Wframe-address
date: 8 weeks ago
config: x86_64-randconfig-r031-20200619 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 63700971ac9cdf198faa4a3a7c226fa579e49206)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 9f4069b055d1508c833115df7493b6e0001e5c9b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/i915_active.c:123:20: error: unused function 'debug_active_fini' [-Werror,-Wunused-function]
static inline void debug_active_fini(struct i915_active *ref) { }
^
1 error generated.
vim +/debug_active_fini +123 drivers/gpu/drm/i915/i915_active.c
5361db1a33c7e2 Chris Wilson 2019-06-21 119
5361db1a33c7e2 Chris Wilson 2019-06-21 120 static inline void debug_active_init(struct i915_active *ref) { }
5361db1a33c7e2 Chris Wilson 2019-06-21 121 static inline void debug_active_activate(struct i915_active *ref) { }
5361db1a33c7e2 Chris Wilson 2019-06-21 122 static inline void debug_active_deactivate(struct i915_active *ref) { }
5361db1a33c7e2 Chris Wilson 2019-06-21 @123 static inline void debug_active_fini(struct i915_active *ref) { }
5361db1a33c7e2 Chris Wilson 2019-06-21 124 static inline void debug_active_assert(struct i915_active *ref) { }
5361db1a33c7e2 Chris Wilson 2019-06-21 125
:::::: The code at line 123 was first introduced by commit
:::::: 5361db1a33c7e2d58af7df045d4d3ddd4c87ab56 drm/i915: Track i915_active using debugobjects
:::::: TO: Chris Wilson <chris(a)chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris(a)chris-wilson.co.uk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [PATCH net-next 5/5] net: dsa: felix: use the Lynx PCS helpers
by kernel test robot
Hi Ioana,
I love your patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Ioana-Ciornei/net-phy-add-Lynx-P...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2
config: i386-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/net/phy/mdio-lynx-pcs.o: in function `lynx_pcs_config':
mdio-lynx-pcs.c:(.text+0x47): undefined reference to `mdiobus_write'
>> ld: mdio-lynx-pcs.c:(.text+0x68): undefined reference to `mdiobus_modify'
>> ld: mdio-lynx-pcs.c:(.text+0x79): undefined reference to `phylink_mii_c22_pcs_config'
>> ld: mdio-lynx-pcs.c:(.text+0xae): undefined reference to `mdiobus_write'
ld: mdio-lynx-pcs.c:(.text+0xed): undefined reference to `mdiobus_write'
ld: mdio-lynx-pcs.c:(.text+0xfe): undefined reference to `mdiobus_write'
ld: drivers/net/phy/mdio-lynx-pcs.o: in function `lynx_pcs_an_restart':
mdio-lynx-pcs.c:(.text+0x14d): undefined reference to `mdiobus_write'
>> ld: mdio-lynx-pcs.c:(.text+0x160): undefined reference to `phylink_mii_c22_pcs_an_restart'
ld: drivers/net/phy/mdio-lynx-pcs.o: in function `lynx_pcs_link_up':
mdio-lynx-pcs.c:(.text+0x262): undefined reference to `mdiobus_modify'
ld: mdio-lynx-pcs.c:(.text+0x2a3): undefined reference to `mdiobus_write'
ld: drivers/net/phy/mdio-lynx-pcs.o: in function `lynx_pcs_get_state':
mdio-lynx-pcs.c:(.text+0x2f2): undefined reference to `phylink_mii_c22_pcs_get_state'
>> ld: mdio-lynx-pcs.c:(.text+0x32b): undefined reference to `mdiobus_read'
ld: mdio-lynx-pcs.c:(.text+0x364): undefined reference to `mdiobus_read'
>> ld: mdio-lynx-pcs.c:(.text+0x3da): undefined reference to `phy_duplex_to_str'
>> ld: mdio-lynx-pcs.c:(.text+0x3e5): undefined reference to `phy_speed_to_str'
ld: mdio-lynx-pcs.c:(.text+0x44c): undefined reference to `mdiobus_read'
ld: mdio-lynx-pcs.c:(.text+0x45e): undefined reference to `mdiobus_read'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months