lkml.org 
[lkml]   [2021]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead
Hi Nikita,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ee1703cda8dc777e937dec172da55beaf1a74919
commit: 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 ep93xx: clock: convert in-place to COMMON_CLK
date: 4 weeks ago
config: arm-randconfig-r005-20211116 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9645ccc7bd7a16cd73c3be9dee70cd702b03be37
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9645ccc7bd7a16cd73c3be9dee70cd702b03be37
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/clk/ drivers/gpu/drm/tegra/

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 >>):

>> drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead
--
drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_update_memory_bandwidth':
drivers/gpu/drm/tegra/dc.c:1848:53: warning: variable 'new_dc_state' set but not used [-Wunused-but-set-variable]
1848 | const struct tegra_dc_state *old_dc_state, *new_dc_state;
| ^~~~~~~~~~~~
drivers/gpu/drm/tegra/dc.c:1848:38: warning: variable 'old_dc_state' set but not used [-Wunused-but-set-variable]
1848 | const struct tegra_dc_state *old_dc_state, *new_dc_state;
| ^~~~~~~~~~~~
drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_calculate_memory_bandwidth':
>> drivers/gpu/drm/tegra/dc.c:2228:38: warning: variable 'old_state' set but not used [-Wunused-but-set-variable]
2228 | const struct drm_crtc_state *old_state;
| ^~~~~~~~~


vim +64 drivers/clk/clk-gemini.c

846423f96721d5 Linus Walleij 2017-06-21 51
846423f96721d5 Linus Walleij 2017-06-21 52 /**
846423f96721d5 Linus Walleij 2017-06-21 53 * struct gemini_data_data - Gemini gated clocks
846423f96721d5 Linus Walleij 2017-06-21 54 * @bit_idx: the bit used to gate this clock in the clock register
846423f96721d5 Linus Walleij 2017-06-21 55 * @name: the clock name
846423f96721d5 Linus Walleij 2017-06-21 56 * @parent_name: the name of the parent clock
846423f96721d5 Linus Walleij 2017-06-21 57 * @flags: standard clock framework flags
846423f96721d5 Linus Walleij 2017-06-21 58 */
846423f96721d5 Linus Walleij 2017-06-21 59 struct gemini_gate_data {
846423f96721d5 Linus Walleij 2017-06-21 60 u8 bit_idx;
846423f96721d5 Linus Walleij 2017-06-21 61 const char *name;
846423f96721d5 Linus Walleij 2017-06-21 62 const char *parent_name;
846423f96721d5 Linus Walleij 2017-06-21 63 unsigned long flags;
846423f96721d5 Linus Walleij 2017-06-21 @64 };
846423f96721d5 Linus Walleij 2017-06-21 65

:::::: The code at line 64 was first introduced by commit
:::::: 846423f96721d5c1c2fad6b43b3f1359002907d5 clk: Add Gemini SoC clock controller

:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Stephen Boyd <sboyd@codeaurora.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-17 23:08    [W:0.024 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site