* Re: [PATCH v3] staging: fbtft: convert sysfs attributes to use ATTRIBUTE_GROUPS
2026-05-12 20:01 [PATCH v3] staging: fbtft: convert sysfs attributes to use ATTRIBUTE_GROUPS Harshit Shaw
2026-05-12 20:19 ` Andy Shevchenko
@ 2026-05-13 4:19 ` kernel test robot
1 sibling, 0 replies; 4+ messages in thread
From: kernel test robot @ 2026-05-13 4:19 UTC (permalink / raw)
To: Harshit Shaw, andriy.shevchenko
Cc: llvm, oe-kbuild-all, gregkh, error27, deller, chintanlike,
tzimmermann, linux-staging, linux-kernel, Harshit Shaw
Hi Harshit,
kernel test robot noticed the following build errors:
[auto build test ERROR on staging/staging-testing]
url: https://github.com/intel-lab-lkp/linux/commits/Harshit-Shaw/staging-fbtft-convert-sysfs-attributes-to-use-ATTRIBUTE_GROUPS/20260513-044051
base: staging/staging-testing
patch link: https://lore.kernel.org/r/20260512200104.19002-1-shawharshit116%40gmail.com
patch subject: [PATCH v3] staging: fbtft: convert sysfs attributes to use ATTRIBUTE_GROUPS
config: powerpc64-randconfig-002-20260513 (https://download.01.org/0day-ci/archive/20260513/202605131232.m3YE1tEv-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260513/202605131232.m3YE1tEv-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/202605131232.m3YE1tEv-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/staging/fbtft/fb_ssd1305.c:198:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
198 | FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1305", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_ssd1305.c:198:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
198 | FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1305", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_ssd1305.c:198:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
198 | FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1305", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_ssd1305.c:198:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
198 | FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1305", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
--
drivers/staging/fbtft/fb_upd161704.c:175:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
175 | FBTFT_REGISTER_DRIVER(DRVNAME, "nec,upd161704", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_upd161704.c:175:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
175 | FBTFT_REGISTER_DRIVER(DRVNAME, "nec,upd161704", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_upd161704.c:175:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
175 | FBTFT_REGISTER_DRIVER(DRVNAME, "nec,upd161704", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_upd161704.c:175:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
175 | FBTFT_REGISTER_DRIVER(DRVNAME, "nec,upd161704", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
--
drivers/staging/fbtft/fb_tls8204.c:153:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
153 | FBTFT_REGISTER_DRIVER(DRVNAME, "teralane,tls8204", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_tls8204.c:153:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
153 | FBTFT_REGISTER_DRIVER(DRVNAME, "teralane,tls8204", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_tls8204.c:153:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
153 | FBTFT_REGISTER_DRIVER(DRVNAME, "teralane,tls8204", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_tls8204.c:153:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
153 | FBTFT_REGISTER_DRIVER(DRVNAME, "teralane,tls8204", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
--
drivers/staging/fbtft/fb_ili9341.c:136:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
136 | FBTFT_REGISTER_SPI_DRIVER(DRVNAME, "ilitek", "ili9341", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:368:11: note: expanded from macro 'FBTFT_REGISTER_SPI_DRIVER'
368 | \
| ^
369 | FBTFT_SPI_DRIVER(_name, _comp_vend "," _comp_dev, _display, spi_ids) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_ili9341.c:136:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
136 | FBTFT_REGISTER_SPI_DRIVER(DRVNAME, "ilitek", "ili9341", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:368:11: note: expanded from macro 'FBTFT_REGISTER_SPI_DRIVER'
368 | \
| ^
369 | FBTFT_SPI_DRIVER(_name, _comp_vend "," _comp_dev, _display, spi_ids) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
2 errors generated.
--
drivers/staging/fbtft/fb_st7735r.c:165:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
165 | FBTFT_REGISTER_DRIVER(DRVNAME, "sitronix,st7735r", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_st7735r.c:165:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
165 | FBTFT_REGISTER_DRIVER(DRVNAME, "sitronix,st7735r", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_st7735r.c:165:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
165 | FBTFT_REGISTER_DRIVER(DRVNAME, "sitronix,st7735r", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_st7735r.c:165:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
165 | FBTFT_REGISTER_DRIVER(DRVNAME, "sitronix,st7735r", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
--
drivers/staging/fbtft/fb_hx8357d.c:178:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
178 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8357d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_hx8357d.c:178:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
178 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8357d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_hx8357d.c:178:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
178 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8357d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_hx8357d.c:178:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
178 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8357d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
--
drivers/staging/fbtft/fb_hx8347d.c:174:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
174 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8347d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_hx8347d.c:174:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
174 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8347d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_hx8347d.c:174:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
174 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8347d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_hx8347d.c:174:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
174 | FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8347d", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
--
drivers/staging/fbtft/fb_uc1611.c:325:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
325 | FBTFT_REGISTER_DRIVER(DRVNAME, "ultrachip,uc1611", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_uc1611.c:325:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
325 | FBTFT_REGISTER_DRIVER(DRVNAME, "ultrachip,uc1611", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:323:13: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
323 | \
| ^
324 | FBTFT_SPI_DRIVER(_name, _compatible, _display, NULL) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:301:17: note: expanded from macro '\
FBTFT_SPI_DRIVER'
301 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
drivers/staging/fbtft/fb_uc1611.c:325:1: error: use of undeclared identifier 'fbtft_groups'; did you mean 'set_groups'?
325 | FBTFT_REGISTER_DRIVER(DRVNAME, "ultrachip,uc1611", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
include/linux/cred.h:70:13: note: 'set_groups' declared here
70 | extern void set_groups(struct cred *, struct group_info *);
| ^
>> drivers/staging/fbtft/fb_uc1611.c:325:1: error: incompatible pointer types initializing 'const struct attribute_group **' with an expression of type 'void (struct cred *, struct group_info *)' [-Wincompatible-pointer-types]
325 | FBTFT_REGISTER_DRIVER(DRVNAME, "ultrachip,uc1611", &display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/fbtft/fbtft.h:331:17: note: expanded from macro 'FBTFT_REGISTER_DRIVER'
331 | .dev_groups = fbtft_groups, \
| ^~~~~~~~~~~~
4 errors generated.
..
vim +198 drivers/staging/fbtft/fb_ssd1305.c
5795354f75132a Alexey Mednyy 2016-01-27 197
5795354f75132a Alexey Mednyy 2016-01-27 @198 FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1305", &display);
5795354f75132a Alexey Mednyy 2016-01-27 199
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread