drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: 'usb_debug_root' undeclared
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ef2e9a563b0cd7965e2a1263125dcbb1c86aa6cc
commit: a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8 usb: gadget: bcm63xx_udc: create debugfs directory under usb root
date: 10 months ago
config: mips-randconfig-s031-20200913 (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-191-g10164920-dirty
git checkout a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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 >>):
drivers/usb/gadget/udc/bcm63xx_udc.c: In function 'bcm63xx_udc_init_debugfs':
>> drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: 'usb_debug_root' undeclared (first use in this function)
2251 | root = debugfs_create_dir(udc->gadget.name, usb_debug_root);
| ^~~~~~~~~~~~~~
drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: note: each undeclared identifier is reported only once for each function it appears in
# 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 a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8
vim +/usb_debug_root +2251 drivers/usb/gadget/udc/bcm63xx_udc.c
2239
2240 /**
2241 * bcm63xx_udc_init_debugfs - Create debugfs entries.
2242 * @udc: Reference to the device controller.
2243 */
2244 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc)
2245 {
2246 struct dentry *root;
2247
2248 if (!IS_ENABLED(CONFIG_USB_GADGET_DEBUG_FS))
2249 return;
2250
> 2251 root = debugfs_create_dir(udc->gadget.name, usb_debug_root);
2252 udc->debugfs_root = root;
2253
2254 debugfs_create_file("usbd", 0400, root, udc, &bcm63xx_usbd_dbg_fops);
2255 debugfs_create_file("iudma", 0400, root, udc, &bcm63xx_iudma_dbg_fops);
2256 }
2257
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[cschaufler:next 1/3] security/smack/smack_lsm.c:3821:26: error: 'struct sk_buff' has no member named 'secmark'; did you mean
by kernel test robot
tree: https://github.com/cschaufler/smack-next next
head: 322dd63c7f98315b5794653bc582d109841219ae
commit: 36be81293dbe35aca487917c2d76941bf734d2ad [1/3] Smack: Consolidate uses of secmark into a function
config: arm-randconfig-r001-20200911 (attached as .config)
compiler: arm-linux-gnueabi-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 36be81293dbe35aca487917c2d76941bf734d2ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 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 error/warnings (new ones prefixed by >>):
security/smack/smack_lsm.c: In function 'smack_from_skb':
>> security/smack/smack_lsm.c:3821:26: error: 'struct sk_buff' has no member named 'secmark'; did you mean 'mark'?
3821 | if (skb == NULL || skb->secmark == 0)
| ^~~~~~~
| mark
security/smack/smack_lsm.c:3824:31: error: 'struct sk_buff' has no member named 'secmark'; did you mean 'mark'?
3824 | return smack_from_secid(skb->secmark);
| ^~~~~~~
| mark
>> security/smack/smack_lsm.c:3825:1: warning: control reaches end of non-void function [-Wreturn-type]
3825 | }
| ^
# https://github.com/cschaufler/smack-next/commit/36be81293dbe35aca487917c2...
git remote add cschaufler https://github.com/cschaufler/smack-next
git fetch --no-tags cschaufler next
git checkout 36be81293dbe35aca487917c2d76941bf734d2ad
vim +3821 security/smack/smack_lsm.c
3812
3813 /**
3814 * smack_from_skb - Smack data from the secmark in an skb
3815 * @skb: packet
3816 *
3817 * Returns smack_known of the secmark or NULL if that won't work.
3818 */
3819 static struct smack_known *smack_from_skb(struct sk_buff *skb)
3820 {
> 3821 if (skb == NULL || skb->secmark == 0)
3822 return NULL;
3823
3824 return smack_from_secid(skb->secmark);
> 3825 }
3826
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[f2fs-stable:linux-4.19.y 359/666] fs/f2fs/file.c:3176:40: warning: taking address of packed member of 'struct f2fs_super_block' may result in an unaligned pointer value
by kernel test robot
Hi Chao,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git linux-4.19.y
head: e1712134c01acfde2d20aea490ad3b3581ec8e0a
commit: 2f7cc89b033f4d379139ec47a801a531f4f12f67 [359/666] f2fs: support FS_IOC_{GET,SET}FSLABEL
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-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 2f7cc89b033f4d379139ec47a801a531f4f12f67
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
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/kernel.h:10,
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/f2fs/file.c:8:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/xtensa/include/asm/page.h:182:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
182 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
arch/xtensa/include/asm/page.h:190:32: note: in expansion of macro 'pfn_valid'
190 | #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
| ^~~~~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
In file included from fs/f2fs/file.c:25:
fs/f2fs/f2fs.h: In function 'blkaddr_in_node':
fs/f2fs/f2fs.h:2280:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member]
2280 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr;
| ^~~~
fs/f2fs/f2fs.h:2280:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
2280 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr;
| ^~~~
fs/f2fs/file.c: In function 'f2fs_get_volume_name':
>> fs/f2fs/file.c:3176:40: warning: taking address of packed member of 'struct f2fs_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member]
3176 | count = utf16s_to_utf8s(sbi->raw_super->volume_name,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
fs/f2fs/file.c: In function 'f2fs_set_volume_name':
fs/f2fs/file.c:3212:18: warning: taking address of packed member of 'struct f2fs_super_block' may result in an unaligned pointer value [-Waddress-of-packed-member]
3212 | sbi->raw_super->volume_name,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/c...
git remote add f2fs-stable https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git
git fetch --no-tags f2fs-stable linux-4.19.y
git checkout 2f7cc89b033f4d379139ec47a801a531f4f12f67
vim +3176 fs/f2fs/file.c
3162
3163 static int f2fs_get_volume_name(struct file *filp, unsigned long arg)
3164 {
3165 struct inode *inode = file_inode(filp);
3166 struct f2fs_sb_info *sbi = F2FS_I_SB(inode);
3167 char *vbuf;
3168 int count;
3169 int err = 0;
3170
3171 vbuf = f2fs_kzalloc(sbi, MAX_VOLUME_NAME, GFP_KERNEL);
3172 if (!vbuf)
3173 return -ENOMEM;
3174
3175 down_read(&sbi->sb_lock);
> 3176 count = utf16s_to_utf8s(sbi->raw_super->volume_name,
3177 ARRAY_SIZE(sbi->raw_super->volume_name),
3178 UTF16_LITTLE_ENDIAN, vbuf, MAX_VOLUME_NAME);
3179 up_read(&sbi->sb_lock);
3180
3181 if (copy_to_user((char __user *)arg, vbuf,
3182 min(FSLABEL_MAX, count)))
3183 err = -EFAULT;
3184
3185 kvfree(vbuf);
3186 return err;
3187 }
3188
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH net-next 5/8] bnxt: add pause frame stats
by kernel test robot
Hi Jakub,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Jakub-Kicinski/ethtool-add-stand...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 9984c0bb22dcae688ef8588e2621133850ff49bc
config: x86_64-randconfig-s022-20200911 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-191-g10164920-dirty
# 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/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1795:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rx_pause_frames @@ got restricted __le64 [usertype] rx_pause_frames @@
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1795:33: sparse: expected unsigned long long [usertype] rx_pause_frames
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1795:33: sparse: got restricted __le64 [usertype] rx_pause_frames
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1796:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] tx_pause_frames @@ got restricted __le64 [usertype] tx_pause_frames @@
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1796:33: sparse: expected unsigned long long [usertype] tx_pause_frames
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1796:33: sparse: got restricted __le64 [usertype] tx_pause_frames
# https://github.com/0day-ci/linux/commit/c5c1d08b72fbfe88b0bb991fb4dded1f9...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jakub-Kicinski/ethtool-add-standard-pause-stats/20200912-045257
git checkout c5c1d08b72fbfe88b0bb991fb4dded1f9d230280
vim +1795 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1780
1781 static void bnxt_get_pause_stats(struct net_device *dev,
1782 struct ethtool_pause_stats *epstat)
1783 {
1784 struct bnxt *bp = netdev_priv(dev);
1785 struct rx_port_stats *rx_stats;
1786 struct tx_port_stats *tx_stats;
1787
1788 if (BNXT_VF(bp) || !(bp->flags & BNXT_FLAG_PORT_STATS))
1789 return;
1790
1791 rx_stats = (void *)bp->port_stats.sw_stats;
1792 tx_stats = (void *)((unsigned long)bp->port_stats.sw_stats +
1793 BNXT_TX_PORT_STATS_BYTE_OFFSET);
1794
> 1795 epstat->rx_pause_frames = rx_stats->rx_pause_frames;
> 1796 epstat->tx_pause_frames = tx_stats->tx_pause_frames;
1797 }
1798
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[RFC PATCH] netdevsim: nsim_ethtool_ops can be static
by kernel test robot
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/netdevsim/ethtool.c b/drivers/net/netdevsim/ethtool.c
index 7c016edfbcee37..7a4c779b4c895c 100644
--- a/drivers/net/netdevsim/ethtool.c
+++ b/drivers/net/netdevsim/ethtool.c
@@ -42,7 +42,7 @@ nsim_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause)
return 0;
}
-const struct ethtool_ops nsim_ethtool_ops = {
+static const struct ethtool_ops nsim_ethtool_ops = {
.get_pause_stats = nsim_get_pause_stats,
.get_pauseparam = nsim_get_pauseparam,
.set_pauseparam = nsim_set_pauseparam,
2 years
drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 729e3d091984487f7aa1ebfabfe594e5b317ed0f
commit: 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver
date: 3 months ago
config: x86_64-randconfig-a014-20200912 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 45d0343900d3005d1d00cbb1a87c419c085dec71)
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 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
# 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/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids' [-Wunused-const-variable]
static const struct of_device_id at91_adc_dt_ids[] = {
^
1 warning 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 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
vim +/at91_adc_dt_ids +1439 drivers/iio/adc/at91_adc.c
e1811f97ba985f Josh Wu 2013-08-27 1438
e364185f3ed2ec Maxime Ripard 2012-05-11 @1439 static const struct of_device_id at91_adc_dt_ids[] = {
e1811f97ba985f Josh Wu 2013-08-27 1440 { .compatible = "atmel,at91sam9260-adc", .data = &at91sam9260_caps },
65b1fdbac9e39d Alexandre Belloni 2014-04-15 1441 { .compatible = "atmel,at91sam9rl-adc", .data = &at91sam9rl_caps },
e1811f97ba985f Josh Wu 2013-08-27 1442 { .compatible = "atmel,at91sam9g45-adc", .data = &at91sam9g45_caps },
e1811f97ba985f Josh Wu 2013-08-27 1443 { .compatible = "atmel,at91sam9x5-adc", .data = &at91sam9x5_caps },
e364185f3ed2ec Maxime Ripard 2012-05-11 1444 {},
e364185f3ed2ec Maxime Ripard 2012-05-11 1445 };
e364185f3ed2ec Maxime Ripard 2012-05-11 1446 MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
467a44b0372d82 Alexandre Belloni 2014-05-03 1447
:::::: The code at line 1439 was first introduced by commit
:::::: e364185f3ed2ecc0a4dbfe2507f20fd5db76c966 IIO: AT91: Add DT support to at91_adc driver
:::::: TO: Maxime Ripard <maxime.ripard(a)free-electrons.com>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[chanwoo:devfreq-testing 6/17] drivers/devfreq/tegra30-devfreq.c:770:10: warning: initializer overrides prior initialization of this subobject
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git devfreq-testing
head: e09c72f15af2bbcf1ddc4d97e75d6400c9dda033
commit: a51aacab25198ecb21110c2a387f1e94bc3a2ebd [6/17] PM / devfreq: Add governor flags to clarify the features
config: arm64-randconfig-r006-20200911 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0448d11a06b451a63a8f60408fec613ad24801ba)
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 a51aacab25198ecb21110c2a387f1e94bc3a2ebd
# 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 warnings (new ones prefixed by >>):
>> drivers/devfreq/tegra30-devfreq.c:770:10: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.flag = DEVFREQ_GOV_FLAG_IMMUTABLE
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/devfreq/governor.h:55:38: note: expanded from macro 'DEVFREQ_GOV_FLAG_IMMUTABLE'
#define DEVFREQ_GOV_FLAG_IMMUTABLE BIT(0)
^
include/vdso/bits.h:7:19: note: expanded from macro 'BIT'
#define BIT(nr) (UL(1) << (nr))
^
drivers/devfreq/tegra30-devfreq.c:768:10: note: previous initialization is here
.flag = DEVFREQ_GOV_ATTR_COMMON
^~~~~~~~~~~~~~~~~~~~~~~
drivers/devfreq/governor.h:41:33: note: expanded from macro 'DEVFREQ_GOV_ATTR_COMMON'
#define DEVFREQ_GOV_ATTR_COMMON (DEVFREQ_GOV_ATTR_NAME \
^
1 warning generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/commit/...
git remote add chanwoo https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
git fetch --no-tags chanwoo devfreq-testing
git checkout a51aacab25198ecb21110c2a387f1e94bc3a2ebd
vim +770 drivers/devfreq/tegra30-devfreq.c
765
766 static struct devfreq_governor tegra_devfreq_governor = {
767 .name = "tegra_actmon",
768 .flag = DEVFREQ_GOV_ATTR_COMMON
769 | DEVFREQ_GOV_ATTR_POLLING_INTERVAL,
> 770 .flag = DEVFREQ_GOV_FLAG_IMMUTABLE
771 | DEVFREQ_GOV_FLAG_IRQ_DRIVEN,
772 .get_target_freq = tegra_governor_get_target,
773 .event_handler = tegra_governor_event_handler,
774 };
775
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[android-common:android-5.4-stable 8965/9852] drivers/media/tuners/tda8290.c:468: undefined reference to `i2c_transfer'
by kernel test robot
Hi Greg,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android-5.4-stable
head: bb168ca1805b33289aae802a940551dec93a24d3
commit: 9c8aa25e2955df58dae59e409ec1bc7f850935d9 [8965/9852] ANDROID: GKI: fix symbol_get/put() build error on arm64 defconfig
config: x86_64-randconfig-a016-20200911 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 9c8aa25e2955df58dae59e409ec1bc7f850935d9
# 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 >>):
ld: drivers/i2c/algos/i2c-algo-bit.o: in function `i2c_bit_add_bus':
drivers/i2c/algos/i2c-algo-bit.c:685: undefined reference to `i2c_add_adapter'
ld: drivers/i2c/algos/i2c-algo-bit.o: in function `i2c_bit_add_numbered_bus':
drivers/i2c/algos/i2c-algo-bit.c:691: undefined reference to `i2c_add_numbered_adapter'
ld: drivers/media/tuners/tda8290.o: in function `tuner_i2c_xfer_send':
drivers/media/tuners/tuner-i2c.h:29: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tuner-i2c.h:29: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tda8290.o: in function `tda8290_standby':
>> drivers/media/tuners/tda8290.c:468: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tda8290.o: in function `tuner_i2c_xfer_send':
drivers/media/tuners/tuner-i2c.h:29: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tuner-i2c.h:29: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tda8290.o:drivers/media/tuners/tda8290.c:584: more undefined references to `i2c_transfer' follow
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-5.4-stable
git checkout 9c8aa25e2955df58dae59e409ec1bc7f850935d9
vim +468 drivers/media/tuners/tda8290.c
de48eebce8b63d drivers/media/video/tda8290.c Hartmut Hackmann 2005-11-08 454
4e9154b8a77d0f drivers/media/video/tda8290.c Michael Krufky 2007-10-21 455 static void tda8290_standby(struct dvb_frontend *fe)
793cf9e6a54c69 drivers/media/video/tda8290.c Mauro Carvalho Chehab 2005-09-09 456 {
4e9154b8a77d0f drivers/media/video/tda8290.c Michael Krufky 2007-10-21 457 struct tda8290_priv *priv = fe->analog_demod_priv;
4e9154b8a77d0f drivers/media/video/tda8290.c Michael Krufky 2007-10-21 458
8ff230fb4f4881 drivers/media/tuners/tda8290.c Arnd Bergmann 2017-12-11 459 static unsigned char cb1[] = { 0x30, 0xD0 };
8ff230fb4f4881 drivers/media/tuners/tda8290.c Arnd Bergmann 2017-12-11 460 static unsigned char tda8290_standby[] = { 0x00, 0x02 };
8ff230fb4f4881 drivers/media/tuners/tda8290.c Arnd Bergmann 2017-12-11 461 static unsigned char tda8290_agc_tri[] = { 0x02, 0x20 };
b208319993ceff drivers/media/video/tda8290.c Michael Krufky 2007-05-29 462 struct i2c_msg msg = {.addr = priv->tda827x_addr, .flags=0, .buf=cb1, .len = 2};
de48eebce8b63d drivers/media/video/tda8290.c Hartmut Hackmann 2005-11-08 463
2f719f7a9aa599 drivers/media/tuners/tda8290.c Ondrej Zary 2013-02-03 464 if (fe->ops.analog_ops.i2c_gate_ctrl)
2f719f7a9aa599 drivers/media/tuners/tda8290.c Ondrej Zary 2013-02-03 465 fe->ops.analog_ops.i2c_gate_ctrl(fe, 1);
8c125f2ceb3ec1 drivers/media/video/tda8290.c Michael Krufky 2007-10-27 466 if (priv->ver & TDA8275A)
de48eebce8b63d drivers/media/video/tda8290.c Hartmut Hackmann 2005-11-08 467 cb1[1] = 0x90;
db8a695658cda2 drivers/media/video/tda8290.c Michael Krufky 2007-08-21 @468 i2c_transfer(priv->i2c_props.adap, &msg, 1);
2f719f7a9aa599 drivers/media/tuners/tda8290.c Ondrej Zary 2013-02-03 469 if (fe->ops.analog_ops.i2c_gate_ctrl)
2f719f7a9aa599 drivers/media/tuners/tda8290.c Ondrej Zary 2013-02-03 470 fe->ops.analog_ops.i2c_gate_ctrl(fe, 0);
db8a695658cda2 drivers/media/video/tda8290.c Michael Krufky 2007-08-21 471 tuner_i2c_xfer_send(&priv->i2c_props, tda8290_agc_tri, 2);
db8a695658cda2 drivers/media/video/tda8290.c Michael Krufky 2007-08-21 472 tuner_i2c_xfer_send(&priv->i2c_props, tda8290_standby, 2);
793cf9e6a54c69 drivers/media/video/tda8290.c Mauro Carvalho Chehab 2005-09-09 473 }
793cf9e6a54c69 drivers/media/video/tda8290.c Mauro Carvalho Chehab 2005-09-09 474
:::::: The code at line 468 was first introduced by commit
:::::: db8a695658cda21eacfa2a5e3b15e8964bfb93ef V4L/DVB (6127): tuner: kill i2c_client interface to tuner sub-drivers
:::::: TO: Michael Krufky <mkrufky(a)linuxtv.org>
:::::: CC: Mauro Carvalho Chehab <mchehab(a)infradead.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years