* [xilinx-xlnx:xlnx_rebase_v5.15_LTS 231/924] drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:46:16: error: implicit declaration of function 'in_be32'
@ 2022-02-15 20:55 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-15 20:55 UTC (permalink / raw)
To: Saurabh Sengar
Cc: kbuild-all, linux-arm-kernel, Michal Simek, Syed Syed,
Priyadarshini Babu, Ravali Potineni, Pranavi Somisetty,
Swati Agarwal
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 392586c95ba817468e81d14a767a94f3b43a2898
commit: a7ae7ddafe91c16d0f4bcd4d148c76318f3cfb06 [231/924] net: xilinx: Add support for PL TSN IP features
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220216/202202160440.Tw9mI9w3-lkp@intel.com/config)
compiler: arceb-elf-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://github.com/Xilinx/linux-xlnx/commit/a7ae7ddafe91c16d0f4bcd4d148c76318f3cfb06
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout a7ae7ddafe91c16d0f4bcd4d148c76318f3cfb06
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
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/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c: In function 'xlnx_tod_read':
>> drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:46:16: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
46 | nsec = in_be32(timer->baseaddr + XTIMER1588_CURRENT_RTC_NS);
| ^~~~~~~
drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c: In function 'xlnx_rtc_offset_write':
>> drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:58:9: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
58 | out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_SEC_H), 0);
| ^~~~~~~~
cc1: some warnings being treated as errors
vim +/in_be32 +46 drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c
41
42 static void xlnx_tod_read(struct xlnx_ptp_timer *timer, struct timespec64 *ts)
43 {
44 u32 sec, nsec;
45
> 46 nsec = in_be32(timer->baseaddr + XTIMER1588_CURRENT_RTC_NS);
47 sec = in_be32(timer->baseaddr + XTIMER1588_CURRENT_RTC_SEC_L);
48
49 ts->tv_sec = sec;
50 ts->tv_nsec = nsec;
51 }
52
53 static void xlnx_rtc_offset_write(struct xlnx_ptp_timer *timer,
54 const struct timespec64 *ts)
55 {
56 pr_debug("%s: sec: %lld nsec: %ld\n", __func__, ts->tv_sec, ts->tv_nsec);
57
> 58 out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_SEC_H), 0);
59 out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_SEC_L),
60 (ts->tv_sec));
61 out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_NS), ts->tv_nsec);
62 }
63
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [xilinx-xlnx:xlnx_rebase_v5.15_LTS 231/924] drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:46:16: error: implicit declaration of function 'in_be32'
@ 2022-02-15 20:55 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-15 20:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2993 bytes --]
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 392586c95ba817468e81d14a767a94f3b43a2898
commit: a7ae7ddafe91c16d0f4bcd4d148c76318f3cfb06 [231/924] net: xilinx: Add support for PL TSN IP features
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220216/202202160440.Tw9mI9w3-lkp(a)intel.com/config)
compiler: arceb-elf-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://github.com/Xilinx/linux-xlnx/commit/a7ae7ddafe91c16d0f4bcd4d148c76318f3cfb06
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout a7ae7ddafe91c16d0f4bcd4d148c76318f3cfb06
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
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/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c: In function 'xlnx_tod_read':
>> drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:46:16: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
46 | nsec = in_be32(timer->baseaddr + XTIMER1588_CURRENT_RTC_NS);
| ^~~~~~~
drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c: In function 'xlnx_rtc_offset_write':
>> drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:58:9: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
58 | out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_SEC_H), 0);
| ^~~~~~~~
cc1: some warnings being treated as errors
vim +/in_be32 +46 drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c
41
42 static void xlnx_tod_read(struct xlnx_ptp_timer *timer, struct timespec64 *ts)
43 {
44 u32 sec, nsec;
45
> 46 nsec = in_be32(timer->baseaddr + XTIMER1588_CURRENT_RTC_NS);
47 sec = in_be32(timer->baseaddr + XTIMER1588_CURRENT_RTC_SEC_L);
48
49 ts->tv_sec = sec;
50 ts->tv_nsec = nsec;
51 }
52
53 static void xlnx_rtc_offset_write(struct xlnx_ptp_timer *timer,
54 const struct timespec64 *ts)
55 {
56 pr_debug("%s: sec: %lld nsec: %ld\n", __func__, ts->tv_sec, ts->tv_nsec);
57
> 58 out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_SEC_H), 0);
59 out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_SEC_L),
60 (ts->tv_sec));
61 out_be32((timer->baseaddr + XTIMER1588_RTC_OFFSET_NS), ts->tv_nsec);
62 }
63
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-15 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 20:55 [xilinx-xlnx:xlnx_rebase_v5.15_LTS 231/924] drivers/net/ethernet/xilinx/xilinx_tsn_ptp_clock.c:46:16: error: implicit declaration of function 'in_be32' kernel test robot
2022-02-15 20:55 ` 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.