[PATCH v3 6/6] phy: cadence-torrent: Add support to drive refclk out
kernel test robot
lkp at intel.com
Wed Mar 10 14:52:09 GMT 2021
Hi Kishon,
I love your patch! Yet something to improve:
[auto build test ERROR on linux/master]
[also build test ERROR on linus/master v5.12-rc2 next-20210310]
[cannot apply to phy/next]
[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/Kishon-Vijay-Abraham-I/AM64-Add-SERDES-driver-support/20210310-201224
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 144c79ef33536b4ecb4951e07dbc1f2b7fa99d32
config: arc-randconfig-r022-20210308 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/918d7061e3f8808f1665112ca2bc8ed424d108bd
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kishon-Vijay-Abraham-I/AM64-Add-SERDES-driver-support/20210310-201224
git checkout 918d7061e3f8808f1665112ca2bc8ed424d108bd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> drivers/phy/cadence/phy-cadence-torrent.c:225:3: error: 'CDNS_TORRENT_REFCLK_DRIVER' undeclared here (not in a function)
225 | [CDNS_TORRENT_REFCLK_DRIVER] = "refclk-driver",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/phy/cadence/phy-cadence-torrent.c:225:3: error: array index in initializer not of integer type
drivers/phy/cadence/phy-cadence-torrent.c:225:3: note: (near initialization for 'clk_names')
vim +/CDNS_TORRENT_REFCLK_DRIVER +225 drivers/phy/cadence/phy-cadence-torrent.c
223
224 static const char * const clk_names[] = {
> 225 [CDNS_TORRENT_REFCLK_DRIVER] = "refclk-driver",
226 };
227
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 30747 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-phy/attachments/20210310/00b79ded/attachment-0001.gz>
More information about the linux-phy
mailing list