From: kernel test robot <lkp@intel.com>
To: Nikita Shubin <nikita.shubin@maquefel.me>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Arnd Bergmann <arnd@arndb.de>,
Alexander Sverdlin <alexander.sverdlin@gmail.com>
Subject: drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead
Date: Thu, 18 Nov 2021 06:06:43 +0800 [thread overview]
Message-ID: <202111180632.vznM0G3j-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3762 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34170 bytes --]
reply other threads:[~2021-11-17 22:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111180632.vznM0G3j-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.sverdlin@gmail.com \
--cc=arnd@arndb.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikita.shubin@maquefel.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®