Hi Ashish,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tegra/for-next]
[also build test ERROR on v5.16 next-20220120]
[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/Ashish-Mhetre/memory-tegra-Updat...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next
config: arm-allyesconfig
(
https://download.01.org/0day-ci/archive/20220121/202201210912.gUHr0zcb-lk...)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/71553a1a735ae07293d43df685262f85e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Ashish-Mhetre/memory-tegra-Update-mc-interrupts/20220112-024847
git checkout 71553a1a735ae07293d43df685262f85e6453170
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=arm SHELL=/bin/bash
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/memory/tegra/tegra20.c:797:10: error: 'const struct tegra_mc_ops' has
no member named 'interrupt_ops'
797 | .interrupt_ops = tegra20_mc_interrupt_ops,
| ^~~~~~~~~~~~~
> drivers/memory/tegra/tegra20.c:797:26: error: positional
initialization of field in 'struct' declared with 'designated_init'
attribute [-Werror=designated-init]
797 | .interrupt_ops =
tegra20_mc_interrupt_ops,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/memory/tegra/tegra20.c:797:26: note: (near initialization for
'tegra20_mc_ops')
drivers/memory/tegra/tegra20.c:797:26: error: incompatible types when initializing type
'int (*)(struct tegra_mc *)' using type 'struct tegra_mc_interrupt_ops'
cc1: some warnings being treated as errors
vim +797 drivers/memory/tegra/tegra20.c
792
793 static const struct tegra_mc_ops tegra20_mc_ops = {
794 .probe = tegra20_mc_probe,
795 .suspend = tegra20_mc_suspend,
796 .resume = tegra20_mc_resume,
797 .interrupt_ops = tegra20_mc_interrupt_ops,
798 };
799
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org