Re: [Intel-gfx] [V3 7/7] drm/i915/dsi: Send proper brightness value via MIPI DCS command
by kernel test robot
Hi Lee,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip v5.14-rc2 next-20210723]
[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/Lee-Shawn-C/MIPI-DSI-driver-enha...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-s031-20210723 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://github.com/0day-ci/linux/commit/3c3b297d0e553591be7fb6d5b66bb41cf...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Lee-Shawn-C/MIPI-DSI-driver-enhancements/20210723-150019
git checkout 3c3b297d0e553591be7fb6d5b66bb41cf23bff42
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:69:20: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] data @@ got restricted __be16 [usertype] @@
drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:69:20: sparse: expected unsigned short [usertype] data
drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:69:20: sparse: got restricted __be16 [usertype]
vim +69 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c
64
65 static void dcs_set_backlight(const struct drm_connector_state *conn_state, u32 level)
66 {
67 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder));
68 struct mipi_dsi_device *dsi_device;
> 69 u16 data = cpu_to_be16(level);
70 enum port port;
71
72 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) {
73 dsi_device = intel_dsi->dsi_hosts[port]->device;
74 mipi_dsi_dcs_write(dsi_device, MIPI_DCS_SET_DISPLAY_BRIGHTNESS,
75 &data, sizeof(data));
76 }
77 }
78
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:1783 cgx_print_stats() warn: inconsistent indenting
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8baef6386baaefb776bdd09b5c7630cf057c51c6
commit: ce7a6c3106de5724c45d555ed84acdd3930e8e71 octeontx2-af: cn10k: Add RPM Rx/Tx stats support
date: 5 months ago
config: mips-randconfig-m031-20210723 (attached as .config)
compiler: mips64-linux-gcc (GCC) 10.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
New smatch warnings:
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:1783 cgx_print_stats() warn: inconsistent indenting
Old smatch warnings:
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:480 rvu_dbg_qsize_write() warn: potentially one past the end of array 'cmd_buf[count]'
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:480 rvu_dbg_qsize_write() warn: potentially one past the end of array 'cmd_buf[count]'
vim +1783 drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1668
1669 #define PRINT_CGX_CUML_NIXRX_STATUS(idx, name) \
1670 ({ \
1671 u64 cnt; \
1672 err = rvu_cgx_nix_cuml_stats(rvu, cgxd, lmac_id, (idx), \
1673 NIX_STATS_RX, &(cnt)); \
1674 if (!err) \
1675 seq_printf(s, "%s: %llu\n", name, cnt); \
1676 cnt; \
1677 })
1678
1679 #define PRINT_CGX_CUML_NIXTX_STATUS(idx, name) \
1680 ({ \
1681 u64 cnt; \
1682 err = rvu_cgx_nix_cuml_stats(rvu, cgxd, lmac_id, (idx), \
1683 NIX_STATS_TX, &(cnt)); \
1684 if (!err) \
1685 seq_printf(s, "%s: %llu\n", name, cnt); \
1686 cnt; \
1687 })
1688
1689 static int cgx_print_stats(struct seq_file *s, int lmac_id)
1690 {
1691 struct cgx_link_user_info linfo;
1692 struct mac_ops *mac_ops;
1693 void *cgxd = s->private;
1694 u64 ucast, mcast, bcast;
1695 int stat = 0, err = 0;
1696 u64 tx_stat, rx_stat;
1697 struct rvu *rvu;
1698
1699 rvu = pci_get_drvdata(pci_get_device(PCI_VENDOR_ID_CAVIUM,
1700 PCI_DEVID_OCTEONTX2_RVU_AF, NULL));
1701 if (!rvu)
1702 return -ENODEV;
1703
1704 mac_ops = get_mac_ops(cgxd);
1705
1706 if (!mac_ops)
1707 return 0;
1708
1709 /* Link status */
1710 seq_puts(s, "\n=======Link Status======\n\n");
1711 err = cgx_get_link_info(cgxd, lmac_id, &linfo);
1712 if (err)
1713 seq_puts(s, "Failed to read link status\n");
1714 seq_printf(s, "\nLink is %s %d Mbps\n\n",
1715 linfo.link_up ? "UP" : "DOWN", linfo.speed);
1716
1717 /* Rx stats */
1718 seq_printf(s, "\n=======NIX RX_STATS(%s port level)======\n\n",
1719 mac_ops->name);
1720 ucast = PRINT_CGX_CUML_NIXRX_STATUS(RX_UCAST, "rx_ucast_frames");
1721 if (err)
1722 return err;
1723 mcast = PRINT_CGX_CUML_NIXRX_STATUS(RX_MCAST, "rx_mcast_frames");
1724 if (err)
1725 return err;
1726 bcast = PRINT_CGX_CUML_NIXRX_STATUS(RX_BCAST, "rx_bcast_frames");
1727 if (err)
1728 return err;
1729 seq_printf(s, "rx_frames: %llu\n", ucast + mcast + bcast);
1730 PRINT_CGX_CUML_NIXRX_STATUS(RX_OCTS, "rx_bytes");
1731 if (err)
1732 return err;
1733 PRINT_CGX_CUML_NIXRX_STATUS(RX_DROP, "rx_drops");
1734 if (err)
1735 return err;
1736 PRINT_CGX_CUML_NIXRX_STATUS(RX_ERR, "rx_errors");
1737 if (err)
1738 return err;
1739
1740 /* Tx stats */
1741 seq_printf(s, "\n=======NIX TX_STATS(%s port level)======\n\n",
1742 mac_ops->name);
1743 ucast = PRINT_CGX_CUML_NIXTX_STATUS(TX_UCAST, "tx_ucast_frames");
1744 if (err)
1745 return err;
1746 mcast = PRINT_CGX_CUML_NIXTX_STATUS(TX_MCAST, "tx_mcast_frames");
1747 if (err)
1748 return err;
1749 bcast = PRINT_CGX_CUML_NIXTX_STATUS(TX_BCAST, "tx_bcast_frames");
1750 if (err)
1751 return err;
1752 seq_printf(s, "tx_frames: %llu\n", ucast + mcast + bcast);
1753 PRINT_CGX_CUML_NIXTX_STATUS(TX_OCTS, "tx_bytes");
1754 if (err)
1755 return err;
1756 PRINT_CGX_CUML_NIXTX_STATUS(TX_DROP, "tx_drops");
1757 if (err)
1758 return err;
1759
1760 /* Rx stats */
1761 seq_printf(s, "\n=======%s RX_STATS======\n\n", mac_ops->name);
1762 while (stat < mac_ops->rx_stats_cnt) {
1763 err = mac_ops->mac_get_rx_stats(cgxd, lmac_id, stat, &rx_stat);
1764 if (err)
1765 return err;
1766 if (is_rvu_otx2(rvu))
1767 seq_printf(s, "%s: %llu\n", cgx_rx_stats_fields[stat],
1768 rx_stat);
1769 else
1770 seq_printf(s, "%s: %llu\n", rpm_rx_stats_fields[stat],
1771 rx_stat);
1772 stat++;
1773 }
1774
1775 /* Tx stats */
1776 stat = 0;
1777 seq_printf(s, "\n=======%s TX_STATS======\n\n", mac_ops->name);
1778 while (stat < mac_ops->tx_stats_cnt) {
1779 err = mac_ops->mac_get_tx_stats(cgxd, lmac_id, stat, &tx_stat);
1780 if (err)
1781 return err;
1782
> 1783 if (is_rvu_otx2(rvu))
1784 seq_printf(s, "%s: %llu\n", cgx_tx_stats_fields[stat],
1785 tx_stat);
1786 else
1787 seq_printf(s, "%s: %llu\n", rpm_tx_stats_fields[stat],
1788 tx_stat);
1789 stat++;
1790 }
1791
1792 return err;
1793 }
1794
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [Intel-gfx] [PATCH 2/2] drm/i915/adl_p: Add ddi buf translation tables for combo PHY
by kernel test robot
Hi Matt,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20210722]
[cannot apply to v5.14-rc2]
[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/Matt-Roper/ADL-DDI-translation-b...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-r036-20210723 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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/0day-ci/linux/commit/68ee32b7d0fc372136f130d55cd937fc6...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Matt-Roper/ADL-DDI-translation-buffer-updates/20210723-133603
git checkout 68ee32b7d0fc372136f130d55cd937fc6b9bbbd9
# 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/gpu/drm/i915/display/intel_ddi_buf_trans.c:1756:1: error: unused function 'adlp_get_combo_buf_trans' [-Werror,-Wunused-function]
adlp_get_combo_buf_trans(struct intel_encoder *encoder,
^
1 error generated.
vim +/adlp_get_combo_buf_trans +1756 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c
1754
1755 static const struct intel_ddi_buf_trans *
> 1756 adlp_get_combo_buf_trans(struct intel_encoder *encoder,
1757 const struct intel_crtc_state *crtc_state,
1758 int *n_entries)
1759 {
1760 if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
1761 return intel_get_buf_trans(&adlp_combo_phy_ddi_translations_hdmi, n_entries);
1762 else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP))
1763 return adlp_get_combo_buf_trans_edp(encoder, crtc_state, n_entries);
1764 else
1765 return adlp_get_combo_buf_trans_dp(encoder, crtc_state, n_entries);
1766 }
1767
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c:416:4: warning: cast to pointer from integer of different size
by kernel test robot
Hi Chetan,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8baef6386baaefb776bdd09b5c7630cf057c51c6
commit: f7af616c632ee2ac3af0876fe33bf9e0232e665a net: iosm: infrastructure
date: 6 weeks ago
config: i386-randconfig-m021-20210723 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# 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 f7af616c632ee2ac3af0876fe33bf9e0232e665a
# 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 warnings (new ones prefixed by >>):
In file included from include/linux/device.h:15,
from include/linux/dma-mapping.h:7,
from include/linux/skbuff.h:31,
from drivers/net/wwan/iosm/iosm_ipc_imem.h:9,
from drivers/net/wwan/iosm/iosm_ipc_protocol.h:9,
from drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c:6:
drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c: In function 'ipc_protocol_dl_td_process':
>> drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c:416:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
416 | (void *)p_td->buffer.address, skb->data);
| ^
include/linux/dev_printk.h:112:32: note: in definition of macro 'dev_err'
112 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
vim +416 drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
64516f633bfd2f M Chetan Kumar 2021-06-13 370
64516f633bfd2f M Chetan Kumar 2021-06-13 371 /* Processes DL TD's */
64516f633bfd2f M Chetan Kumar 2021-06-13 372 struct sk_buff *ipc_protocol_dl_td_process(struct iosm_protocol *ipc_protocol,
64516f633bfd2f M Chetan Kumar 2021-06-13 373 struct ipc_pipe *pipe)
64516f633bfd2f M Chetan Kumar 2021-06-13 374 {
64516f633bfd2f M Chetan Kumar 2021-06-13 375 u32 tail =
64516f633bfd2f M Chetan Kumar 2021-06-13 376 le32_to_cpu(ipc_protocol->p_ap_shm->tail_array[pipe->pipe_nr]);
64516f633bfd2f M Chetan Kumar 2021-06-13 377 struct ipc_protocol_td *p_td;
64516f633bfd2f M Chetan Kumar 2021-06-13 378 struct sk_buff *skb;
64516f633bfd2f M Chetan Kumar 2021-06-13 379
64516f633bfd2f M Chetan Kumar 2021-06-13 380 if (!pipe->tdr_start)
64516f633bfd2f M Chetan Kumar 2021-06-13 381 return NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 382
64516f633bfd2f M Chetan Kumar 2021-06-13 383 /* Copy the reference to the downlink buffer. */
64516f633bfd2f M Chetan Kumar 2021-06-13 384 p_td = &pipe->tdr_start[pipe->old_tail];
64516f633bfd2f M Chetan Kumar 2021-06-13 385 skb = pipe->skbr_start[pipe->old_tail];
64516f633bfd2f M Chetan Kumar 2021-06-13 386
64516f633bfd2f M Chetan Kumar 2021-06-13 387 /* Reset the ring elements. */
64516f633bfd2f M Chetan Kumar 2021-06-13 388 pipe->skbr_start[pipe->old_tail] = NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 389
64516f633bfd2f M Chetan Kumar 2021-06-13 390 pipe->nr_of_queued_entries--;
64516f633bfd2f M Chetan Kumar 2021-06-13 391
64516f633bfd2f M Chetan Kumar 2021-06-13 392 pipe->old_tail++;
64516f633bfd2f M Chetan Kumar 2021-06-13 393 if (pipe->old_tail >= pipe->nr_of_entries)
64516f633bfd2f M Chetan Kumar 2021-06-13 394 pipe->old_tail = 0;
64516f633bfd2f M Chetan Kumar 2021-06-13 395
64516f633bfd2f M Chetan Kumar 2021-06-13 396 if (!skb) {
64516f633bfd2f M Chetan Kumar 2021-06-13 397 dev_err(ipc_protocol->dev, "skb is null");
64516f633bfd2f M Chetan Kumar 2021-06-13 398 goto ret;
64516f633bfd2f M Chetan Kumar 2021-06-13 399 } else if (!p_td->buffer.address) {
64516f633bfd2f M Chetan Kumar 2021-06-13 400 dev_err(ipc_protocol->dev, "td/buffer address is null");
64516f633bfd2f M Chetan Kumar 2021-06-13 401 ipc_pcie_kfree_skb(ipc_protocol->pcie, skb);
64516f633bfd2f M Chetan Kumar 2021-06-13 402 skb = NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 403 goto ret;
64516f633bfd2f M Chetan Kumar 2021-06-13 404 }
64516f633bfd2f M Chetan Kumar 2021-06-13 405
64516f633bfd2f M Chetan Kumar 2021-06-13 406 if (!IPC_CB(skb)) {
64516f633bfd2f M Chetan Kumar 2021-06-13 407 dev_err(ipc_protocol->dev, "pipe# %d, tail: %d skb_cb is NULL",
64516f633bfd2f M Chetan Kumar 2021-06-13 408 pipe->pipe_nr, tail);
64516f633bfd2f M Chetan Kumar 2021-06-13 409 ipc_pcie_kfree_skb(ipc_protocol->pcie, skb);
64516f633bfd2f M Chetan Kumar 2021-06-13 410 skb = NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 411 goto ret;
64516f633bfd2f M Chetan Kumar 2021-06-13 412 }
64516f633bfd2f M Chetan Kumar 2021-06-13 413
64516f633bfd2f M Chetan Kumar 2021-06-13 414 if (p_td->buffer.address != IPC_CB(skb)->mapping) {
64516f633bfd2f M Chetan Kumar 2021-06-13 415 dev_err(ipc_protocol->dev, "invalid buf=%p or skb=%p",
64516f633bfd2f M Chetan Kumar 2021-06-13 @416 (void *)p_td->buffer.address, skb->data);
64516f633bfd2f M Chetan Kumar 2021-06-13 417 ipc_pcie_kfree_skb(ipc_protocol->pcie, skb);
64516f633bfd2f M Chetan Kumar 2021-06-13 418 skb = NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 419 goto ret;
64516f633bfd2f M Chetan Kumar 2021-06-13 420 } else if ((le32_to_cpu(p_td->scs) & SIZE_MASK) > pipe->buf_size) {
64516f633bfd2f M Chetan Kumar 2021-06-13 421 dev_err(ipc_protocol->dev, "invalid buffer size %d > %d",
64516f633bfd2f M Chetan Kumar 2021-06-13 422 le32_to_cpu(p_td->scs) & SIZE_MASK,
64516f633bfd2f M Chetan Kumar 2021-06-13 423 pipe->buf_size);
64516f633bfd2f M Chetan Kumar 2021-06-13 424 ipc_pcie_kfree_skb(ipc_protocol->pcie, skb);
64516f633bfd2f M Chetan Kumar 2021-06-13 425 skb = NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 426 goto ret;
64516f633bfd2f M Chetan Kumar 2021-06-13 427 } else if (le32_to_cpu(p_td->scs) >> COMPLETION_STATUS ==
64516f633bfd2f M Chetan Kumar 2021-06-13 428 IPC_MEM_TD_CS_ABORT) {
64516f633bfd2f M Chetan Kumar 2021-06-13 429 /* Discard aborted buffers. */
64516f633bfd2f M Chetan Kumar 2021-06-13 430 dev_dbg(ipc_protocol->dev, "discard 'aborted' buffers");
64516f633bfd2f M Chetan Kumar 2021-06-13 431 ipc_pcie_kfree_skb(ipc_protocol->pcie, skb);
64516f633bfd2f M Chetan Kumar 2021-06-13 432 skb = NULL;
64516f633bfd2f M Chetan Kumar 2021-06-13 433 goto ret;
64516f633bfd2f M Chetan Kumar 2021-06-13 434 }
64516f633bfd2f M Chetan Kumar 2021-06-13 435
64516f633bfd2f M Chetan Kumar 2021-06-13 436 /* Set the length field in skbuf. */
64516f633bfd2f M Chetan Kumar 2021-06-13 437 skb_put(skb, le32_to_cpu(p_td->scs) & SIZE_MASK);
64516f633bfd2f M Chetan Kumar 2021-06-13 438
64516f633bfd2f M Chetan Kumar 2021-06-13 439 ret:
64516f633bfd2f M Chetan Kumar 2021-06-13 440 return skb;
64516f633bfd2f M Chetan Kumar 2021-06-13 441 }
64516f633bfd2f M Chetan Kumar 2021-06-13 442
:::::: The code at line 416 was first introduced by commit
:::::: 64516f633bfd2f576f3a18fe72184595367d11bf net: iosm: protocol operations
:::::: TO: M Chetan Kumar <m.chetan.kumar(a)intel.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[chrome-os:chromeos-5.10 74/94] drivers/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c:328:15: warning: variable 'cal_sel' set but not used
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: c5919bb0351727649285c4b951b6037bebf78124
commit: 9b58d081211d782593f5f6864cf6be8176e205a1 [74/94] BACKPORT: FROMLIST: media: platform: mtk-isp: Add Mediatek sensor interface driver
config: alpha-randconfig-r005-20210723 (attached as .config)
compiler: alpha-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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout 9b58d081211d782593f5f6864cf6be8176e205a1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=alpha
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/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c: In function 'mtk_seninf_set_csi_mipi':
>> drivers/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c:328:15: warning: variable 'cal_sel' set but not used [-Wunused-but-set-variable]
328 | unsigned int cal_sel;
| ^~~~~~~
At top level:
drivers/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c:955:12: warning: 'seninf_pm_resume' defined but not used [-Wunused-function]
955 | static int seninf_pm_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~
drivers/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c:945:12: warning: 'seninf_pm_suspend' defined but not used [-Wunused-function]
945 | static int seninf_pm_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~
vim +/cal_sel +328 drivers/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c
320
321 static void mtk_seninf_set_csi_mipi(struct mtk_seninf *priv,
322 unsigned int seninf)
323 {
324 void __iomem *seninf_base = priv->base_reg;
325 void __iomem *pseninf = priv->base_reg + 0x1000 * seninf;
326 unsigned int dpcm = mtk_seninf_get_dpcm(priv);
327 unsigned int data_lane_num = priv->sensor[priv->port].num_data_lanes;
> 328 unsigned int cal_sel;
329 unsigned int data_header_order = 1;
330 unsigned int pad_sel = PAD_10BIT;
331 unsigned int val = 0;
332
333 dev_dbg(priv->dev, "IS_4D1C %d port %d\n",
334 is_4d1c(priv->port), priv->port);
335
336 switch (priv->port) {
337 case CFG_CSI_PORT_1:
338 cal_sel = 1;
339 writel((0x7ffff8fe & readl(seninf_base +
340 SENINF_TOP_PHY_SENINF_CTL_CSI1)) | 0x80000200,
341 seninf_base + SENINF_TOP_PHY_SENINF_CTL_CSI1);
342 break;
343 case CFG_CSI_PORT_2:
344 cal_sel = 2;
345 writel((0x7ffff8fe & readl(seninf_base +
346 SENINF_TOP_PHY_SENINF_CTL_CSI2)) | 0x80000200,
347 seninf_base + SENINF_TOP_PHY_SENINF_CTL_CSI2);
348 break;
349 case CFG_CSI_PORT_0:
350 cal_sel = 0;
351 writel((0x7ffff8fe & readl(seninf_base +
352 SENINF_TOP_PHY_SENINF_CTL_CSI0)) | 0x80000200,
353 seninf_base + SENINF_TOP_PHY_SENINF_CTL_CSI0);
354 break;
355 case CFG_CSI_PORT_0A:
356 case CFG_CSI_PORT_0B:
357 cal_sel = 0;
358 writel((0x7fffc8fe & readl(seninf_base +
359 SENINF_TOP_PHY_SENINF_CTL_CSI0)) | 0x80001100,
360 seninf_base + SENINF_TOP_PHY_SENINF_CTL_CSI0);
361 break;
362 }
363
364 /* First Enable Sensor interface and select pad (0x1a04_0200) */
365 writel(readl(pseninf + SENINF1_CTRL) | 0x1,
366 pseninf + SENINF1_CTRL);
367 writel((0x8fffffff & readl(pseninf + SENINF1_CTRL)) |
368 (pad_sel << 28), pseninf + SENINF1_CTRL);
369 writel(0xffff0fff & readl(pseninf + SENINF1_CTRL),
370 pseninf + SENINF1_CTRL);
371 writel((0xffffff9f & readl(pseninf + SENINF1_CTRL_EXT)) |
372 0x40, pseninf + SENINF1_CTRL_EXT);
373
374 mtk_seninf_set_dphy(priv, seninf);
375
376 /* DPCM Enable */
377 val = 1 << ((dpcm == 0x2a) ? 15 : ((dpcm & 0xF) + 7));
378 writel(val, pseninf + SENINF1_CSI2_DPCM);
379
380 /* Settle delay */
381 writel((0xffff00ff & readl(pseninf + SENINF1_CSI2_LNRD_TIMING)) |
382 (SENINF_SETTLE_DELAY << 8), pseninf + SENINF1_CSI2_LNRD_TIMING);
383 /* CSI2 control */
384 val = readl(pseninf + SENINF1_CSI2_CTL) | (data_header_order << 16) |
385 0x10 | ((1 << data_lane_num) - 1);
386 writel(val, pseninf + SENINF1_CSI2_CTL);
387 writel((0xfffff3f8 & readl(pseninf + SENINF1_CSI2_RESYNC_MERGE_CTL)) |
388 0x3, pseninf + SENINF1_CSI2_RESYNC_MERGE_CTL);
389 writel(0xfffff800 & readl(pseninf + SENINF1_CSI2_MODE),
390 pseninf + SENINF1_CSI2_MODE);
391 writel(0x1dff00, pseninf + SENINF1_CSI2_DPHY_SYNC);
392 writel(0xfffffffe & readl(pseninf + SENINF1_CSI2_SPARE0),
393 pseninf + SENINF1_CSI2_SPARE0);
394 writel((0xf5ffff7f & readl(pseninf + SENINF1_CSI2_CTL)) |
395 0x2000000, pseninf + SENINF1_CSI2_CTL);
396 writel((0xffffff00 & readl(pseninf + SENINF1_CSI2_HS_TRAIL)) |
397 SENINF_HS_TRAIL_PARAMETER, pseninf + SENINF1_CSI2_HS_TRAIL);
398
399 /* Set debug port to output packet number */
400 writel(0x8000001A, pseninf + SENINF1_CSI2_DGB_SEL);
401 /* Enable CSI2 IRQ mask */
402 /* Turn on all interrupt */
403 writel(0xffffffff, pseninf + SENINF1_CSI2_INT_EN);
404 /* Write clear CSI2 IRQ */
405 writel(0xffffffff, pseninf + SENINF1_CSI2_INT_STATUS);
406 /* Enable CSI2 Extend IRQ mask */
407 /* Turn on all interrupt */
408 writel(0x0000001f, pseninf + SENINF1_CSI2_INT_EN_EXT);
409 writel((0xffffff7f & readl(pseninf + SENINF1_CTRL)) |
410 0x80, pseninf + SENINF1_CTRL);
411
412 udelay(1);
413 writel(0xffffff7f & readl(pseninf + SENINF1_CTRL)
414 , pseninf + SENINF1_CTRL);
415 }
416
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[bvanassche:configfs 6/6] include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'}
by kernel test robot
tree: https://github.com/bvanassche/linux configfs
head: 7e2353f58cd57892a51ad80a600b481b22ef775a
commit: 7e2353f58cd57892a51ad80a600b481b22ef775a [6/6] wip2
config: i386-allyesconfig (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/bvanassche/linux/commit/7e2353f58cd57892a51ad80a600b48...
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche configfs
git checkout 7e2353f58cd57892a51ad80a600b481b22ef775a
# 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 warnings (new ones prefixed by >>):
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:19,
from include/linux/list.h:9,
from include/linux/wait.h:7,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from fs/configfs/file.c:11:
fs/configfs/file.c: In function 'configfs_bin_write_iter':
include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
include/linux/printk.h:420:9: note: in expansion of macro 'KERN_INFO'
420 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
fs/configfs/file.c:289:2: note: in expansion of macro 'pr_info'
289 | pr_info("%s: end_offset = %ld; len = %ld\n", __func__, end_offset, len);
| ^~~~~~~
>> include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
include/linux/printk.h:420:9: note: in expansion of macro 'KERN_INFO'
420 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
fs/configfs/file.c:289:2: note: in expansion of macro 'pr_info'
289 | pr_info("%s: end_offset = %ld; len = %ld\n", __func__, end_offset, len);
| ^~~~~~~
vim +5 include/linux/kern_levels.h
314ba3520e513a Joe Perches 2012-07-30 4
04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001'
04d2c8c83d0e3a Joe Perches 2012-07-30 7
04d2c8c83d0e3a Joe Perches 2012-07-30 8 #define KERN_EMERG KERN_SOH "0" /* system is unusable */
04d2c8c83d0e3a Joe Perches 2012-07-30 9 #define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */
04d2c8c83d0e3a Joe Perches 2012-07-30 10 #define KERN_CRIT KERN_SOH "2" /* critical conditions */
04d2c8c83d0e3a Joe Perches 2012-07-30 11 #define KERN_ERR KERN_SOH "3" /* error conditions */
04d2c8c83d0e3a Joe Perches 2012-07-30 12 #define KERN_WARNING KERN_SOH "4" /* warning conditions */
04d2c8c83d0e3a Joe Perches 2012-07-30 13 #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
04d2c8c83d0e3a Joe Perches 2012-07-30 @14 #define KERN_INFO KERN_SOH "6" /* informational */
04d2c8c83d0e3a Joe Perches 2012-07-30 15 #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
04d2c8c83d0e3a Joe Perches 2012-07-30 16
:::::: The code at line 5 was first introduced by commit
:::::: 04d2c8c83d0e3ac5f78aeede51babb3236200112 printk: convert the format for KERN_<LEVEL> to a 2 byte pattern
:::::: TO: Joe Perches <joe(a)perches.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH 05/13] media: i2c: Add .get_selection() support to ov8865
by kernel test robot
Hi Daniel,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.14-rc2 next-20210722]
[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/Daniel-Scally/Extensions-to-ov88...
base: git://linuxtv.org/media_tree.git master
config: i386-randconfig-m021-20210723 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.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/media/i2c/ov8865.c:2784 ov8865_get_selection() warn: inconsistent indenting
vim +2784 drivers/media/i2c/ov8865.c
2772
2773 static int ov8865_get_selection(struct v4l2_subdev *subdev,
2774 struct v4l2_subdev_state *state,
2775 struct v4l2_subdev_selection *sel)
2776 {
2777 struct ov8865_sensor *sensor = ov8865_subdev_sensor(subdev);
2778
2779 switch (sel->target) {
2780 case V4L2_SEL_TGT_CROP:
2781 mutex_lock(&sensor->mutex);
2782 __ov8865_get_pad_crop(sensor, state, sel->pad,
2783 sel->which, &sel->r);
> 2784 mutex_unlock(&sensor->mutex);
2785 break;
2786 case V4L2_SEL_TGT_NATIVE_SIZE:
2787 sel->r.top = 0;
2788 sel->r.left = 0;
2789 sel->r.width = OV8865_NATIVE_WIDTH;
2790 sel->r.height = OV8865_NATIVE_HEIGHT;
2791 break;
2792 case V4L2_SEL_TGT_CROP_BOUNDS:
2793 case V4L2_SEL_TGT_CROP_DEFAULT:
2794 sel->r.top = OV8865_ACTIVE_START_TOP;
2795 sel->r.left = OV8865_ACTIVE_START_LEFT;
2796 sel->r.width = OV8865_ACTIVE_WIDTH;
2797 sel->r.height = OV8865_ACTIVE_HEIGHT;
2798 break;
2799 default:
2800 return -EINVAL;
2801 }
2802
2803 return 0;
2804 }
2805
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[kbuild] drivers/net/ethernet/huawei/hinic/hinic_debugfs.c:92 hinic_dbg_get_func_table() warn: returning -1 instead of -ENOMEM is sloppy
by Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8baef6386baaefb776bdd09b5c7630cf057c51c6
commit: 5215e16244ee5889cc6135381acdbf4cbcb7905a hinic: add support to query function table
config: x86_64-randconfig-m001-20210723 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/net/ethernet/huawei/hinic/hinic_debugfs.c:92 hinic_dbg_get_func_table() warn: returning -1 instead of -ENOMEM is sloppy
vim +92 drivers/net/ethernet/huawei/hinic/hinic_debugfs.c
5215e16244ee58 Luo bin 2020-08-28 83 static int hinic_dbg_get_func_table(struct hinic_dev *nic_dev, int idx)
5215e16244ee58 Luo bin 2020-08-28 84 {
5215e16244ee58 Luo bin 2020-08-28 85 struct tag_sml_funcfg_tbl *funcfg_table_elem;
5215e16244ee58 Luo bin 2020-08-28 86 struct hinic_cmd_lt_rd *read_data;
5215e16244ee58 Luo bin 2020-08-28 87 u16 out_size = sizeof(*read_data);
5215e16244ee58 Luo bin 2020-08-28 88 int err;
5215e16244ee58 Luo bin 2020-08-28 89
5215e16244ee58 Luo bin 2020-08-28 90 read_data = kzalloc(sizeof(*read_data), GFP_KERNEL);
5215e16244ee58 Luo bin 2020-08-28 91 if (!read_data)
5215e16244ee58 Luo bin 2020-08-28 @92 return ~0;
^^^^^^^^^
return -ENOMEM;
5215e16244ee58 Luo bin 2020-08-28 93
5215e16244ee58 Luo bin 2020-08-28 94 read_data->node = TBL_ID_FUNC_CFG_SM_NODE;
5215e16244ee58 Luo bin 2020-08-28 95 read_data->inst = TBL_ID_FUNC_CFG_SM_INST;
5215e16244ee58 Luo bin 2020-08-28 96 read_data->entry_size = HINIC_FUNCTION_CONFIGURE_TABLE_SIZE;
5215e16244ee58 Luo bin 2020-08-28 97 read_data->lt_index = HINIC_HWIF_FUNC_IDX(nic_dev->hwdev->hwif);
5215e16244ee58 Luo bin 2020-08-28 98 read_data->len = HINIC_FUNCTION_CONFIGURE_TABLE_SIZE;
5215e16244ee58 Luo bin 2020-08-28 99
5215e16244ee58 Luo bin 2020-08-28 100 err = hinic_port_msg_cmd(nic_dev->hwdev, HINIC_PORT_CMD_RD_LINE_TBL, read_data,
5215e16244ee58 Luo bin 2020-08-28 101 sizeof(*read_data), read_data, &out_size);
5215e16244ee58 Luo bin 2020-08-28 102 if (err || out_size != sizeof(*read_data) || read_data->status) {
5215e16244ee58 Luo bin 2020-08-28 103 netif_err(nic_dev, drv, nic_dev->netdev,
5215e16244ee58 Luo bin 2020-08-28 104 "Failed to get func table, err: %d, status: 0x%x, out size: 0x%x\n",
5215e16244ee58 Luo bin 2020-08-28 105 err, read_data->status, out_size);
5215e16244ee58 Luo bin 2020-08-28 106 kfree(read_data);
5215e16244ee58 Luo bin 2020-08-28 107 return ~0;
return -EIO;?
5215e16244ee58 Luo bin 2020-08-28 108 }
5215e16244ee58 Luo bin 2020-08-28 109
5215e16244ee58 Luo bin 2020-08-28 110 funcfg_table_elem = (struct tag_sml_funcfg_tbl *)read_data->data;
5215e16244ee58 Luo bin 2020-08-28 111
5215e16244ee58 Luo bin 2020-08-28 112 switch (idx) {
5215e16244ee58 Luo bin 2020-08-28 113 case VALID:
5215e16244ee58 Luo bin 2020-08-28 114 return funcfg_table_elem->dw0.bs.valid;
5215e16244ee58 Luo bin 2020-08-28 115 case RX_MODE:
5215e16244ee58 Luo bin 2020-08-28 116 return funcfg_table_elem->dw0.bs.nic_rx_mode;
5215e16244ee58 Luo bin 2020-08-28 117 case MTU:
5215e16244ee58 Luo bin 2020-08-28 118 return funcfg_table_elem->dw1.bs.mtu;
5215e16244ee58 Luo bin 2020-08-28 119 case RQ_DEPTH:
5215e16244ee58 Luo bin 2020-08-28 120 return funcfg_table_elem->dw13.bs.cfg_rq_depth;
5215e16244ee58 Luo bin 2020-08-28 121 case QUEUE_NUM:
5215e16244ee58 Luo bin 2020-08-28 122 return funcfg_table_elem->dw13.bs.cfg_q_num;
5215e16244ee58 Luo bin 2020-08-28 123 }
5215e16244ee58 Luo bin 2020-08-28 124
5215e16244ee58 Luo bin 2020-08-28 125 kfree(read_data);
5215e16244ee58 Luo bin 2020-08-28 126
5215e16244ee58 Luo bin 2020-08-28 127 return ~0;
return -EINVAL;
5215e16244ee58 Luo bin 2020-08-28 128 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
1 year, 1 month
Re: [PATCH 7/7] staging: rtl8188eu: attach newly imported driver to build system
by kernel test robot
Hi Phillip,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on staging/staging-testing]
url: https://github.com/0day-ci/linux/commits/Phillip-Potter/staging-rtl8188eu...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 334201d503d5903f38f6e804263fc291ce8f451a
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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/0day-ci/linux/commit/47a9283a59be94d24732c1f9d76b02b7a...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Phillip-Potter/staging-rtl8188eu-replace-driver-with-better-version/20210723-084513
git checkout 47a9283a59be94d24732c1f9d76b02b7a4144d2f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/staging/
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 >>):
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_cmd.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_security.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_debug.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_io.c:27:10: fatal error: drv_types.h: No such file or directory
27 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_ioctl_set.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_ieee80211.c:9:10: fatal error: drv_types.h: No such file or directory
9 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_mlme.c:6:10: fatal error: hal_data.h: No such file or directory
6 | #include <hal_data.h>
| ^~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_mi.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_wlan_util.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
cc1: warning: drivers/staging/rtl8188eu/include: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/platform: No such file or directory [-Wmissing-include-dirs]
cc1: warning: drivers/staging/rtl8188eu/hal/btc: No such file or directory [-Wmissing-include-dirs]
>> drivers/staging/rtl8188eu/core/rtw_pwrctrl.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
..
vim +6 drivers/staging/rtl8188eu/core/rtw_cmd.c
d7436e2a94facc Phillip Potter 2021-07-23 5
d7436e2a94facc Phillip Potter 2021-07-23 @6 #include <drv_types.h>
d7436e2a94facc Phillip Potter 2021-07-23 7 #include <hal_data.h>
d7436e2a94facc Phillip Potter 2021-07-23 8
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month