Re: [PATCH 1/1] can: esd: add support for esd GmbH PCIe/402 CAN interface family
by kernel test robot
Hi "Stefan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on 8dad5561c13ade87238d9de6dd410b43f7562447]
url: https://github.com/0day-ci/linux/commits/Stefan-M-tje/can-esd-add-support...
base: 8dad5561c13ade87238d9de6dd410b43f7562447
config: i386-randconfig-a004-20210728 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/5110edee0d2180efeaa1236b265270984...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stefan-M-tje/can-esd-add-support-for-esd-GmbH-PCIe-402-CAN-interface-family/20210729-044114
git checkout 5110edee0d2180efeaa1236b2652709848bdd6fc
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "register_candev" [drivers/net/can/esd/esd_402_pci.ko] undefined!
>> ERROR: modpost: "alloc_can_err_skb" [drivers/net/can/esd/esd_402_pci.ko] undefined!
>> ERROR: modpost: "can_bus_off" [drivers/net/can/esd/esd_402_pci.ko] undefined!
>> ERROR: modpost: "close_candev" [drivers/net/can/esd/esd_402_pci.ko] undefined!
>> ERROR: modpost: "alloc_candev_mqs" [drivers/net/can/esd/esd_402_pci.ko] undefined!
ERROR: modpost: "free_candev" [drivers/net/can/esd/esd_402_pci.ko] undefined!
ERROR: modpost: "can_change_mtu" [drivers/net/can/esd/esd_402_pci.ko] undefined!
ERROR: modpost: "can_change_state" [drivers/net/can/esd/esd_402_pci.ko] undefined!
ERROR: modpost: "unregister_candev" [drivers/net/can/esd/esd_402_pci.ko] undefined!
ERROR: modpost: "alloc_can_skb" [drivers/net/can/esd/esd_402_pci.ko] undefined!
WARNING: modpost: suppressed 4 unresolved symbol warnings because there were too many)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
include/linux/atomic-arch-fallback.h:60:32: error: implicit declaration of function 'arch_cmpxchg64'; did you mean 'arch_cmpxchg'?
by kernel test robot
Hi Mark,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e16624d7b4376797ede36e3c955375cf0f23298
commit: bccf1ec369ac126b0997d01a6e1deae00e2cf6b3 locking/atomics: atomic-instrumented: simplify ifdeffery
date: 6 weeks ago
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bccf1ec369ac126b0997d01a6e1deae00e2cf6b3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/atomic.h:80,
from drivers/iommu/io-pgtable-arm.c:12:
drivers/iommu/io-pgtable-arm.c: In function 'arm_lpae_install_table':
>> include/linux/atomic-arch-fallback.h:60:32: error: implicit declaration of function 'arch_cmpxchg64'; did you mean 'arch_cmpxchg'? [-Werror=implicit-function-declaration]
60 | #define arch_cmpxchg64_relaxed arch_cmpxchg64
| ^~~~~~~~~~~~~~
include/asm-generic/atomic-instrumented.h:1261:2: note: in expansion of macro 'arch_cmpxchg64_relaxed'
1261 | arch_cmpxchg64_relaxed(__ai_ptr, __VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/iommu/io-pgtable-arm.c:320:8: note: in expansion of macro 'cmpxchg64_relaxed'
320 | old = cmpxchg64_relaxed(ptep, curr, new);
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +60 include/linux/atomic-arch-fallback.h
37f8173dd84936 Peter Zijlstra 2020-01-24 56
37f8173dd84936 Peter Zijlstra 2020-01-24 57 #ifndef arch_cmpxchg64_relaxed
37f8173dd84936 Peter Zijlstra 2020-01-24 58 #define arch_cmpxchg64_acquire arch_cmpxchg64
37f8173dd84936 Peter Zijlstra 2020-01-24 59 #define arch_cmpxchg64_release arch_cmpxchg64
29f006fdefe6f8 Peter Zijlstra 2020-08-29 @60 #define arch_cmpxchg64_relaxed arch_cmpxchg64
37f8173dd84936 Peter Zijlstra 2020-01-24 61 #else /* arch_cmpxchg64_relaxed */
37f8173dd84936 Peter Zijlstra 2020-01-24 62
:::::: The code at line 60 was first introduced by commit
:::::: 29f006fdefe6f88abde973a0b0f20d2704e93fd4 asm-generic/atomic: Add try_cmpxchg() fallbacks
:::::: TO: Peter Zijlstra <peterz(a)infradead.org>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v2 08/10] power: supply: axp288_fuel_gauge: Refresh all registers in one go
by kernel test robot
Hi Hans,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on power-supply/for-next]
[also build test ERROR on v5.14-rc3 next-20210729]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/power-supply-axp28...
base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next
config: x86_64-buildonly-randconfig-r001-20210730 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
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/0day-ci/linux/commit/1ff192ccce54fdfce899447999a60a195...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hans-de-Goede/power-supply-axp288_fuel_gauge-Reduce-number-of-register-accesses-cleanups/20210730-175716
git checkout 1ff192ccce54fdfce899447999a60a195537460c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/power/supply/axp288_fuel_gauge.c:219:8: error: implicit declaration of function 'iosf_mbi_block_punit_i2c_access' [-Werror,-Wimplicit-function-declaration]
ret = iosf_mbi_block_punit_i2c_access();
^
>> drivers/power/supply/axp288_fuel_gauge.c:268:2: error: implicit declaration of function 'iosf_mbi_unblock_punit_i2c_access' [-Werror,-Wimplicit-function-declaration]
iosf_mbi_unblock_punit_i2c_access();
^
drivers/power/supply/axp288_fuel_gauge.c:268:2: note: did you mean 'iosf_mbi_block_punit_i2c_access'?
drivers/power/supply/axp288_fuel_gauge.c:219:8: note: 'iosf_mbi_block_punit_i2c_access' declared here
ret = iosf_mbi_block_punit_i2c_access();
^
2 errors generated.
vim +/iosf_mbi_block_punit_i2c_access +219 drivers/power/supply/axp288_fuel_gauge.c
209
210 static int fuel_gauge_update_registers(struct axp288_fg_info *info)
211 {
212 int ret;
213
214 if (info->valid && time_before(jiffies, info->last_updated + AXP288_REG_UPDATE_INTERVAL))
215 return 0;
216
217 dev_dbg(info->dev, "Fuel Gauge updating register values...\n");
218
> 219 ret = iosf_mbi_block_punit_i2c_access();
220 if (ret < 0)
221 return ret;
222
223 ret = fuel_gauge_reg_readb(info, AXP20X_PWR_INPUT_STATUS);
224 if (ret < 0)
225 goto out;
226 info->pwr_stat = ret;
227
228 ret = fuel_gauge_reg_readb(info, AXP20X_FG_RES);
229 if (ret < 0)
230 goto out;
231 info->fg_res = ret;
232
233 ret = iio_read_channel_raw(info->iio_channel[BAT_VOLT], &info->bat_volt);
234 if (ret < 0)
235 goto out;
236
237 if (info->pwr_stat & PS_STAT_BAT_CHRG_DIR) {
238 info->d_curr = 0;
239 ret = iio_read_channel_raw(info->iio_channel[BAT_CHRG_CURR], &info->c_curr);
240 if (ret < 0)
241 goto out;
242 } else {
243 info->c_curr = 0;
244 ret = iio_read_channel_raw(info->iio_channel[BAT_D_CURR], &info->d_curr);
245 if (ret < 0)
246 goto out;
247 }
248
249 ret = fuel_gauge_read_12bit_word(info, AXP288_FG_OCVH_REG);
250 if (ret < 0)
251 goto out;
252 info->ocv = ret;
253
254 ret = fuel_gauge_read_15bit_word(info, AXP288_FG_CC_MTR1_REG);
255 if (ret < 0)
256 goto out;
257 info->fg_cc_mtr1 = ret;
258
259 ret = fuel_gauge_read_15bit_word(info, AXP288_FG_DES_CAP1_REG);
260 if (ret < 0)
261 goto out;
262 info->fg_des_cap1 = ret;
263
264 info->last_updated = jiffies;
265 info->valid = 1;
266 ret = 0;
267 out:
> 268 iosf_mbi_unblock_punit_i2c_access();
269 return ret;
270 }
271
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v4 3/7] dyndbg: add dyndbg-bitmap definer and callbacks
by kernel test robot
Hi Jim,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.14-rc3]
[cannot apply to drm-tip/drm-tip next-20210730]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jim-Cromie/drm-use-dyndbg-in-drm...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-c001-20210801 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
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/0day-ci/linux/commit/b131b8092dca962fd20fb2131615a5e56...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jim-Cromie/drm-use-dyndbg-in-drm_print/20210801-054510
git checkout b131b8092dca962fd20fb2131615a5e56a12d7b7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/i915/i915_drv.c:30:
In file included from include/linux/acpi.h:28:
>> include/linux/dynamic_debug.h:232:12: error: unused function 'param_set_dyndbg' [-Werror,-Wunused-function]
static int param_set_dyndbg(const char *instr, struct kernel_param *kp)
^
>> include/linux/dynamic_debug.h:234:12: error: unused function 'param_get_dyndbg' [-Werror,-Wunused-function]
static int param_get_dyndbg(char *buffer, struct kernel_param *kp)
^
2 errors generated.
--
In file included from drivers/gpu/drm/i915/gvt/gtt.c:36:
In file included from drivers/gpu/drm/i915/i915_drv.h:39:
In file included from include/linux/i2c.h:13:
In file included from include/linux/acpi.h:28:
>> include/linux/dynamic_debug.h:232:12: error: unused function 'param_set_dyndbg' [-Werror,-Wunused-function]
static int param_set_dyndbg(const char *instr, struct kernel_param *kp)
^
>> include/linux/dynamic_debug.h:234:12: error: unused function 'param_get_dyndbg' [-Werror,-Wunused-function]
static int param_get_dyndbg(char *buffer, struct kernel_param *kp)
^
>> drivers/gpu/drm/i915/gvt/gtt.c:267:19: error: unused function 'get_pt_type' [-Werror,-Wunused-function]
static inline int get_pt_type(int type)
^
3 errors generated.
vim +/param_set_dyndbg +232 include/linux/dynamic_debug.h
231
> 232 static int param_set_dyndbg(const char *instr, struct kernel_param *kp)
233 { return 0; }
> 234 static int param_get_dyndbg(char *buffer, struct kernel_param *kp)
235 { return 0; }
236
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[xlnx:xlnx_rebase_v5.10 1699/1758] drivers/media/platform/xilinx/xilinx-hdmirxss.c:500:9: error: implicit declaration of function 'FIELD_PREP'
by kernel test robot
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head: cc84db65c53872c3beece8f401232232609b47de
commit: 40aebff85555640414e3dce09117f8e23a206220 [1699/1758] v4l: xilinx: hdmirx: Add HDMI 2.1 Rx subsystem driver
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 10.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/Xilinx/linux-xlnx/commit/40aebff85555640414e3dce09117f...
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.10
git checkout 40aebff85555640414e3dce09117f8e23a206220
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/media/platform/xilinx/xilinx-hdmirxss.c: In function 'xhdmirx_vtd_settimebase':
>> drivers/media/platform/xilinx/xilinx-hdmirxss.c:500:9: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
500 | val |= FIELD_PREP(HDMIRX_VTD_CTRL_TIMERBASE_MASK, count);
| ^~~~~~~~~~
drivers/media/platform/xilinx/xilinx-hdmirxss.c: In function 'xhdmirx1_gettmdsclkratio':
>> drivers/media/platform/xilinx/xilinx-hdmirxss.c:651:8: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration]
651 | val = FIELD_GET(HDMIRX_PIO_IN_SCDC_TMDS_CLOCK_RATIO_MASK, val);
| ^~~~~~~~~
| FOLL_GET
cc1: some warnings being treated as errors
vim +/FIELD_PREP +500 drivers/media/platform/xilinx/xilinx-hdmirxss.c
488
489 /**
490 * xhdmirx_vtd_settimebase - Set the Video Timing Detector
491 *
492 * @xhdmi: pointer to driver state
493 * @count: count value to set the timer to.
494 */
495 static inline void xhdmirx_vtd_settimebase(struct xhdmirx_state *xhdmi, u32 count)
496 {
497 u32 val = xhdmi_read(xhdmi, HDMIRX_VTD_CTRL_OFFSET);
498
499 val &= ~HDMIRX_VTD_CTRL_TIMERBASE_MASK;
> 500 val |= FIELD_PREP(HDMIRX_VTD_CTRL_TIMERBASE_MASK, count);
501 xhdmi_write(xhdmi, HDMIRX_VTD_CTRL_OFFSET, val);
502 }
503
504 static inline void xhdmirx_scrambler_enable(struct xhdmirx_state *xhdmi)
505 {
506 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_SET_OFFSET,
507 HDMIRX_PIO_OUT_SCRM_MASK);
508 xhdmi->stream.isscrambled = true;
509 }
510
511 static inline void xhdmirx_scrambler_disable(struct xhdmirx_state *xhdmi)
512 {
513 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_CLR_OFFSET,
514 HDMIRX_PIO_OUT_SCRM_MASK);
515 xhdmi->stream.isscrambled = false;
516 }
517
518 static inline void xhdmirx_ddcscdc_clear(struct xhdmirx_state *xhdmi)
519 {
520 xhdmi_write(xhdmi, HDMIRX_DDC_CTRL_SET_OFFSET,
521 HDMIRX_DDC_CTRL_SCDC_CLR_MASK);
522 /* add a usleep(50) here */
523 xhdmi_write(xhdmi, HDMIRX_DDC_CTRL_CLR_OFFSET,
524 HDMIRX_DDC_CTRL_SCDC_CLR_MASK);
525 }
526
527 /**
528 * xhdmirx_disable_allintr - Disable all the interrupt sources
529 *
530 * @xhdmi: pointer to driver state
531 */
532 static void xhdmirx_disable_allintr(struct xhdmirx_state *xhdmi)
533 {
534 xhdmirx_piointr_disable(xhdmi);
535 xhdmirx_vtdintr_disable(xhdmi);
536 xhdmirx_ddcintr_disable(xhdmi);
537 xhdmirx_tmr1intr_disable(xhdmi);
538 xhdmirx_tmr2intr_disable(xhdmi);
539 xhdmirx_tmr3intr_disable(xhdmi);
540 xhdmirx_tmr4intr_disable(xhdmi);
541 xhdmirx_auxintr_disable(xhdmi);
542 xhdmirx_audintr_disable(xhdmi);
543 xhdmirx_frlintr_disable(xhdmi);
544 xhdmirx_lnkstaintr_disable(xhdmi);
545 }
546
547 /**
548 * xhdmirx_enable_allintr - Enable all the interrupt sources
549 *
550 * @xhdmi: pointer to driver state
551 */
552 static void xhdmirx_enable_allintr(struct xhdmirx_state *xhdmi)
553 {
554 xhdmirx_piointr_enable(xhdmi);
555 xhdmirx_vtdintr_enable(xhdmi);
556 xhdmirx_ddcintr_enable(xhdmi);
557 xhdmirx_tmr1intr_enable(xhdmi);
558 xhdmirx_tmr2intr_enable(xhdmi);
559 xhdmirx_tmr3intr_enable(xhdmi);
560 xhdmirx_tmr4intr_enable(xhdmi);
561 xhdmirx_auxintr_enable(xhdmi);
562 xhdmirx_frlintr_enable(xhdmi);
563 xhdmirx_lnkstaintr_enable(xhdmi);
564 }
565
566 /**
567 * xhdmirx1_bridgeyuv420 - Enable/disable YUV 420 in bridge
568 *
569 * @xhdmi: pointer to driver state
570 * @flag: Flag to set or clear the bit
571 */
572 static void xhdmirx1_bridgeyuv420(struct xhdmirx_state *xhdmi, bool flag)
573 {
574 if (flag)
575 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_SET_OFFSET,
576 HDMIRX_PIO_OUT_BRIDGE_YUV420_MASK);
577 else
578 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_CLR_OFFSET,
579 HDMIRX_PIO_OUT_BRIDGE_YUV420_MASK);
580 }
581
582 /**
583 * xhdmirx1_bridgepixeldrop - Enable/Disable pixel drop in bridge
584 *
585 * @xhdmi: pointer to driver state
586 * @flag: Flag to set or clear
587 */
588 static void xhdmirx1_bridgepixeldrop(struct xhdmirx_state *xhdmi, bool flag)
589 {
590 if (flag)
591 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_SET_OFFSET,
592 HDMIRX_PIO_OUT_BRIDGE_PIXEL_MASK);
593 else
594 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_CLR_OFFSET,
595 HDMIRX_PIO_OUT_BRIDGE_PIXEL_MASK);
596 }
597
598 /**
599 * xhdmirx1_start - Start the HDMI Rx by enabling the PIO
600 *
601 * @xhdmi: pointer to driver state
602 */
603 static void xhdmirx1_start(struct xhdmirx_state *xhdmi)
604 {
605 xhdmirx_pio_enable(xhdmi);
606 xhdmirx_piointr_enable(xhdmi);
607 }
608
609 static void xhdmirx1_clearlinkstatus(struct xhdmirx_state *xhdmi)
610 {
611 xhdmi_write(xhdmi, HDMIRX_LNKSTA_CTRL_SET_OFFSET, HDMIRX_LNKSTA_CTRL_ERR_CLR_MASK);
612 xhdmi_write(xhdmi, HDMIRX_LNKSTA_CTRL_CLR_OFFSET, HDMIRX_LNKSTA_CTRL_ERR_CLR_MASK);
613 }
614
615 /**
616 * xhdmirx_set_hpd - Toggle hot plug detect line
617 * @xhdmi: pointer to driver state
618 * @enable: Flag to assert or deassert the HPD line
619 *
620 * This function is used to toggle hot plug detect line to indicate to the
621 * HDMI Tx about change in HDMI Rx.
622 */
623 static void xhdmirx_set_hpd(struct xhdmirx_state *xhdmi, int enable)
624 {
625 if (enable)
626 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_SET_OFFSET,
627 HDMIRX_PIO_OUT_HPD_MASK);
628 else
629 xhdmi_write(xhdmi, HDMIRX_PIO_OUT_CLR_OFFSET,
630 HDMIRX_PIO_OUT_HPD_MASK);
631 }
632
633 static inline bool xhdmirx1_isstreamconnected(struct xhdmirx_state *xhdmi)
634 {
635 /* return the stream cable connected */
636 return xhdmi->stream.cable_connected;
637 }
638
639 /**
640 * xhdmirx1_gettmdsclkratio - Get the TMDS clock ratio
641 * @xhdmi: pointer to the driver state
642 *
643 * Return: TMDS clock ratio 0 or 1
644 */
645 static u32 xhdmirx1_gettmdsclkratio(struct xhdmirx_state *xhdmi)
646 {
647 u32 val;
648
649 /* Get TMDS clock ratio */
650 val = xhdmi_read(xhdmi, HDMIRX_PIO_IN_OFFSET);
> 651 val = FIELD_GET(HDMIRX_PIO_IN_SCDC_TMDS_CLOCK_RATIO_MASK, val);
652
653 dev_dbg(xhdmi->dev, "Get TMDS Clk Ratio = %u\n", val);
654 return val;
655 }
656
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v4 3/7] dyndbg: add dyndbg-bitmap definer and callbacks
by kernel test robot
Hi Jim,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.14-rc3]
[cannot apply to drm-tip/drm-tip next-20210730]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jim-Cromie/drm-use-dyndbg-in-drm...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/b131b8092dca962fd20fb2131615a5e56...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jim-Cromie/drm-use-dyndbg-in-drm_print/20210801-054510
git checkout b131b8092dca962fd20fb2131615a5e56a12d7b7
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/acpi.h:28,
from drivers/gpu/drm/i915/i915_drv.c:30:
>> include/linux/dynamic_debug.h:234:12: error: 'param_get_dyndbg' defined but not used [-Werror=unused-function]
234 | static int param_get_dyndbg(char *buffer, struct kernel_param *kp)
| ^~~~~~~~~~~~~~~~
>> include/linux/dynamic_debug.h:232:12: error: 'param_set_dyndbg' defined but not used [-Werror=unused-function]
232 | static int param_set_dyndbg(const char *instr, struct kernel_param *kp)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/param_get_dyndbg +234 include/linux/dynamic_debug.h
231
> 232 static int param_set_dyndbg(const char *instr, struct kernel_param *kp)
233 { return 0; }
> 234 static int param_get_dyndbg(char *buffer, struct kernel_param *kp)
235 { return 0; }
236
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year