All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, Malloy Liu <liuqi1610@phytium.com.cn>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:openEuler-1.0-LTS 21349/23271] drivers/mmc/host/phytium-sdci.c:1483:23: error: lvalue required as unary '&' operand
Date: Sat, 13 Jul 2024 00:46:48 +0800	[thread overview]
Message-ID: <202407130055.5P1q7PDM-lkp@intel.com> (raw)

tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head:   07c988f00903b4f0fbf9c31cea24351fbf885b1c
commit: d65622e6edee11f7fcbd295bdb5aef86e12dfef3 [21349/23271] mmc: add support for Phytium MMC
config: arm64-randconfig-001-20240712 (https://download.01.org/0day-ci/archive/20240713/202407130055.5P1q7PDM-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240713/202407130055.5P1q7PDM-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407130055.5P1q7PDM-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/mmc/host/phytium-sdci.c: In function 'phytium_sdci_start_data':
   drivers/mmc/host/phytium-sdci.c:271:14: warning: variable 'read' set but not used [-Wunused-but-set-variable]
     271 |         bool read, res;
         |              ^~~~
   drivers/mmc/host/phytium-sdci.c: In function 'phytium_sdci_dma_irq':
   drivers/mmc/host/phytium-sdci.c:1018:29: warning: variable 'cmd' set but not used [-Wunused-but-set-variable]
    1018 |         struct mmc_command *cmd;
         |                             ^~~
   drivers/mmc/host/phytium-sdci.c: At top level:
>> drivers/mmc/host/phytium-sdci.c:1483:23: error: lvalue required as unary '&' operand
    1483 |                 .pm = &phytium_sdci_dev_pm_ops,
         |                       ^


vim +1483 drivers/mmc/host/phytium-sdci.c

  1475	
  1476	static struct platform_driver phytium_sdci_driver = {
  1477		.probe = phytium_sdci_probe,
  1478		.remove = phytium_sdci_remove,
  1479		.driver = {
  1480			.name = "sdci-phytium",
  1481			.of_match_table = phytium_sdci_of_ids,
  1482			.acpi_match_table = phytium_sdci_acpi_ids,
> 1483			.pm = &phytium_sdci_dev_pm_ops,
  1484		},
  1485	};
  1486	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-07-12 16:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202407130055.5P1q7PDM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kernel@openeuler.org \
    --cc=liuqi1610@phytium.com.cn \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.