[linux-next:master 6265/7089] drivers/soundwire/qcom.c:771: undefined reference to `slimbus_bus'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d5b2251d63b5344ee827d3680fa79bdb9f9ddfa1
commit: 09309093d5e8f8774e4a3a0d42b73cf47e9421cf [6265/7089] soundwire: qcom: fix SLIBMUS/SLIMBUS typo
config: i386-randconfig-c001-20200910 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 09309093d5e8f8774e4a3a0d42b73cf47e9421cf
# 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 >>):
ld: drivers/soundwire/qcom.o: in function `qcom_swrm_probe':
>> drivers/soundwire/qcom.c:771: undefined reference to `slimbus_bus'
# 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 09309093d5e8f8774e4a3a0d42b73cf47e9421cf
vim +771 drivers/soundwire/qcom.c
02efb49aa805ce Srinivas Kandagatla 2020-01-13 756
02efb49aa805ce Srinivas Kandagatla 2020-01-13 757 static int qcom_swrm_probe(struct platform_device *pdev)
02efb49aa805ce Srinivas Kandagatla 2020-01-13 758 {
02efb49aa805ce Srinivas Kandagatla 2020-01-13 759 struct device *dev = &pdev->dev;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 760 struct sdw_master_prop *prop;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 761 struct sdw_bus_params *params;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 762 struct qcom_swrm_ctrl *ctrl;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 763 int ret;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 764 u32 val;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 765
02efb49aa805ce Srinivas Kandagatla 2020-01-13 766 ctrl = devm_kzalloc(dev, sizeof(*ctrl), GFP_KERNEL);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 767 if (!ctrl)
02efb49aa805ce Srinivas Kandagatla 2020-01-13 768 return -ENOMEM;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 769
09309093d5e8f8 Jonathan Marek 2020-09-08 770 #if IS_ENABLED(CONFIG_SLIMBUS)
02efb49aa805ce Srinivas Kandagatla 2020-01-13 @771 if (dev->parent->bus == &slimbus_bus) {
5bd773242f75da Jonathan Marek 2020-09-05 772 #else
5bd773242f75da Jonathan Marek 2020-09-05 773 if (false) {
5bd773242f75da Jonathan Marek 2020-09-05 774 #endif
d1df23fe688b58 Jonathan Marek 2020-09-05 775 ctrl->reg_read = qcom_swrm_ahb_reg_read;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 776 ctrl->reg_write = qcom_swrm_ahb_reg_write;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 777 ctrl->regmap = dev_get_regmap(dev->parent, NULL);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 778 if (!ctrl->regmap)
02efb49aa805ce Srinivas Kandagatla 2020-01-13 779 return -EINVAL;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 780 } else {
82f5c70c26511b Jonathan Marek 2020-09-05 781 ctrl->reg_read = qcom_swrm_cpu_reg_read;
82f5c70c26511b Jonathan Marek 2020-09-05 782 ctrl->reg_write = qcom_swrm_cpu_reg_write;
82f5c70c26511b Jonathan Marek 2020-09-05 783 ctrl->mmio = devm_platform_ioremap_resource(pdev, 0);
82f5c70c26511b Jonathan Marek 2020-09-05 784 if (IS_ERR(ctrl->mmio))
82f5c70c26511b Jonathan Marek 2020-09-05 785 return PTR_ERR(ctrl->mmio);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 786 }
02efb49aa805ce Srinivas Kandagatla 2020-01-13 787
02efb49aa805ce Srinivas Kandagatla 2020-01-13 788 ctrl->irq = of_irq_get(dev->of_node, 0);
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 789 if (ctrl->irq < 0) {
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 790 ret = ctrl->irq;
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 791 goto err_init;
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 792 }
02efb49aa805ce Srinivas Kandagatla 2020-01-13 793
02efb49aa805ce Srinivas Kandagatla 2020-01-13 794 ctrl->hclk = devm_clk_get(dev, "iface");
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 795 if (IS_ERR(ctrl->hclk)) {
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 796 ret = PTR_ERR(ctrl->hclk);
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 797 goto err_init;
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 798 }
02efb49aa805ce Srinivas Kandagatla 2020-01-13 799
02efb49aa805ce Srinivas Kandagatla 2020-01-13 800 clk_prepare_enable(ctrl->hclk);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 801
02efb49aa805ce Srinivas Kandagatla 2020-01-13 802 ctrl->dev = dev;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 803 dev_set_drvdata(&pdev->dev, ctrl);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 804 spin_lock_init(&ctrl->comp_lock);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 805 mutex_init(&ctrl->port_lock);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 806 INIT_WORK(&ctrl->slave_work, qcom_swrm_slave_wq);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 807
02efb49aa805ce Srinivas Kandagatla 2020-01-13 808 ctrl->bus.ops = &qcom_swrm_ops;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 809 ctrl->bus.port_ops = &qcom_swrm_port_ops;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 810 ctrl->bus.compute_params = &qcom_swrm_compute_params;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 811
02efb49aa805ce Srinivas Kandagatla 2020-01-13 812 ret = qcom_swrm_get_port_config(ctrl);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 813 if (ret)
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 814 goto err_clk;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 815
02efb49aa805ce Srinivas Kandagatla 2020-01-13 816 params = &ctrl->bus.params;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 817 params->max_dr_freq = DEFAULT_CLK_FREQ;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 818 params->curr_dr_freq = DEFAULT_CLK_FREQ;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 819 params->col = SWRM_DEFAULT_COL;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 820 params->row = SWRM_DEFAULT_ROWS;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 821 ctrl->reg_read(ctrl, SWRM_MCP_STATUS, &val);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 822 params->curr_bank = val & SWRM_MCP_STATUS_BANK_NUM_MASK;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 823 params->next_bank = !params->curr_bank;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 824
02efb49aa805ce Srinivas Kandagatla 2020-01-13 825 prop = &ctrl->bus.prop;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 826 prop->max_clk_freq = DEFAULT_CLK_FREQ;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 827 prop->num_clk_gears = 0;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 828 prop->num_clk_freq = MAX_FREQ_NUM;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 829 prop->clk_freq = &qcom_swrm_freq_tbl[0];
02efb49aa805ce Srinivas Kandagatla 2020-01-13 830 prop->default_col = SWRM_DEFAULT_COL;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 831 prop->default_row = SWRM_DEFAULT_ROWS;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 832
02efb49aa805ce Srinivas Kandagatla 2020-01-13 833 ctrl->reg_read(ctrl, SWRM_COMP_HW_VERSION, &ctrl->version);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 834
02efb49aa805ce Srinivas Kandagatla 2020-01-13 835 ret = devm_request_threaded_irq(dev, ctrl->irq, NULL,
02efb49aa805ce Srinivas Kandagatla 2020-01-13 836 qcom_swrm_irq_handler,
4f1738f4c24b44 Samuel Zou 2020-05-06 837 IRQF_TRIGGER_RISING |
4f1738f4c24b44 Samuel Zou 2020-05-06 838 IRQF_ONESHOT,
02efb49aa805ce Srinivas Kandagatla 2020-01-13 839 "soundwire", ctrl);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 840 if (ret) {
02efb49aa805ce Srinivas Kandagatla 2020-01-13 841 dev_err(dev, "Failed to request soundwire irq\n");
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 842 goto err_clk;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 843 }
02efb49aa805ce Srinivas Kandagatla 2020-01-13 844
5cab3ff2489ede Pierre-Louis Bossart 2020-05-19 845 ret = sdw_bus_master_add(&ctrl->bus, dev, dev->fwnode);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 846 if (ret) {
02efb49aa805ce Srinivas Kandagatla 2020-01-13 847 dev_err(dev, "Failed to register Soundwire controller (%d)\n",
02efb49aa805ce Srinivas Kandagatla 2020-01-13 848 ret);
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 849 goto err_clk;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 850 }
02efb49aa805ce Srinivas Kandagatla 2020-01-13 851
02efb49aa805ce Srinivas Kandagatla 2020-01-13 852 qcom_swrm_init(ctrl);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 853 ret = qcom_swrm_register_dais(ctrl);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 854 if (ret)
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 855 goto err_master_add;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 856
02efb49aa805ce Srinivas Kandagatla 2020-01-13 857 dev_info(dev, "Qualcomm Soundwire controller v%x.%x.%x Registered\n",
02efb49aa805ce Srinivas Kandagatla 2020-01-13 858 (ctrl->version >> 24) & 0xff, (ctrl->version >> 16) & 0xff,
02efb49aa805ce Srinivas Kandagatla 2020-01-13 859 ctrl->version & 0xffff);
02efb49aa805ce Srinivas Kandagatla 2020-01-13 860
02efb49aa805ce Srinivas Kandagatla 2020-01-13 861 return 0;
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 862
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 863 err_master_add:
5cab3ff2489ede Pierre-Louis Bossart 2020-05-19 864 sdw_bus_master_delete(&ctrl->bus);
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 865 err_clk:
02efb49aa805ce Srinivas Kandagatla 2020-01-13 866 clk_disable_unprepare(ctrl->hclk);
91b5cfc0209b63 Pierre-Louis Bossart 2020-04-30 867 err_init:
02efb49aa805ce Srinivas Kandagatla 2020-01-13 868 return ret;
02efb49aa805ce Srinivas Kandagatla 2020-01-13 869 }
02efb49aa805ce Srinivas Kandagatla 2020-01-13 870
:::::: The code at line 771 was first introduced by commit
:::::: 02efb49aa805cee643a643ab61a1118c2fd08b80 soundwire: qcom: add support for SoundWire controller
:::::: TO: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
:::::: CC: Vinod Koul <vkoul(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
drivers/net/wireless/ath/ath11k/ahb.c:919:15: warning: cast to smaller integer type 'enum ath11k_hw_rev' from 'const void
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7fe10096c1508c7f033d34d0741809f8eecc1ed4
commit: d5c65159f2895379e11ca13f62feabe93278985d ath11k: driver for Qualcomm IEEE 802.11ax devices
date: 10 months ago
config: x86_64-randconfig-a015-20200910 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9)
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 checkout d5c65159f2895379e11ca13f62feabe93278985d
# 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/net/wireless/ath/ath11k/ahb.c:919:15: warning: cast to smaller integer type 'enum ath11k_hw_rev' from 'const void *' [-Wvoid-pointer-to-enum-cast]
ab->hw_rev = (enum ath11k_hw_rev)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--
>> drivers/net/wireless/ath/ath11k/wmi.c:142:8: warning: format specifies type 'unsigned char' but the argument has type 'u16' (aka 'unsigned short') [-Wformat]
tlv_tag, ptr - begin, len, tlv_len);
^~~~~~~
drivers/net/wireless/ath/ath11k/wmi.c:142:35: warning: format specifies type 'unsigned char' but the argument has type 'u16' (aka 'unsigned short') [-Wformat]
tlv_tag, ptr - begin, len, tlv_len);
^~~~~~~
drivers/net/wireless/ath/ath11k/wmi.c:150:8: warning: format specifies type 'unsigned char' but the argument has type 'u16' (aka 'unsigned short') [-Wformat]
tlv_tag, ptr - begin, tlv_len,
^~~~~~~
drivers/net/wireless/ath/ath11k/wmi.c:150:30: warning: format specifies type 'unsigned char' but the argument has type 'u16' (aka 'unsigned short') [-Wformat]
tlv_tag, ptr - begin, tlv_len,
^~~~~~~
drivers/net/wireless/ath/ath11k/wmi.c:1812:23: warning: implicit conversion from enumeration type 'enum wmi_scan_priority' to different enumeration type 'enum scan_priority' [-Wenum-conversion]
arg->scan_priority = WMI_SCAN_PRIORITY_LOW;
~ ^~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
--
>> drivers/net/wireless/ath/ath11k/mac.c:3970:6: warning: format specifies type 'unsigned short' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
ctx->def.chan->center_freq, ctx->def.width, ctx);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/debug.h:275:37: note: expanded from macro 'ath11k_dbg'
__ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
drivers/net/wireless/ath/ath11k/mac.c:3994:6: warning: format specifies type 'unsigned short' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
ctx->def.chan->center_freq, ctx->def.width, ctx);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/debug.h:275:37: note: expanded from macro 'ath11k_dbg'
__ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
drivers/net/wireless/ath/ath11k/mac.c:4241:7: warning: format specifies type 'unsigned short' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
vifs[i].old_ctx->def.chan->center_freq,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/debug.h:275:37: note: expanded from macro 'ath11k_dbg'
__ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
drivers/net/wireless/ath/ath11k/mac.c:4242:7: warning: format specifies type 'unsigned short' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
vifs[i].new_ctx->def.chan->center_freq,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/debug.h:275:37: note: expanded from macro 'ath11k_dbg'
__ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
drivers/net/wireless/ath/ath11k/mac.c:4337:6: warning: format specifies type 'unsigned short' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
ctx->def.chan->center_freq, ctx->def.width, ctx, changed);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/debug.h:275:37: note: expanded from macro 'ath11k_dbg'
__ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
>> drivers/net/wireless/ath/ath11k/mac.c:4640:22: warning: format specifies type 'unsigned char' but the argument has type 'u32' (aka 'unsigned int') [-Wformat]
arvif->vdev_id, rate, nss, sgi);
^~~~
drivers/net/wireless/ath/ath11k/debug.h:275:37: note: expanded from macro 'ath11k_dbg'
__ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
6 warnings generated.
--
>> drivers/net/wireless/ath/ath11k/dp_rx.c:977:8: warning: format specifies type 'unsigned char' but the argument has type 'u16' (aka 'unsigned short') [-Wformat]
tlv_tag, ptr - begin, len, tlv_len);
^~~~~~~
drivers/net/wireless/ath/ath11k/dp_rx.c:977:35: warning: format specifies type 'unsigned char' but the argument has type 'u16' (aka 'unsigned short') [-Wformat]
tlv_tag, ptr - begin, len, tlv_len);
^~~~~~~
2 warnings generated.
# 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 d5c65159f2895379e11ca13f62feabe93278985d
vim +919 drivers/net/wireless/ath/ath11k/ahb.c
879
880 static int ath11k_ahb_probe(struct platform_device *pdev)
881 {
882 struct ath11k_base *ab;
883 const struct of_device_id *of_id;
884 struct resource *mem_res;
885 void __iomem *mem;
886 int ret;
887
888 of_id = of_match_device(ath11k_ahb_of_match, &pdev->dev);
889 if (!of_id) {
890 dev_err(&pdev->dev, "failed to find matching device tree id\n");
891 return -EINVAL;
892 }
893
894 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
895 if (!mem_res) {
896 dev_err(&pdev->dev, "failed to get IO memory resource\n");
897 return -ENXIO;
898 }
899
900 mem = devm_ioremap_resource(&pdev->dev, mem_res);
901 if (IS_ERR(mem)) {
902 dev_err(&pdev->dev, "ioremap error\n");
903 return PTR_ERR(mem);
904 }
905
906 ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
907 if (ret) {
908 dev_err(&pdev->dev, "failed to set 32-bit consistent dma\n");
909 return ret;
910 }
911
912 ab = ath11k_core_alloc(&pdev->dev);
913 if (!ab) {
914 dev_err(&pdev->dev, "failed to allocate ath11k base\n");
915 return -ENOMEM;
916 }
917
918 ab->pdev = pdev;
> 919 ab->hw_rev = (enum ath11k_hw_rev)of_id->data;
920 ab->mem = mem;
921 ab->mem_len = resource_size(mem_res);
922 platform_set_drvdata(pdev, ab);
923
924 ret = ath11k_hal_srng_init(ab);
925 if (ret)
926 goto err_core_free;
927
928 ret = ath11k_ce_alloc_pipes(ab);
929 if (ret) {
930 ath11k_err(ab, "failed to allocate ce pipes: %d\n", ret);
931 goto err_hal_srng_deinit;
932 }
933
934 ath11k_ahb_init_qmi_ce_config(ab);
935
936 ret = ath11k_ahb_config_irq(ab);
937 if (ret) {
938 ath11k_err(ab, "failed to configure irq: %d\n", ret);
939 goto err_ce_free;
940 }
941
942 ret = ath11k_core_init(ab);
943 if (ret) {
944 ath11k_err(ab, "failed to init core: %d\n", ret);
945 goto err_ce_free;
946 }
947
948 return 0;
949
950 err_ce_free:
951 ath11k_ce_free_pipes(ab);
952
953 err_hal_srng_deinit:
954 ath11k_hal_srng_deinit(ab);
955
956 err_core_free:
957 ath11k_core_free(ab);
958 platform_set_drvdata(pdev, NULL);
959
960 return ret;
961 }
962
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[rcu:dev.2020.09.07a 23/23] ia64-linux-ld: core.c:undefined reference to `n_rtt_sched'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.09.07a
head: cccf684a1da846c3ff830d553bc4cf97bf779f48
commit: cccf684a1da846c3ff830d553bc4cf97bf779f48 [23/23] rcu-tasks: Mass of debug and fixes
config: ia64-defconfig (attached as .config)
compiler: ia64-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
git checkout cccf684a1da846c3ff830d553bc4cf97bf779f48
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
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 >>):
ia64-linux-ld: kernel/sched/core.o: in function `try_invoke_on_locked_down_task':
core.c:(.text+0x86b0): undefined reference to `n_rtt_sched'
>> ia64-linux-ld: core.c:(.text+0x86c1): undefined reference to `n_rtt_sched'
>> ia64-linux-ld: core.c:(.text+0x8810): undefined reference to `n_rtt_sched_waking'
ia64-linux-ld: core.c:(.text+0x8811): undefined reference to `n_rtt_sched_waking'
>> ia64-linux-ld: core.c:(.text+0x8850): undefined reference to `n_rtt_sched_fail'
ia64-linux-ld: core.c:(.text+0x8851): undefined reference to `n_rtt_sched_fail'
>> ia64-linux-ld: core.c:(.text+0x88a0): undefined reference to `n_rtt_sched_running'
ia64-linux-ld: core.c:(.text+0x88a1): undefined reference to `n_rtt_sched_running'
ia64-linux-ld: core.c:(.text+0x88e0): undefined reference to `n_rtt_sched_fail'
ia64-linux-ld: core.c:(.text+0x88e1): undefined reference to `n_rtt_sched_fail'
>> ia64-linux-ld: core.c:(.text+0x8990): undefined reference to `n_rtt_sched_offrq'
ia64-linux-ld: core.c:(.text+0x8991): undefined reference to `n_rtt_sched_offrq'
>> ia64-linux-ld: core.c:(.text+0x8a90): undefined reference to `n_rtt_sched_onrq'
ia64-linux-ld: core.c:(.text+0x8a91): undefined reference to `n_rtt_sched_onrq'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag
by kernel test robot
Hi Sergey,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.9-rc4 next-20200911]
[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/Sergey-Senozhatsky/media-v4l2-re...
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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/dvb-core/dvb_vb2.c: In function 'dvb_vb2_reqbufs':
>> drivers/media/dvb-core/dvb_vb2.c:345:8: error: too many arguments to function 'vb2_core_reqbufs'
345 | ret = vb2_core_reqbufs(&ctx->vb_q, VB2_MEMORY_MMAP, 0, &req->count);
| ^~~~~~~~~~~~~~~~
In file included from include/media/dvb_vb2.h:21,
from drivers/media/dvb-core/dvb_vb2.c:20:
include/media/videobuf2-core.h:770:5: note: declared here
770 | int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
| ^~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/ef3d23bb3087aac00acdc21e175566608...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sergey-Senozhatsky/media-v4l2-remove-V4L2-FLAG-MEMORY-NON-CONSISTENT-flag/20200911-110822
git checkout ef3d23bb3087aac00acdc21e175566608466f139
vim +/vb2_core_reqbufs +345 drivers/media/dvb-core/dvb_vb2.c
57868acc369ab73 Satendra Singh Thakur 2017-12-18 332
57868acc369ab73 Satendra Singh Thakur 2017-12-18 333 int dvb_vb2_reqbufs(struct dvb_vb2_ctx *ctx, struct dmx_requestbuffers *req)
57868acc369ab73 Satendra Singh Thakur 2017-12-18 334 {
57868acc369ab73 Satendra Singh Thakur 2017-12-18 335 int ret;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 336
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 337 /* Adjust size to a sane value */
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 338 if (req->size > DVB_V2_MAX_SIZE)
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 339 req->size = DVB_V2_MAX_SIZE;
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 340
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 341 /* FIXME: round req->size to a 188 or 204 multiple */
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 342
57868acc369ab73 Satendra Singh Thakur 2017-12-18 343 ctx->buf_siz = req->size;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 344 ctx->buf_cnt = req->count;
7b4b45555c79db0 Sergey Senozhatsky 2020-05-14 @345 ret = vb2_core_reqbufs(&ctx->vb_q, VB2_MEMORY_MMAP, 0, &req->count);
57868acc369ab73 Satendra Singh Thakur 2017-12-18 346 if (ret) {
57868acc369ab73 Satendra Singh Thakur 2017-12-18 347 ctx->state = DVB_VB2_STATE_NONE;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 348 dprintk(1, "[%s] count=%d size=%d errno=%d\n", ctx->name,
57868acc369ab73 Satendra Singh Thakur 2017-12-18 349 ctx->buf_cnt, ctx->buf_siz, ret);
57868acc369ab73 Satendra Singh Thakur 2017-12-18 350 return ret;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 351 }
57868acc369ab73 Satendra Singh Thakur 2017-12-18 352 ctx->state |= DVB_VB2_STATE_REQBUFS;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 353 dprintk(3, "[%s] count=%d size=%d\n", ctx->name,
57868acc369ab73 Satendra Singh Thakur 2017-12-18 354 ctx->buf_cnt, ctx->buf_siz);
57868acc369ab73 Satendra Singh Thakur 2017-12-18 355
57868acc369ab73 Satendra Singh Thakur 2017-12-18 356 return 0;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 357 }
57868acc369ab73 Satendra Singh Thakur 2017-12-18 358
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[rdma-rdma:wip/jgg-for-next 78/96] i40iw_verbs.c:(.text.i40iw_reg_user_mr+0x32c): undefined reference to `__udivdi3'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
head: 043d8d0b64aec7771eacf99412e96bdebe833614
commit: d2d854758fa15d0a96500772499bf1804c0cef9e [78/96] RDMA/i40iw: Use ib_umem_num_dma_pages()
config: mips-allyesconfig (attached as .config)
compiler: mips-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
git checkout d2d854758fa15d0a96500772499bf1804c0cef9e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
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 >>):
arch/mips/kernel/head.o: in function `dtb_found':
(.ref.text+0xe0): relocation truncated to fit: R_MIPS_26 against `start_kernel'
init/main.o: in function `set_reset_devices':
main.c:(.init.text+0x20): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x30): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `debug_kernel':
main.c:(.init.text+0x9c): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0xac): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `quiet_kernel':
main.c:(.init.text+0x118): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x128): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `init_setup':
main.c:(.init.text+0x1a4): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x1c8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
main.c:(.init.text+0x1e8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
main.c:(.init.text+0x1fc): additional relocation overflows omitted from the output
mips-linux-ld: drivers/infiniband/hw/i40iw/i40iw_verbs.o: in function `i40iw_reg_user_mr':
>> i40iw_verbs.c:(.text.i40iw_reg_user_mr+0x32c): undefined reference to `__udivdi3'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[linux-next:master 4238/6654] include/linux/dmaengine.h:1576: undefined reference to `dma_request_chan'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7ce53e3a447bced7b85ed181c4d027e93c062e07
commit: 7547dbd3b198f309aaff54e3528898a8a196faff [4238/6654] dmaengine: Mark dma_request_slave_channel() deprecated
config: arm64-randconfig-r025-20200909 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git checkout 7547dbd3b198f309aaff54e3528898a8a196faff
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
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 >>):
aarch64-linux-gnu-ld: warning: -z norelro ignored
aarch64-linux-gnu-ld: fs/orangefs/orangefs-debugfs.o: in function `orangefs_debug_read':
fs/orangefs/orangefs-debugfs.c:375: undefined reference to `stpcpy'
aarch64-linux-gnu-ld: security/apparmor/lsm.o: in function `param_get_mode':
security/apparmor/lsm.c:1559: undefined reference to `stpcpy'
aarch64-linux-gnu-ld: security/apparmor/lsm.o: in function `param_get_audit':
security/apparmor/lsm.c:1530: undefined reference to `stpcpy'
aarch64-linux-gnu-ld: drivers/tty/tty_io.o: in function `tty_line_name':
drivers/tty/tty_io.c:1139: undefined reference to `stpcpy'
aarch64-linux-gnu-ld: drivers/tty/tty_io.c:1139: undefined reference to `stpcpy'
aarch64-linux-gnu-ld: drivers/tty/tty_io.o:drivers/tty/tty_io.c:1139: more undefined references to `stpcpy' follow
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.o: in function `lpuart_remove':
drivers/tty/serial/fsl_lpuart.c:2663: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.c:2666: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.o: in function `lpuart_request_dma':
drivers/tty/serial/fsl_lpuart.c:1513: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.c:1521: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.o: in function `lpuart_dma_shutdown':
drivers/tty/serial/fsl_lpuart.c:1690: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.c:1692: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.o: in function `lpuart_request_dma':
drivers/tty/serial/fsl_lpuart.c:1513: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/tty/serial/fsl_lpuart.c:1521: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.o: in function `dma_request_slave_channel':
>> include/linux/dmaengine.h:1576: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.o: in function `dma_request_slave_channel_compat':
>> include/linux/dmaengine.h:1595: undefined reference to `__dma_request_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.o: in function `dma_request_slave_channel':
>> include/linux/dmaengine.h:1576: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.o: in function `dma_request_slave_channel_compat':
>> include/linux/dmaengine.h:1595: undefined reference to `__dma_request_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.o: in function `pxa2xx_spi_dma_setup':
drivers/spi/spi-pxa2xx-dma.c:209: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.o: in function `pxa2xx_spi_dma_release':
drivers/spi/spi-pxa2xx-dma.c:223: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-pxa2xx-dma.c:228: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-rockchip.o: in function `rockchip_spi_probe':
drivers/spi/spi-rockchip.c:748: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-rockchip.c:759: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-rockchip.c:788: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-rockchip.c:785: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-rockchip.o: in function `rockchip_spi_remove':
drivers/spi/spi-rockchip.c:816: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-rockchip.c:818: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.o: in function `sprd_spi_dma_release':
drivers/spi/spi-sprd.c:580: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.o:drivers/spi/spi-sprd.c:583: more undefined references to `dma_release_channel' follow
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.o: in function `sprd_spi_dma_request':
drivers/spi/spi-sprd.c:555: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.c:564: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.c:570: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.o: in function `sprd_spi_dma_release':
drivers/spi/spi-sprd.c:580: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-sprd.c:583: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-uniphier.o: in function `uniphier_spi_probe':
drivers/spi/spi-uniphier.c:716: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-uniphier.c:725: undefined reference to `dma_get_slave_caps'
aarch64-linux-gnu-ld: drivers/spi/spi-uniphier.c:734: undefined reference to `dma_request_chan'
aarch64-linux-gnu-ld: drivers/spi/spi-uniphier.c:743: undefined reference to `dma_get_slave_caps'
aarch64-linux-gnu-ld: drivers/spi/spi-uniphier.o: in function `uniphier_spi_remove':
drivers/spi/spi-uniphier.c:773: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/spi/spi-uniphier.c:775: undefined reference to `dma_release_channel'
aarch64-linux-gnu-ld: drivers/usb/class/usblp.o: in function `ieee1284_id_show':
drivers/usb/class/usblp.c:1084: undefined reference to `stpcpy'
# 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 7547dbd3b198f309aaff54e3528898a8a196faff
vim +1576 include/linux/dmaengine.h
1560
1561 int dma_async_device_register(struct dma_device *device);
1562 int dmaenginem_async_device_register(struct dma_device *device);
1563 void dma_async_device_unregister(struct dma_device *device);
1564 int dma_async_device_channel_register(struct dma_device *device,
1565 struct dma_chan *chan);
1566 void dma_async_device_channel_unregister(struct dma_device *device,
1567 struct dma_chan *chan);
1568 void dma_run_dependencies(struct dma_async_tx_descriptor *tx);
1569 #define dma_request_channel(mask, x, y) \
1570 __dma_request_channel(&(mask), x, y, NULL)
1571
1572 /* Deprecated, please use dma_request_chan() directly */
1573 static inline struct dma_chan * __deprecated
1574 dma_request_slave_channel(struct device *dev, const char *name)
1575 {
> 1576 struct dma_chan *ch = dma_request_chan(dev, name);
1577
1578 return IS_ERR(ch) ? NULL : ch;
1579 }
1580
1581 static inline struct dma_chan
1582 *dma_request_slave_channel_compat(const dma_cap_mask_t mask,
1583 dma_filter_fn fn, void *fn_param,
1584 struct device *dev, const char *name)
1585 {
1586 struct dma_chan *chan;
1587
1588 chan = dma_request_slave_channel(dev, name);
1589 if (chan)
1590 return chan;
1591
1592 if (!fn || !fn_param)
1593 return NULL;
1594
> 1595 return __dma_request_channel(&mask, fn, fn_param, NULL);
1596 }
1597
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[lunn:v5.9-rc1-net-next-mv88e6xxx-region-v3 1/10] ERROR: modpost: "usb_autopm_put_interface" undefined!
by kernel test robot
tree: https://github.com/lunn/linux.git v5.9-rc1-net-next-mv88e6xxx-region-v3
head: ae3e95ca3325cddbef05207dbd40dcb73c4bca59
commit: a98ae9865c7501f3a159b4db40ba75ba5cfad8ca [1/10] drivers: platform: x86: ZII RaveAP
config: x86_64-randconfig-a015-20200911 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout a98ae9865c7501f3a159b4db40ba75ba5cfad8ca
# 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 >>, old ones prefixed by <<):
>> ERROR: modpost: "usb_autopm_put_interface" [drivers/usb/serial/ftdi_sio.ko] undefined!
>> ERROR: modpost: "usb_autopm_get_interface" [drivers/usb/serial/ftdi_sio.ko] undefined!
>> ERROR: modpost: "usb_control_msg" [drivers/usb/serial/ftdi_sio.ko] undefined!
>> ERROR: modpost: "__init_ldsem" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_kill_urb" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_autopm_get_interface" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_deregister" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_unpoison_urb" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_poison_urb" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_store_new_id" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_match_id" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_submit_urb" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_get_dev" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_put_dev" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_get_intf" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_show_dynids" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_disabled" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_match_one_id" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_register_driver" [drivers/usb/serial/usbserial.ko] undefined!
>> ERROR: modpost: "usb_free_urb" [drivers/usb/serial/usbserial.ko] undefined!
ERROR: modpost: "usb_autopm_put_interface" [drivers/usb/serial/usbserial.ko] undefined!
ERROR: modpost: "usb_alloc_urb" [drivers/usb/serial/usbserial.ko] undefined!
ERROR: modpost: "usb_put_intf" [drivers/usb/serial/usbserial.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[jkirsher-next-queue:dev-queue 4/72] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2264:15: error: redefinition of 'truesize'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
head: 68e2960f0dff2cf6dbc4db26539990b286631bde
commit: d181ca300c59d80ca58397a9e23f21f71ce121ff [4/72] ixgbe: fix XDP redirect on archs with PAGE_SIZE above 4K
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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
git checkout d181ca300c59d80ca58397a9e23f21f71ce121ff
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
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/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_rx_buffer_flip':
>> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2264:15: error: redefinition of 'truesize'
2264 | unsigned int truesize = ring_uses_build_skb(rx_ring) ?
| ^~~~~~~~
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2260:15: note: previous definition of 'truesize' was here
2260 | unsigned int truesize = ixgbe_rx_frame_truesize(rx_ring, size);
| ^~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git/c...
git remote add jkirsher-next-queue https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
git fetch --no-tags jkirsher-next-queue dev-queue
git checkout d181ca300c59d80ca58397a9e23f21f71ce121ff
vim +/truesize +2264 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
2255
2256 static void ixgbe_rx_buffer_flip(struct ixgbe_ring *rx_ring,
2257 struct ixgbe_rx_buffer *rx_buffer,
2258 unsigned int size)
2259 {
2260 unsigned int truesize = ixgbe_rx_frame_truesize(rx_ring, size);
2261 #if (PAGE_SIZE < 8192)
2262 rx_buffer->page_offset ^= truesize;
2263 #else
> 2264 unsigned int truesize = ring_uses_build_skb(rx_ring) ?
2265 SKB_DATA_ALIGN(IXGBE_SKB_PAD + size) +
2266 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) :
2267 SKB_DATA_ALIGN(size);
2268
2269 rx_buffer->page_offset += truesize;
2270 #endif
2271 }
2272
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years