* [plbossart-sound:sdw/master-quirks-take2 16/22] drivers/soundwire/bus.c:902:52: error: expected '; ' after expression
@ 2021-02-25 18:05 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-02-25 18:05 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
tree: https://github.com/plbossart/sound sdw/master-quirks-take2
head: 03e735d81cfb537f4a6e42427ce19363ecd96bcf
commit: c5ae1e5069a3663eecbd960a0ed85b9575e7585c [16/22] soundwire: bus: test read status
config: powerpc64-randconfig-r002-20210225 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a921aaf789912d981cbb2036bdc91ad7289e1523)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/plbossart/sound/commit/c5ae1e5069a3663eecbd960a0ed85b9575e7585c
git remote add plbossart-sound https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound sdw/master-quirks-take2
git checkout c5ae1e5069a3663eecbd960a0ed85b9575e7585c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/soundwire/bus.c:902:52: error: expected ';' after expression
val = sdw_bread_no_pm(bus, dev_num, SDW_SCP_STAT)
^
;
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
vim +902 drivers/soundwire/bus.c
895
896 static int sdw_bus_wait_for_clk_prep_deprep(struct sdw_bus *bus, u16 dev_num)
897 {
898 int retry = bus->clk_stop_timeout;
899 int val;
900
901 do {
> 902 val = sdw_bread_no_pm(bus, dev_num, SDW_SCP_STAT)
903 if (val < 0) {
904 dev_err(bus->dev, "SDW_SCP_STAT bread failed:%d\n", val);
905 return val;
906 }
907 val &= SDW_SCP_STAT_CLK_STP_NF;
908 if (!val) {
909 dev_info(bus->dev, "clock stop prep/de-prep done slave:%d",
910 dev_num);
911 return 0;
912 }
913
914 usleep_range(1000, 1500);
915 retry--;
916 } while (retry);
917
918 dev_err(bus->dev, "clock stop prep/de-prep failed slave:%d",
919 dev_num);
920
921 return -ETIMEDOUT;
922 }
923
---
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: 30197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [plbossart-sound:sdw/master-quirks-take2 16/22] drivers/soundwire/bus.c:902:52: error: expected '; ' after expression
@ 2021-02-25 18:14 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-02-25 18:14 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2547 bytes --]
tree: https://github.com/plbossart/sound sdw/master-quirks-take2
head: 03e735d81cfb537f4a6e42427ce19363ecd96bcf
commit: c5ae1e5069a3663eecbd960a0ed85b9575e7585c [16/22] soundwire: bus: test read status
config: s390-randconfig-r031-20210225 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a921aaf789912d981cbb2036bdc91ad7289e1523)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://github.com/plbossart/sound/commit/c5ae1e5069a3663eecbd960a0ed85b9575e7585c
git remote add plbossart-sound https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound sdw/master-quirks-take2
git checkout c5ae1e5069a3663eecbd960a0ed85b9575e7585c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/soundwire/bus.c:902:52: error: expected ';' after expression
val = sdw_bread_no_pm(bus, dev_num, SDW_SCP_STAT)
^
;
1 error generated.
vim +902 drivers/soundwire/bus.c
895
896 static int sdw_bus_wait_for_clk_prep_deprep(struct sdw_bus *bus, u16 dev_num)
897 {
898 int retry = bus->clk_stop_timeout;
899 int val;
900
901 do {
> 902 val = sdw_bread_no_pm(bus, dev_num, SDW_SCP_STAT)
903 if (val < 0) {
904 dev_err(bus->dev, "SDW_SCP_STAT bread failed:%d\n", val);
905 return val;
906 }
907 val &= SDW_SCP_STAT_CLK_STP_NF;
908 if (!val) {
909 dev_info(bus->dev, "clock stop prep/de-prep done slave:%d",
910 dev_num);
911 return 0;
912 }
913
914 usleep_range(1000, 1500);
915 retry--;
916 } while (retry);
917
918 dev_err(bus->dev, "clock stop prep/de-prep failed slave:%d",
919 dev_num);
920
921 return -ETIMEDOUT;
922 }
923
---
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: 13369 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-25 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25 18:05 [plbossart-sound:sdw/master-quirks-take2 16/22] drivers/soundwire/bus.c:902:52: error: expected '; ' after expression kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-02-25 18:14 kernel test robot
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.