LKML Archive on lore.kernel.org
 help / color / Atom feed
* drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum!
@ 2020-10-18  4:41 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-18  4:41 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: kbuild-all, linux-kernel, linux-media


[-- Attachment #1: Type: text/plain, Size: 3124 bytes --]

Hi Mauro,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9d9af1007bc08971953ae915d88dc9bb21344b53
commit: d38c8cfb057183f619dc8534030bb64b63f78043 scripts: kernel-doc: add support for typedef enum
date:   3 days ago
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d38c8cfb057183f619dc8534030bb64b63f78043
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d38c8cfb057183f619dc8534030bb64b63f78043
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum!

vim +210 drivers/pinctrl/intel/pinctrl-intel.c

7981c0015af2632 Mika Westerberg 2015-03-30  192  
1bd231538c21d1c Andy Shevchenko 2019-08-12  193  /**
1bd231538c21d1c Andy Shevchenko 2019-08-12  194   * enum - Locking variants of the pad configuration
1bd231538c21d1c Andy Shevchenko 2019-08-12  195   *
1bd231538c21d1c Andy Shevchenko 2019-08-12  196   * @PAD_UNLOCKED:	pad is fully controlled by the configuration registers
1bd231538c21d1c Andy Shevchenko 2019-08-12  197   * @PAD_LOCKED:		pad configuration registers, except TX state, are locked
1bd231538c21d1c Andy Shevchenko 2019-08-12  198   * @PAD_LOCKED_TX:	pad configuration TX state is locked
1bd231538c21d1c Andy Shevchenko 2019-08-12  199   * @PAD_LOCKED_FULL:	pad configuration registers are locked completely
1bd231538c21d1c Andy Shevchenko 2019-08-12  200   *
1bd231538c21d1c Andy Shevchenko 2019-08-12  201   * Locking is considered as read-only mode for corresponding registers and
1bd231538c21d1c Andy Shevchenko 2019-08-12  202   * their respective fields. That said, TX state bit is locked separately from
1bd231538c21d1c Andy Shevchenko 2019-08-12  203   * the main locking scheme.
1bd231538c21d1c Andy Shevchenko 2019-08-12  204   */
1bd231538c21d1c Andy Shevchenko 2019-08-12  205  enum {
1bd231538c21d1c Andy Shevchenko 2019-08-12  206  	PAD_UNLOCKED	= 0,
1bd231538c21d1c Andy Shevchenko 2019-08-12  207  	PAD_LOCKED	= 1,
1bd231538c21d1c Andy Shevchenko 2019-08-12  208  	PAD_LOCKED_TX	= 2,
1bd231538c21d1c Andy Shevchenko 2019-08-12  209  	PAD_LOCKED_FULL	= PAD_LOCKED | PAD_LOCKED_TX,
1bd231538c21d1c Andy Shevchenko 2019-08-12 @210  };
1bd231538c21d1c Andy Shevchenko 2019-08-12  211  

:::::: The code at line 210 was first introduced by commit
:::::: 1bd231538c21d1cd691e71cbeeb4100fabc58068 pinctrl: intel: Allow to request locked pads

:::::: TO: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
:::::: CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum!
@ 2020-10-18  4:09 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-18  4:09 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: kbuild-all, linux-kernel, linux-media


[-- Attachment #1: Type: text/plain, Size: 3059 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9d9af1007bc08971953ae915d88dc9bb21344b53
commit: d38c8cfb057183f619dc8534030bb64b63f78043 scripts: kernel-doc: add support for typedef enum
date:   3 days ago
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d38c8cfb057183f619dc8534030bb64b63f78043
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d38c8cfb057183f619dc8534030bb64b63f78043
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum!

vim +210 drivers/pinctrl/intel/pinctrl-intel.c

7981c0015af2632 Mika Westerberg 2015-03-30  192  
1bd231538c21d1c Andy Shevchenko 2019-08-12  193  /**
1bd231538c21d1c Andy Shevchenko 2019-08-12  194   * enum - Locking variants of the pad configuration
1bd231538c21d1c Andy Shevchenko 2019-08-12  195   *
1bd231538c21d1c Andy Shevchenko 2019-08-12  196   * @PAD_UNLOCKED:	pad is fully controlled by the configuration registers
1bd231538c21d1c Andy Shevchenko 2019-08-12  197   * @PAD_LOCKED:		pad configuration registers, except TX state, are locked
1bd231538c21d1c Andy Shevchenko 2019-08-12  198   * @PAD_LOCKED_TX:	pad configuration TX state is locked
1bd231538c21d1c Andy Shevchenko 2019-08-12  199   * @PAD_LOCKED_FULL:	pad configuration registers are locked completely
1bd231538c21d1c Andy Shevchenko 2019-08-12  200   *
1bd231538c21d1c Andy Shevchenko 2019-08-12  201   * Locking is considered as read-only mode for corresponding registers and
1bd231538c21d1c Andy Shevchenko 2019-08-12  202   * their respective fields. That said, TX state bit is locked separately from
1bd231538c21d1c Andy Shevchenko 2019-08-12  203   * the main locking scheme.
1bd231538c21d1c Andy Shevchenko 2019-08-12  204   */
1bd231538c21d1c Andy Shevchenko 2019-08-12  205  enum {
1bd231538c21d1c Andy Shevchenko 2019-08-12  206  	PAD_UNLOCKED	= 0,
1bd231538c21d1c Andy Shevchenko 2019-08-12  207  	PAD_LOCKED	= 1,
1bd231538c21d1c Andy Shevchenko 2019-08-12  208  	PAD_LOCKED_TX	= 2,
1bd231538c21d1c Andy Shevchenko 2019-08-12  209  	PAD_LOCKED_FULL	= PAD_LOCKED | PAD_LOCKED_TX,
1bd231538c21d1c Andy Shevchenko 2019-08-12 @210  };
1bd231538c21d1c Andy Shevchenko 2019-08-12  211  

:::::: The code at line 210 was first introduced by commit
:::::: 1bd231538c21d1cd691e71cbeeb4100fabc58068 pinctrl: intel: Allow to request locked pads

:::::: TO: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
:::::: CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 45737 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-18  4:41 drivers/pinctrl/intel/pinctrl-intel.c:210: error: Cannot parse enum! kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-10-18  4:09 kernel test robot

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
	git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git
	git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git