[linux-next:master 9830/13311] drivers/block/rnbd/rnbd-clt.c:1397:42: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination
by kernel test robot
Hi Md,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9317f948b0b188b8d2fded75957e6d42c460df1b
commit: 64e8a6ece1a5b1fa21316918053d068baeac84af [9830/13311] block/rnbd-clt: Dynamically alloc buffer for pathname & blk_symlink_name
config: x86_64-randconfig-a006-20201216 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 64e8a6ece1a5b1fa21316918053d068baeac84af
# 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 warnings (new ones prefixed by >>):
>> drivers/block/rnbd/rnbd-clt.c:1397:42: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
strlcpy(dev->pathname, pathname, strlen(pathname) + 1);
~~~~~~~^~~~~~~~~~~~~
1 warning generated.
vim +/strlcpy +1397 drivers/block/rnbd/rnbd-clt.c
1363
1364 static struct rnbd_clt_dev *init_dev(struct rnbd_clt_session *sess,
1365 enum rnbd_access_mode access_mode,
1366 const char *pathname)
1367 {
1368 struct rnbd_clt_dev *dev;
1369 int ret;
1370
1371 dev = kzalloc_node(sizeof(*dev), GFP_KERNEL, NUMA_NO_NODE);
1372 if (!dev)
1373 return ERR_PTR(-ENOMEM);
1374
1375 dev->hw_queues = kcalloc(nr_cpu_ids, sizeof(*dev->hw_queues),
1376 GFP_KERNEL);
1377 if (!dev->hw_queues) {
1378 ret = -ENOMEM;
1379 goto out_alloc;
1380 }
1381
1382 mutex_lock(&ida_lock);
1383 ret = ida_simple_get(&index_ida, 0, 1 << (MINORBITS - RNBD_PART_BITS),
1384 GFP_KERNEL);
1385 mutex_unlock(&ida_lock);
1386 if (ret < 0) {
1387 pr_err("Failed to initialize device '%s' from session %s, allocating idr failed, err: %d\n",
1388 pathname, sess->sessname, ret);
1389 goto out_queues;
1390 }
1391
1392 dev->pathname = kzalloc(strlen(pathname) + 1, GFP_KERNEL);
1393 if (!dev->pathname) {
1394 ret = -ENOMEM;
1395 goto out_queues;
1396 }
> 1397 strlcpy(dev->pathname, pathname, strlen(pathname) + 1);
1398
1399 dev->clt_device_id = ret;
1400 dev->sess = sess;
1401 dev->access_mode = access_mode;
1402 mutex_init(&dev->lock);
1403 refcount_set(&dev->refcount, 1);
1404 dev->dev_state = DEV_STATE_INIT;
1405
1406 /*
1407 * Here we called from sysfs entry, thus clt-sysfs is
1408 * responsible that session will not disappear.
1409 */
1410 WARN_ON(!rnbd_clt_get_sess(sess));
1411
1412 return dev;
1413
1414 out_queues:
1415 kfree(dev->hw_queues);
1416 out_alloc:
1417 kfree(dev);
1418 return ERR_PTR(ret);
1419 }
1420
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
Re: [PATCH v12 5/5] leds: mt6360: Add LED driver for MT6360
by kernel test robot
Hi Gene,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pavel-linux-leds/for-next]
[also build test WARNING on robh/for-next linus/master v5.10 next-20201215]
[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/Gene-Chen/leds-mt6360-Add-LED-dr...
base: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
config: x86_64-randconfig-m001-20201215 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
drivers/leds/leds-mt6360.c:778 mt6360_led_probe() warn: always true condition '(reg >= 0) => (0-u32max >= 0)'
vim +778 drivers/leds/leds-mt6360.c
714
715 static int mt6360_led_probe(struct platform_device *pdev)
716 {
717 struct mt6360_priv *priv;
718 struct fwnode_handle *child;
719 size_t count;
720 int i = 0, ret;
721
722 count = device_get_child_node_count(&pdev->dev);
723 if (!count || count > MT6360_MAX_LEDS) {
724 dev_err(&pdev->dev, "No child node or node count over max led number %lu\n", count);
725 return -EINVAL;
726 }
727
728 priv = devm_kzalloc(&pdev->dev, struct_size(priv, leds, count), GFP_KERNEL);
729 if (!priv)
730 return -ENOMEM;
731
732 priv->leds_count = count;
733 priv->dev = &pdev->dev;
734 mutex_init(&priv->lock);
735
736 priv->regmap = dev_get_regmap(pdev->dev.parent, NULL);
737 if (!priv->regmap) {
738 dev_err(&pdev->dev, "Failed to get parent regmap\n");
739 return -ENODEV;
740 }
741
742 device_for_each_child_node(&pdev->dev, child) {
743 struct mt6360_led *led = priv->leds + i;
744 struct led_init_data init_data = { .fwnode = child, };
745 u32 reg, led_color;
746
747 ret = fwnode_property_read_u32(child, "color", &led_color);
748 if (ret)
749 goto out_flash_release;
750
751 if (led_color == LED_COLOR_ID_RGB || led_color == LED_COLOR_ID_MULTI)
752 reg = MT6360_VIRTUAL_MULTICOLOR;
753 else {
754 ret = fwnode_property_read_u32(child, "reg", ®);
755 if (ret)
756 goto out_flash_release;
757
758 if (reg >= MT6360_MAX_LEDS) {
759 ret = -EINVAL;
760 goto out_flash_release;
761 }
762 }
763
764 if (priv->leds_active & BIT(reg)) {
765 ret = -EINVAL;
766 goto out_flash_release;
767 }
768 priv->leds_active |= BIT(reg);
769
770 led->led_no = reg;
771 led->priv = priv;
772
773 ret = mt6360_init_common_properties(led, &init_data);
774 if (ret)
775 goto out_flash_release;
776
777 if (reg == MT6360_VIRTUAL_MULTICOLOR ||
> 778 (reg >= MT6360_LED_ISNK1 && reg <= MT6360_LED_ISNKML))
779 ret = mt6360_init_isnk_properties(led, &init_data);
780 else
781 ret = mt6360_init_flash_properties(led, &init_data);
782
783 if (ret)
784 goto out_flash_release;
785
786 ret = mt6360_led_register(&pdev->dev, led, &init_data);
787 if (ret)
788 goto out_flash_release;
789
790 i++;
791 }
792
793 platform_set_drvdata(pdev, priv);
794 return 0;
795
796 out_flash_release:
797 mt6360_v4l2_flash_release(priv);
798 return ret;
799 }
800
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
[vsyrjala:vrr_fixes 23/26] drivers/gpu/drm/i915/i915_irq.c:891 i915_get_crtc_scanoutpos() warn: inconsistent indenting
by kernel test robot
tree: https://github.com/vsyrjala/linux.git vrr_fixes
head: b9b43deb7fc52a06855bc7d4918d704381fb2d61
commit: 0ff0a6ee139b6d7d414c0125ddc6b7ba1159ed40 [23/26] drm/i915: Fix vblank timestamps with VRR
config: x86_64-randconfig-m001-20201215 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
drivers/gpu/drm/i915/i915_irq.c:891 i915_get_crtc_scanoutpos() warn: inconsistent indenting
vim +891 drivers/gpu/drm/i915/i915_irq.c
828
829 static bool i915_get_crtc_scanoutpos(struct drm_crtc *_crtc,
830 bool in_vblank_irq,
831 int *vpos, int *hpos,
832 ktime_t *stime, ktime_t *etime,
833 const struct drm_display_mode *mode)
834 {
835 struct drm_device *dev = _crtc->dev;
836 struct drm_i915_private *dev_priv = to_i915(dev);
837 struct intel_crtc *crtc = to_intel_crtc(_crtc);
838 enum pipe pipe = crtc->pipe;
839 int position;
840 int vbl_start, vbl_end, hsync_start, htotal, vtotal;
841 unsigned long irqflags;
842 bool use_scanline_counter = INTEL_GEN(dev_priv) >= 5 ||
843 IS_G4X(dev_priv) || IS_GEN(dev_priv, 2) ||
844 crtc->mode_flags & I915_MODE_FLAG_USE_SCANLINE_COUNTER;
845
846 if (drm_WARN_ON(&dev_priv->drm, !mode->crtc_clock)) {
847 drm_dbg(&dev_priv->drm,
848 "trying to get scanoutpos for disabled "
849 "pipe %c\n", pipe_name(pipe));
850 return false;
851 }
852
853 htotal = mode->crtc_htotal;
854 hsync_start = mode->crtc_hsync_start;
855 vtotal = mode->crtc_vtotal;
856 vbl_start = mode->crtc_vblank_start;
857 vbl_end = mode->crtc_vblank_end;
858
859 if (mode->flags & DRM_MODE_FLAG_INTERLACE) {
860 vbl_start = DIV_ROUND_UP(vbl_start, 2);
861 vbl_end /= 2;
862 vtotal /= 2;
863 }
864
865 /*
866 * Lock uncore.lock, as we will do multiple timing critical raw
867 * register reads, potentially with preemption disabled, so the
868 * following code must not block on uncore.lock.
869 */
870 spin_lock_irqsave(&dev_priv->uncore.lock, irqflags);
871
872 /* preempt_disable_rt() should go right here in PREEMPT_RT patchset. */
873
874 /* Get optional system timestamp before query. */
875 if (stime)
876 *stime = ktime_get();
877
878 if (crtc->mode_flags & I915_MODE_FLAG_VRR) {
879 int scanlines = intel_crtc_scanlines_since_frame_timestamp(crtc);
880
881 position = __intel_get_crtc_scanline(crtc);
882
883 /*
884 * Already exiting vblank? If so, shift our position
885 * so it looks like we're already apporaching the full
886 * vblank end. This should make the generated timestamp
887 * more or less match when the active portion will start.
888 */
889 if (position >= vbl_start && scanlines < position)
890 position = min(crtc->vmax_vblank_start + scanlines, vtotal - 1);
> 891 } if (use_scanline_counter) {
892 /* No obvious pixelcount register. Only query vertical
893 * scanout position from Display scan line register.
894 */
895 position = __intel_get_crtc_scanline(crtc);
896 } else {
897 /* Have access to pixelcount since start of frame.
898 * We can split this into vertical and horizontal
899 * scanout position.
900 */
901 position = (intel_de_read_fw(dev_priv, PIPEFRAMEPIXEL(pipe)) & PIPE_PIXEL_MASK) >> PIPE_PIXEL_SHIFT;
902
903 /* convert to pixel counts */
904 vbl_start *= htotal;
905 vbl_end *= htotal;
906 vtotal *= htotal;
907
908 /*
909 * In interlaced modes, the pixel counter counts all pixels,
910 * so one field will have htotal more pixels. In order to avoid
911 * the reported position from jumping backwards when the pixel
912 * counter is beyond the length of the shorter field, just
913 * clamp the position the length of the shorter field. This
914 * matches how the scanline counter based position works since
915 * the scanline counter doesn't count the two half lines.
916 */
917 if (position >= vtotal)
918 position = vtotal - 1;
919
920 /*
921 * Start of vblank interrupt is triggered at start of hsync,
922 * just prior to the first active line of vblank. However we
923 * consider lines to start at the leading edge of horizontal
924 * active. So, should we get here before we've crossed into
925 * the horizontal active of the first line in vblank, we would
926 * not set the DRM_SCANOUTPOS_INVBL flag. In order to fix that,
927 * always add htotal-hsync_start to the current pixel position.
928 */
929 position = (position + htotal - hsync_start) % vtotal;
930 }
931
932 /* Get optional system timestamp after query. */
933 if (etime)
934 *etime = ktime_get();
935
936 /* preempt_enable_rt() should go right here in PREEMPT_RT patchset. */
937
938 spin_unlock_irqrestore(&dev_priv->uncore.lock, irqflags);
939
940 /*
941 * While in vblank, position will be negative
942 * counting up towards 0 at vbl_end. And outside
943 * vblank, position will be positive counting
944 * up since vbl_end.
945 */
946 if (position >= vbl_start)
947 position -= vbl_end;
948 else
949 position += vtotal - vbl_end;
950
951 if (use_scanline_counter) {
952 *vpos = position;
953 *hpos = 0;
954 } else {
955 *vpos = position / htotal;
956 *hpos = position - (*vpos * htotal);
957 }
958
959 return true;
960 }
961
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
ld.lld: error: tcp.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 34863372 is not in
by kernel test robot
CC: linux-kernel(a)vger.kernel.org
TO: Pavel Begunkov <asml.silence(a)gmail.com>
CC: Jens Axboe <axboe(a)kernel.dk>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e87b070839418ce8fec5aa9d5324d90f47e69f77
commit: e8c954df234145c5765870382c2bc630a48beec9 io_uring: fix mis-seting personality's creds
date: 9 days ago
config: arm-randconfig-r035-20201215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# 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 e8c954df234145c5765870382c2bc630a48beec9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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 >>):
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
ld.lld: error: ip_sockglue.c:(.text.fixup+0x8): relocation R_ARM_JUMP24 out of range: 34776236 is not in [-33554432, 33554431]
>> ld.lld: error: tcp.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 34863372 is not in [-33554432, 33554431]
ld.lld: error: ip_sockglue.c:(.text.fixup+0x14): relocation R_ARM_JUMP24 out of range: 34776496 is not in [-33554432, 33554431]
ld.lld: error: ipv6_sockglue.c:(.text.fixup+0x8): relocation R_ARM_JUMP24 out of range: 37321080 is not in [-33554432, 33554431]
ld.lld: error: tcp.c:(.text.fixup+0x10): relocation R_ARM_JUMP24 out of range: 34926988 is not in [-33554432, 33554431]
>> ld.lld: error: ipmr.c:(.text.fixup+0x8): relocation R_ARM_JUMP24 out of range: 36053360 is not in [-33554432, 33554431]
>> ld.lld: error: ip_sockglue.c:(.text.fixup+0x1C): relocation R_ARM_JUMP24 out of range: 34777084 is not in [-33554432, 33554431]
ld.lld: error: igmp.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 35705436 is not in [-33554432, 33554431]
ld.lld: error: ipv6_sockglue.c:(.text.fixup+0x10): relocation R_ARM_JUMP24 out of range: 37326400 is not in [-33554432, 33554431]
>> ld.lld: error: tcp.c:(.text.fixup+0x1C): relocation R_ARM_JUMP24 out of range: 34928584 is not in [-33554432, 33554431]
ld.lld: error: ipmr.c:(.text.fixup+0x10): relocation R_ARM_JUMP24 out of range: 36053456 is not in [-33554432, 33554431]
ld.lld: error: ip_sockglue.c:(.text.fixup+0x24): relocation R_ARM_JUMP24 out of range: 34777732 is not in [-33554432, 33554431]
>> ld.lld: error: udp.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 35442664 is not in [-33554432, 33554431]
ld.lld: error: ipv6_sockglue.c:(.text.fixup+0x18): relocation R_ARM_JUMP24 out of range: 37327736 is not in [-33554432, 33554431]
>> ld.lld: error: raw.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 35386832 is not in [-33554432, 33554431]
ld.lld: error: ipv6_sockglue.c:(.text.fixup+0x24): relocation R_ARM_JUMP24 out of range: 37327832 is not in [-33554432, 33554431]
>> ld.lld: error: udp.c:(.text.fixup+0xC): relocation R_ARM_JUMP24 out of range: 35442752 is not in [-33554432, 33554431]
>> ld.lld: error: raw.c:(.text.fixup+0xC): relocation R_ARM_JUMP24 out of range: 35387064 is not in [-33554432, 33554431]
ld.lld: error: udp.c:(.text.fixup+0x18): relocation R_ARM_JUMP24 out of range: 35473164 is not in [-33554432, 33554431]
ld.lld: error: ipv6_sockglue.c:(.text.fixup+0x2C): relocation R_ARM_JUMP24 out of range: 37328028 is not in [-33554432, 33554431]
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
[android-common:android11-5.4 8964/10049] ld.lld: error: undefined symbol: i2c_del_adapter
by kernel test robot
Hi Greg,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android11-5.4
head: ed5c049cade042d2c4f45a98399317fd513e53a7
commit: a35cf7283648f203669736b32dac0f5706e02944 [8964/10049] ANDROID: GKI: Fix up "do not export symbol_get/put()" commit
config: x86_64-randconfig-a014-20201215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android11-5.4
git checkout a35cf7283648f203669736b32dac0f5706e02944
# 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 >>):
>> ld.lld: error: undefined symbol: i2c_del_adapter
>>> referenced by flexcop-i2c.c:266 (drivers/media/common/b2c2/flexcop-i2c.c:266)
>>> media/common/b2c2/flexcop-i2c.o:(flexcop_i2c_init) in archive drivers/built-in.a
>>> referenced by flexcop-i2c.c:268 (drivers/media/common/b2c2/flexcop-i2c.c:268)
>>> media/common/b2c2/flexcop-i2c.o:(flexcop_i2c_init) in archive drivers/built-in.a
>>> referenced by flexcop-i2c.c:275 (drivers/media/common/b2c2/flexcop-i2c.c:275)
>>> media/common/b2c2/flexcop-i2c.o:(flexcop_i2c_exit) in archive drivers/built-in.a
>>> referenced 2 more times
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
[zen-kernel-zen-kernel:5.10/zen-sauce 3/19] drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names'
by kernel test robot
tree: https://github.com/zen-kernel/zen-kernel 5.10/zen-sauce
head: b7b24b494b62e02c21a9a349da2d036849f9dd8b
commit: 5b3d9f2372600c3b908b1bd0e8c9b8c6ed351fa2 [3/19] ZEN: Add OpenRGB patches
config: x86_64-randconfig-r013-20201215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/zen-kernel/zen-kernel/commit/5b3d9f2372600c3b908b1bd0e...
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.10/zen-sauce
git checkout 5b3d9f2372600c3b908b1bd0e8c9b8c6ed351fa2
# 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 warnings (new ones prefixed by >>):
>> drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names' [-Wunused-const-variable]
static const char * const nct6775_device_names[] = {
^
drivers/i2c/busses/i2c-nct6775.c:136:1: warning: unused function 'superio_outb' [-Wunused-function]
superio_outb(int ioreg, int reg, int val)
^
2 warnings generated.
vim +/nct6775_device_names +93 drivers/i2c/busses/i2c-nct6775.c
91
92 /* used to set data->name = nct6775_device_names[data->sio_kind] */
> 93 static const char * const nct6775_device_names[] = {
94 "nct6106",
95 "nct6775",
96 "nct6776",
97 "nct6779",
98 "nct6791",
99 "nct6792",
100 "nct6793",
101 "nct6795",
102 "nct6796",
103 "nct6798",
104 };
105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
[linux-stable-rc:linux-4.19.y 974/2417] drivers/ata/libata-scsi.c:2423:30: error: 'SECTOR_SHIFT' undeclared; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: e89f25b970aebaadc2950ca4d4c76ab8114f25da
commit: a8bb7740aa313994bfa4c21cba399f65985a8a35 [974/2417] libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks
config: powerpc64-randconfig-r001-20201215 (attached as .config)
compiler: powerpc-linux-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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.19.y
git checkout a8bb7740aa313994bfa4c21cba399f65985a8a35
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
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 >>):
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ATA
Depends on HAS_IOMEM && BLOCK
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for NETDEVICES
Depends on NET
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for ETHERNET
Depends on NETDEVICES && NET
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for GRO_CELLS
Depends on NET
Selected by
- RMNET && NETDEVICES && ETHERNET && NET_VENDOR_QUALCOMM
WARNING: unmet direct dependencies detected for FAILOVER
Depends on NET
Selected by
- NET_FAILOVER && NETDEVICES
include/linux/log2.h:162:23: note: in definition of macro 'ilog2'
162 | __builtin_constant_p(n) ? \
| ^
In file included from include/scsi/scsi_cmnd.h:7,
from drivers/ata/libata-scsi.c:43:
include/linux/t10-pi.h:48:9: error: implicit declaration of function 'blk_rq_pos' [-Werror=implicit-function-declaration]
48 | return blk_rq_pos(rq) >> (shift - SECTOR_SHIFT) & 0xffffffff;
| ^~~~~~~~~~
include/linux/t10-pi.h:48:36: error: 'SECTOR_SHIFT' undeclared (first use in this function); did you mean 'SOFTIRQ_SHIFT'?
48 | return blk_rq_pos(rq) >> (shift - SECTOR_SHIFT) & 0xffffffff;
| ^~~~~~~~~~~~
| SOFTIRQ_SHIFT
In file included from include/scsi/scsi_cmnd.h:12,
from drivers/ata/libata-scsi.c:43:
include/scsi/scsi_device.h: At top level:
include/scsi/scsi_device.h:435:4: error: unknown type name 'req_flags_t'; did you mean 'vm_flags_t'?
435 | req_flags_t rq_flags, int *resid);
| ^~~~~~~~~~~
| vm_flags_t
include/scsi/scsi_device.h: In function 'scsi_execute_req':
include/scsi/scsi_device.h:442:2: error: implicit declaration of function '__scsi_execute'; did you mean 'scsi_execute'? [-Werror=implicit-function-declaration]
442 | __scsi_execute(sdev, cmd, data_direction, buffer, bufflen, \
| ^~~~~~~~~~~~~~
include/scsi/scsi_device.h:451:9: note: in expansion of macro 'scsi_execute'
451 | return scsi_execute(sdev, cmd, data_direction, buffer,
| ^~~~~~~~~~~~
In file included from drivers/ata/libata-scsi.c:43:
include/scsi/scsi_cmnd.h: In function 'scsi_bidi_cmnd':
include/scsi/scsi_cmnd.h:214:9: error: implicit declaration of function 'blk_bidi_rq' [-Werror=implicit-function-declaration]
214 | return blk_bidi_rq(cmd->request) &&
| ^~~~~~~~~~~
In file included from include/linux/writeback.h:13,
from include/linux/memcontrol.h:31,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from drivers/ata/libata-scsi.c:51:
include/linux/blk_types.h: At top level:
include/linux/blk_types.h:29:22: error: conflicting types for 'blk_status_t'
29 | typedef u8 __bitwise blk_status_t;
| ^~~~~~~~~~~~
In file included from include/scsi/scsi_host.h:11,
from drivers/ata/libata-scsi.c:42:
include/linux/blk-mq.h:100:9: note: previous declaration of 'blk_status_t' was here
100 | typedef blk_status_t (queue_rq_fn)(struct blk_mq_hw_ctx *,
| ^~~~~~~~~~~~
drivers/ata/libata-scsi.c: In function 'ata_scsi_qc_new':
drivers/ata/libata-scsi.c:871:32: error: 'RQF_QUIET' undeclared (first use in this function); did you mean 'BIO_QUIET'?
871 | if (cmd->request->rq_flags & RQF_QUIET)
| ^~~~~~~~~
| BIO_QUIET
In file included from include/asm-generic/bug.h:5,
from arch/powerpc/include/asm/bug.h:128,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from drivers/ata/libata-scsi.c:36:
drivers/ata/libata-scsi.c: In function 'atapi_drain_needed':
drivers/ata/libata-scsi.c:1255:14: error: implicit declaration of function 'blk_rq_is_passthrough' [-Werror=implicit-function-declaration]
1255 | if (likely(!blk_rq_is_passthrough(rq)))
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:76:40: note: in definition of macro 'likely'
76 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
drivers/ata/libata-scsi.c:1258:7: error: implicit declaration of function 'blk_rq_bytes' [-Werror=implicit-function-declaration]
1258 | if (!blk_rq_bytes(rq) || op_is_write(req_op(rq)))
| ^~~~~~~~~~~~
drivers/ata/libata-scsi.c: In function 'ata_scsi_dev_config':
drivers/ata/libata-scsi.c:1273:2: error: implicit declaration of function 'blk_queue_max_hw_sectors' [-Werror=implicit-function-declaration]
1273 | blk_queue_max_hw_sectors(q, dev->max_sectors);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/ata/libata-scsi.c:1281:3: error: implicit declaration of function 'blk_queue_update_dma_pad' [-Werror=implicit-function-declaration]
1281 | blk_queue_update_dma_pad(q, ATA_DMA_PAD_SZ - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/ata/libata-scsi.c:1284:35: error: dereferencing pointer to incomplete type 'struct request_queue'
1284 | buf = kmalloc(ATAPI_MAX_DRAIN, q->bounce_gfp | GFP_KERNEL);
| ^~
drivers/ata/libata-scsi.c:1290:3: error: implicit declaration of function 'blk_queue_dma_drain' [-Werror=implicit-function-declaration]
1290 | blk_queue_dma_drain(q, atapi_drain_needed, buf, ATAPI_MAX_DRAIN);
| ^~~~~~~~~~~~~~~~~~~
drivers/ata/libata-scsi.c:1308:2: error: implicit declaration of function 'blk_queue_update_dma_alignment' [-Werror=implicit-function-declaration]
1308 | blk_queue_update_dma_alignment(q, sdev->sector_size - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/ata/libata-scsi.c:1321:2: error: implicit declaration of function 'blk_queue_flush_queueable' [-Werror=implicit-function-declaration]
1321 | blk_queue_flush_queueable(q, false);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/fs.h:39,
from include/linux/huge_mm.h:8,
from include/linux/mm.h:499,
from include/linux/scatterlist.h:8,
from include/scsi/scsi.h:10,
from drivers/ata/libata-scsi.c:41:
drivers/ata/libata-scsi.c: In function 'ata_scsi_rw_xlat':
drivers/ata/libata-scsi.c:1844:32: error: implicit declaration of function 'req_get_ioprio' [-Werror=implicit-function-declaration]
1844 | int class = IOPRIO_PRIO_CLASS(req_get_ioprio(rq));
| ^~~~~~~~~~~~~~
include/linux/ioprio.h:15:35: note: in definition of macro 'IOPRIO_PRIO_CLASS'
15 | #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT)
| ^~~~
drivers/ata/libata-scsi.c: In function 'ata_scsiop_inq_b0':
>> drivers/ata/libata-scsi.c:2423:30: error: 'SECTOR_SHIFT' undeclared (first use in this function); did you mean 'SOFTIRQ_SHIFT'?
2423 | max_blocks = 128 << (20 - SECTOR_SHIFT);
| ^~~~~~~~~~~~
| SOFTIRQ_SHIFT
cc1: some warnings being treated as errors
vim +2423 drivers/ata/libata-scsi.c
2391
2392 static unsigned int ata_scsiop_inq_b0(struct ata_scsi_args *args, u8 *rbuf)
2393 {
2394 struct ata_device *dev = args->dev;
2395 u16 min_io_sectors;
2396
2397 rbuf[1] = 0xb0;
2398 rbuf[3] = 0x3c; /* required VPD size with unmap support */
2399
2400 /*
2401 * Optimal transfer length granularity.
2402 *
2403 * This is always one physical block, but for disks with a smaller
2404 * logical than physical sector size we need to figure out what the
2405 * latter is.
2406 */
2407 min_io_sectors = 1 << ata_id_log2_per_physical_sector(args->id);
2408 put_unaligned_be16(min_io_sectors, &rbuf[6]);
2409
2410 /*
2411 * Optimal unmap granularity.
2412 *
2413 * The ATA spec doesn't even know about a granularity or alignment
2414 * for the TRIM command. We can leave away most of the unmap related
2415 * VPD page entries, but we have specifify a granularity to signal
2416 * that we support some form of unmap - in thise case via WRITE SAME
2417 * with the unmap bit set.
2418 */
2419 if (ata_id_has_trim(args->id)) {
2420 u64 max_blocks = 65535 * ATA_MAX_TRIM_RNUM;
2421
2422 if (dev->horkage & ATA_HORKAGE_MAX_TRIM_128M)
> 2423 max_blocks = 128 << (20 - SECTOR_SHIFT);
2424
2425 put_unaligned_be64(max_blocks, &rbuf[36]);
2426 put_unaligned_be32(1, &rbuf[28]);
2427 }
2428
2429 return 0;
2430 }
2431
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months
[linux-next:master 11906/13311] imx_keypad.c:undefined reference to `devm_platform_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9317f948b0b188b8d2fded75957e6d42c460df1b
commit: c8834032ffe249a2a1b9702359ff29a28b8fcf1e [11906/13311] Input: imx_keypad - add COMPILE_TEST support
config: s390-randconfig-r032-20201215 (attached as .config)
compiler: s390-linux-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/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout c8834032ffe249a2a1b9702359ff29a28b8fcf1e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD 9317f948b0b188b8d2fded75957e6d42c460df1b builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MFD_SYSCON
Depends on HAS_IOMEM
Selected by
- BT1_AXI && (MIPS_BAIKAL_T1 || COMPILE_TEST
- MTD_NAND_STM32_FMC2 && MTD && MTD_RAW_NAND && (MACH_STM32MP157 || COMPILE_TEST
- MTD_NAND_MESON && MTD && MTD_RAW_NAND && (ARCH_MESON || COMPILE_TEST
- ARMADA_37XX_WATCHDOG && WATCHDOG && (ARCH_MVEBU || COMPILE_TEST
- EXYNOS_CHIPID && SOC_SAMSUNG && (ARCH_EXYNOS || COMPILE_TEST
- BT1_L2_CTL && MEMORY && (MIPS_BAIKAL_T1 || COMPILE_TEST
- STM32_FMC2_EBI && MEMORY && (MACH_STM32MP157 || COMPILE_TEST
- PHY_HISI_INNO_USB2 && (ARCH_HISI && ARM64 || COMPILE_TEST
- PHY_DA8XX_USB && (ARCH_DAVINCI_DA8XX || COMPILE_TEST
s390-linux-ld: drivers/irqchip/irq-renesas-intc-irqpin.o: in function `intc_irqpin_probe':
irq-renesas-intc-irqpin.c:(.text+0x70c): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/irqchip/irq-imx-irqsteer.o: in function `imx_irqsteer_probe':
irq-imx-irqsteer.c:(.text+0xc0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/irqchip/irq-imx-intmux.o: in function `imx_intmux_probe':
irq-imx-intmux.c:(.text+0x29a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/bus/bt1-axi.o: in function `bt1_axi_probe':
bt1-axi.c:(.text+0x2fa): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/phy/broadcom/phy-bcm63xx-usbh.o: in function `bcm63xx_usbh_phy_probe':
phy-bcm63xx-usbh.c:(.init.text+0x6a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/hisilicon/phy-hisi-inno-usb2.o: in function `hisi_inno_phy_probe':
phy-hisi-inno-usb2.c:(.text+0x9c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/marvell/phy-mmp3-usb.o: in function `mmp3_usb_phy_probe':
phy-mmp3-usb.c:(.text+0xb6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/marvell/phy-pxa-usb.o: in function `pxa_usb_phy_probe':
phy-pxa-usb.c:(.text+0x374): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/renesas/phy-rcar-gen3-usb3.o: in function `rcar_gen3_phy_usb3_probe':
phy-rcar-gen3-usb3.c:(.text+0x1b0): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/tegra/phy-tegra194-p2u.o: in function `tegra_p2u_probe':
phy-tegra194-p2u.c:(.text+0x100): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/xilinx/phy-zynqmp.o: in function `xpsgtr_probe':
phy-zynqmp.c:(.text+0x326): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: phy-zynqmp.c:(.text+0x350): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `mtk_mmsys_probe':
mtk-mmsys.c:(.text+0x36e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-clk-measure.o: in function `meson_msr_probe':
meson-clk-measure.c:(.text+0x442): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/qcom/llcc-qcom.o: in function `qcom_llcc_init_mmio':
llcc-qcom.c:(.text+0x29a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/regulator/stm32-vrefbuf.o: in function `stm32_vrefbuf_probe':
stm32-vrefbuf.c:(.text+0x2a0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-ath79.o: in function `ath79_reset_probe':
reset-ath79.c:(.text+0xcc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-axs10x.o: in function `axs10x_reset_probe':
reset-axs10x.c:(.text+0xbe): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-lpc18xx.o: in function `lpc18xx_rgu_probe':
reset-lpc18xx.c:(.text+0x216): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x52): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-npcm.o: in function `npcm_rc_probe':
reset-npcm.c:(.text+0xf4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-pdc.o: in function `qcom_pdc_reset_probe':
reset-qcom-pdc.c:(.text+0x126): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0x19a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-stm32mp1.o: in function `stm32_reset_probe':
reset-stm32mp1.c:(.text+0xca): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x21e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/ks-sa-rng.o: in function `ks_sa_rng_probe':
ks-sa-rng.c:(.text+0x2d2): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0xb0): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/mtd/nand/raw/mxic_nand.o: in function `mxic_nfc_probe':
mxic_nand.c:(.text+0x586): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-moxart.o: in function `moxart_mdio_probe':
mdio-moxart.c:(.text+0x18a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-sun4i.o: in function `sun4i_mdio_probe':
mdio-sun4i.c:(.text+0x278): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/ethernet/freescale/fec_main.o: in function `fec_probe':
fec_main.c:(.text+0x433e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/ethernet/freescale/fsl_pq_mdio.o: in function `fsl_pq_mdio_remove':
fsl_pq_mdio.c:(.text+0x54): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/freescale/gianfar.o: in function `unmap_group_regs':
gianfar.c:(.text+0x2dc): undefined reference to `iounmap'
s390-linux-ld: gianfar.c:(.text+0x2f8): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/freescale/fman/fman_muram.o: in function `fman_muram_init':
fman_muram.c:(.text+0x7e): undefined reference to `ioremap'
s390-linux-ld: fman_muram.c:(.text+0xba): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/renesas/sh_eth.o: in function `sh_eth_drv_probe':
sh_eth.c:(.text+0x2c26): undefined reference to `devm_ioremap_resource'
s390-linux-ld: sh_eth.c:(.text+0x2f92): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/input/keyboard/ep93xx_keypad.o: in function `ep93xx_keypad_remove':
ep93xx_keypad.c:(.text+0xd4): undefined reference to `iounmap'
s390-linux-ld: drivers/input/keyboard/ep93xx_keypad.o: in function `ep93xx_keypad_probe':
ep93xx_keypad.c:(.text+0x226): undefined reference to `ioremap'
s390-linux-ld: ep93xx_keypad.c:(.text+0x35e): undefined reference to `iounmap'
s390-linux-ld: drivers/input/keyboard/goldfish_events.o: in function `events_probe':
goldfish_events.c:(.text+0x172): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/input/keyboard/imx_keypad.o: in function `imx_keypad_probe':
>> imx_keypad.c:(.text+0x776): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/input/keyboard/sh_keysc.o: in function `sh_keysc_remove':
sh_keysc.c:(.text+0xbc): undefined reference to `iounmap'
s390-linux-ld: drivers/input/keyboard/sh_keysc.o: in function `sh_keysc_probe':
sh_keysc.c:(.text+0x1f2): undefined reference to `ioremap'
s390-linux-ld: sh_keysc.c:(.text+0x360): undefined reference to `iounmap'
s390-linux-ld: drivers/input/keyboard/st-keyscan.o: in function `keyscan_probe':
st-keyscan.c:(.text+0x270): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/media/rc/meson-ir.o: in function `meson_ir_probe':
meson-ir.c:(.text+0x206): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/media/rc/img-ir/img-ir-core.o: in function `img_ir_probe':
img-ir-core.c:(.text+0x208): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/media/rc/mtk-cir.o: in function `mtk_ir_probe':
mtk-cir.c:(.text+0x2be): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/media/rc/zx-irdec.o: in function `zx_irdec_probe':
zx-irdec.c:(.text+0xd6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/media/rc/tango-ir.o: in function `tango_ir_probe':
tango-ir.c:(.text+0x2b8): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: tango-ir.c:(.text+0x306): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/media/cec/platform/s5p/s5p_cec.o: in function `s5p_cec_probe':
s5p_cec.c:(.text+0x3b0): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/media/cec/platform/sti/stih-cec.o: in function `stih_cec_probe':
stih-cec.c:(.text+0x25c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/thermal/k3_bandgap.o: in function `k3_bandgap_probe':
k3_bandgap.c:(.text+0x66): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_remove':
ns-thermal.c:(.text+0x24): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/broadcom/sr-thermal.o: in function `sr_thermal_probe':
sr-thermal.c:(.text+0x74): undefined reference to `devm_memremap'
s390-linux-ld: drivers/thermal/tango_thermal.o: in function `tango_thermal_probe':
tango_thermal.c:(.text+0x56): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/thermal/zx2967_thermal.o: in function `zx2967_thermal_probe':
zx2967_thermal.c:(.text+0xa6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/watchdog/armada_37xx_wdt.o: in function `armada_37xx_wdt_probe':
armada_37xx_wdt.c:(.text+0x26a): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/watchdog/at91sam9_wdt.o: in function `at91wdt_probe':
at91sam9_wdt.c:(.init.text+0xa4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/omap_wdt.o: in function `omap_wdt_probe':
omap_wdt.c:(.text+0x408): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/s3c2410_wdt.o: in function `s3c2410wdt_probe':
s3c2410_wdt.c:(.text+0x51c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/sama5d4_wdt.o: in function `sama5d4_wdt_probe':
sama5d4_wdt.c:(.text+0x3da): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/ep93xx_wdt.o: in function `ep93xx_wdt_probe':
ep93xx_wdt.c:(.text+0xa4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/pnx4008_wdt.o:pnx4008_wdt.c:(.text+0x20e): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/watchdog/sc520_wdt.o: in function `sc520_wdt_unload':
sc520_wdt.c:(.exit.text+0x50): undefined reference to `iounmap'
s390-linux-ld: drivers/watchdog/sc520_wdt.o: in function `sc520_wdt_init':
sc520_wdt.c:(.init.text+0x42): undefined reference to `ioremap'
s390-linux-ld: sc520_wdt.c:(.init.text+0x8e): undefined reference to `iounmap'
s390-linux-ld: drivers/watchdog/mv64x60_wdt.o: in function `mv64x60_wdt_probe':
mv64x60_wdt.c:(.text+0x2f2): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/crypto/atmel-aes.o: in function `atmel_aes_probe':
atmel-aes.c:(.text+0xcfa): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-sha.o: in function `atmel_sha_probe':
atmel-sha.c:(.text+0x2006): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-tdes.o: in function `atmel_tdes_probe':
atmel-tdes.c:(.text+0xd50): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/img-hash.o: in function `img_hash_probe':
img-hash.c:(.text+0xe54): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: img-hash.c:(.text+0xe92): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/mediatek/mtk-platform.o: in function `mtk_crypto_probe':
mtk-platform.c:(.text+0x73c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/crypto/qcom-rng.o: in function `qcom_rng_probe':
qcom-rng.c:(.text+0x21c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x128): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x1b0): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-davinci.o: in function `davinci_timer_register':
timer-davinci.c:(.init.text+0x7c): undefined reference to `ioremap'
s390-linux-ld: drivers/devfreq/event/exynos-ppmu.o: in function `exynos_ppmu_probe':
exynos-ppmu.c:(.text+0x10e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/devfreq/event/rockchip-dfi.o: in function `rockchip_dfi_probe':
rockchip-dfi.c:(.text+0x232): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/iio/adc/at91_adc.o: in function `at91_adc_probe':
at91_adc.c:(.text+0x1026): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/iio/adc/stm32-dfsdm-core.o: in function `stm32_dfsdm_probe':
stm32-dfsdm-core.c:(.text+0x25e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/nvmem/imx-iim.o: in function `imx_iim_probe':
imx-iim.c:(.text+0x3c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/nvmem/stm32-romem.o: in function `stm32_romem_probe':
stm32-romem.c:(.text+0x1da): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/fpga/socfpga.o: in function `socfpga_fpga_probe':
socfpga.c:(.text+0x2ee): undefined reference to `devm_ioremap_resource'
s390-linux-ld: socfpga.c:(.text+0x34e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/fpga/zynq-fpga.o: in function `zynq_fpga_probe':
zynq-fpga.c:(.text+0x928): undefined reference to `devm_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 9 months