From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-linux-intel-lts:5.10/yocto 107/184] drivers/video/fbdev/aty/atyfb_base.c:180:6: warning: no previous prototype for 'aty_st_lcd'
Date: Thu, 01 Jul 2021 20:30:07 +0800 [thread overview]
Message-ID: <202107012000.2XzzMlpe-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2656 bytes --]
tree: https://github.com/intel/linux-intel-lts.git 5.10/yocto
head: c655581515e4f1d166631c4fff3c0a64a0356c3b
commit: f11431c81837b0819854ee10da218949d4c7e2f1 [107/184] fbdev: atyfb: add stubs for aty_{ld,st}_lcd()
config: arm-randconfig-r011-20210630 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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://github.com/intel/linux-intel-lts/commit/f11431c81837b0819854ee10da218949d4c7e2f1
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.10/yocto
git checkout f11431c81837b0819854ee10da218949d4c7e2f1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
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/video/fbdev/aty/atyfb_base.c:180:6: warning: no previous prototype for 'aty_st_lcd' [-Wmissing-prototypes]
180 | void aty_st_lcd(int index, u32 val, const struct atyfb_par *par)
| ^~~~~~~~~~
>> drivers/video/fbdev/aty/atyfb_base.c:183:5: warning: no previous prototype for 'aty_ld_lcd' [-Wmissing-prototypes]
183 | u32 aty_ld_lcd(int index, const struct atyfb_par *par)
| ^~~~~~~~~~
vim +/aty_st_lcd +180 drivers/video/fbdev/aty/atyfb_base.c
163
164 u32 aty_ld_lcd(int index, const struct atyfb_par *par)
165 {
166 if (M64_HAS(LT_LCD_REGS)) {
167 return aty_ld_le32(lt_lcd_regs[index], par);
168 } else {
169 unsigned long temp;
170
171 /* write addr byte */
172 temp = aty_ld_le32(LCD_INDEX, par);
173 aty_st_le32(LCD_INDEX, (temp & ~LCD_INDEX_MASK) | index, par);
174 /* read the register value */
175 return aty_ld_le32(LCD_DATA, par);
176 }
177 }
178 #else /* defined(CONFIG_PMAC_BACKLIGHT) || defined(CONFIG_FB_ATY_BACKLIGHT) \
179 defined(CONFIG_FB_ATY_GENERIC_LCD) */
> 180 void aty_st_lcd(int index, u32 val, const struct atyfb_par *par)
181 { }
182
> 183 u32 aty_ld_lcd(int index, const struct atyfb_par *par)
184 {
185 return 0;
186 }
187 #endif /* defined(CONFIG_PMAC_BACKLIGHT) || defined (CONFIG_FB_ATY_GENERIC_LCD) */
188
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28307 bytes --]
reply other threads:[~2021-07-01 12:30 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=202107012000.2XzzMlpe-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.