tree:
https://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git
for-5.10/soc
head: c83a88ee760240356bc6789de5b8f6495a774612
commit: c83a88ee760240356bc6789de5b8f6495a774612 [6/6] soc/tegra: pmc: Add Tegra234
support
config: arm-randconfig-r013-20200917 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1321160a26e7e489baf9b10d6de90a342f898960)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git checkout c83a88ee760240356bc6789de5b8f6495a774612
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 warnings (new ones prefixed by >>):
> drivers/soc/tegra/pmc.c:3378:27: warning: unused variable
'tegra234_reset_sources' [-Wunused-const-variable]
static const char *
const tegra234_reset_sources[] = {
^
> drivers/soc/tegra/pmc.c:3402:35: warning: unused variable
'tegra234_pmc_soc' [-Wunused-const-variable]
static const struct
tegra_pmc_soc tegra234_pmc_soc = {
^
2 warnings generated.
#
https://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git/c...
git remote add arm-tegra
https://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git
git fetch --no-tags arm-tegra for-5.10/soc
git checkout c83a88ee760240356bc6789de5b8f6495a774612
vim +/tegra234_reset_sources +3378 drivers/soc/tegra/pmc.c
3377
3378 static const char * const tegra234_reset_sources[] = {
3379 "SYS_RESET_N",
3380 "AOWDT",
3381 "BCCPLEXWDT",
3382 "BPMPWDT",
3383 "SCEWDT",
3384 "SPEWDT",
3385 "APEWDT",
3386 "LCCPLEXWDT",
3387 "SENSOR",
3388 "AOTAG",
3389 "VFSENSOR",
3390 "MAINSWRST",
3391 "SC7",
3392 "HSM",
3393 "CSITE",
3394 "RCEWDT",
3395 "PVA0WDT",
3396 "PVA1WDT",
3397 "L1A_ASYNC",
3398 "BPMPBOOT",
3399 "FUSECRC",
3400 };
3401
3402 static const struct tegra_pmc_soc tegra234_pmc_soc = {
3403 .num_powergates = 0,
3404 .powergates = NULL,
3405 .num_cpu_powergates = 0,
3406 .cpu_powergates = NULL,
3407 .has_tsense_reset = false,
3408 .has_gpu_clamps = false,
3409 .needs_mbist_war = false,
3410 .has_impl_33v_pwr = true,
3411 .maybe_tz_only = false,
3412 .num_io_pads = 0,
3413 .io_pads = NULL,
3414 .num_pin_descs = 0,
3415 .pin_descs = NULL,
3416 .regs = &tegra234_pmc_regs,
3417 .init = NULL,
3418 .setup_irq_polarity = tegra186_pmc_setup_irq_polarity,
3419 .irq_set_wake = tegra186_pmc_irq_set_wake,
3420 .irq_set_type = tegra186_pmc_irq_set_type,
3421 .reset_sources = tegra194_reset_sources,
3422 .num_reset_sources = ARRAY_SIZE(tegra194_reset_sources),
3423 .reset_levels = tegra186_reset_levels,
3424 .num_reset_levels = ARRAY_SIZE(tegra186_reset_levels),
3425 .num_wake_events = 0,
3426 .wake_events = NULL,
3427 .pmc_clks_data = NULL,
3428 .num_pmc_clks = 0,
3429 .has_blink_output = false,
3430 };
3431
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org