linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	arm@kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: [soc:pxa-multiplatform-5.18 30/48] arch/mips/alchemy/devboards/db1300.c:744:10: error: 'struct wm97xx_mach_ops' has no member named 'irq_enable'
Date: Wed, 6 Apr 2022 02:42:04 +0800	[thread overview]
Message-ID: <202204060221.lOETuc06-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git pxa-multiplatform-5.18
head:   4a123f8a2d8aa2e0a82f2bfdf313b1cb797c19e2
commit: 356d02c6854766d6d062f7dd75a0c88d3a09a96c [30/48] Input: wm97xx - get rid of irq_enable method in wm97xx_mach_ops
config: mips-db1xxx_defconfig (https://download.01.org/0day-ci/archive/20220406/202204060221.lOETuc06-lkp@intel.com/config)
compiler: mipsel-linux-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://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=356d02c6854766d6d062f7dd75a0c88d3a09a96c
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc pxa-multiplatform-5.18
        git checkout 356d02c6854766d6d062f7dd75a0c88d3a09a96c
        # 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=mips SHELL=/bin/bash arch/mips/alchemy/devboards/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

>> arch/mips/alchemy/devboards/db1300.c:744:10: error: 'struct wm97xx_mach_ops' has no member named 'irq_enable'
     744 |         .irq_enable     = db1300_wm97xx_irqen,
         |          ^~~~~~~~~~
>> arch/mips/alchemy/devboards/db1300.c:744:27: warning: initialization of 'int' from 'void (*)(struct wm97xx *, int)' makes integer from pointer without a cast [-Wint-conversion]
     744 |         .irq_enable     = db1300_wm97xx_irqen,
         |                           ^~~~~~~~~~~~~~~~~~~
   arch/mips/alchemy/devboards/db1300.c:744:27: note: (near initialization for 'db1300_wm97xx_ops.acc_enabled')
   arch/mips/alchemy/devboards/db1300.c:799:12: warning: no previous prototype for 'db1300_dev_setup' [-Wmissing-prototypes]
     799 | int __init db1300_dev_setup(void)
         |            ^~~~~~~~~~~~~~~~
   arch/mips/alchemy/devboards/db1300.c:868:12: warning: no previous prototype for 'db1300_board_setup' [-Wmissing-prototypes]
     868 | int __init db1300_board_setup(void)
         |            ^~~~~~~~~~~~~~~~~~


vim +744 arch/mips/alchemy/devboards/db1300.c

c64bb5f0c26f6e Manuel Lauss 2014-08-20  742  
c64bb5f0c26f6e Manuel Lauss 2014-08-20  743  static struct wm97xx_mach_ops db1300_wm97xx_ops = {
c64bb5f0c26f6e Manuel Lauss 2014-08-20 @744  	.irq_enable	= db1300_wm97xx_irqen,
c64bb5f0c26f6e Manuel Lauss 2014-08-20  745  	.irq_gpio	= WM97XX_GPIO_3,
c64bb5f0c26f6e Manuel Lauss 2014-08-20  746  };
c64bb5f0c26f6e Manuel Lauss 2014-08-20  747  

:::::: The code at line 744 was first introduced by commit
:::::: c64bb5f0c26f6ea791270852217b7cb28553ba76 MIPS: Alchemy: DB1300: Add touch penirq support

:::::: TO: Manuel Lauss <manuel.lauss@gmail.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2022-04-05 18:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 18:42 kernel test robot [this message]
2022-04-08  8:45 ` [soc:pxa-multiplatform-5.18 30/48] arch/mips/alchemy/devboards/db1300.c:744:10: error: 'struct wm97xx_mach_ops' has no member named 'irq_enable' Arnd Bergmann

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=202204060221.lOETuc06-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).