* [sashal-linux-stable:queue-4.19 100/116] sound/soc/codecs/cs42l42.c:406:3: error: 'const struct regmap_config' has no member named 'use_single_read'; did you mean 'use_single_rw'?
@ 2021-05-31 0:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-31 0:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 7981 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.19
head: 9dfeb4a31a8615b7f1f755c9f9601fd119a13750
commit: 2c988b08a8b9cd347ccc517443c57737ed929e35 [100/116] ASoC: cs42l42: Regmap must use_single_read/write
config: openrisc-randconfig-r016-20210531 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.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/sashal/linux-stable.git/commit/?id=2c988b08a8b9cd347ccc517443c57737ed929e35
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.19
git checkout 2c988b08a8b9cd347ccc517443c57737ed929e35
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
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 >>):
>> sound/soc/codecs/cs42l42.c:406:3: error: 'const struct regmap_config' has no member named 'use_single_read'; did you mean 'use_single_rw'?
406 | .use_single_read = true,
| ^~~~~~~~~~~~~~~
| use_single_rw
>> sound/soc/codecs/cs42l42.c:406:21: warning: initialization of 'const void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
406 | .use_single_read = true,
| ^~~~
sound/soc/codecs/cs42l42.c:406:21: note: (near initialization for 'cs42l42_regmap.reg_defaults_raw')
>> sound/soc/codecs/cs42l42.c:407:3: error: 'const struct regmap_config' has no member named 'use_single_write'; did you mean 'use_single_rw'?
407 | .use_single_write = true,
| ^~~~~~~~~~~~~~~~
| use_single_rw
In file included from include/linux/kernel.h:10,
from include/linux/list.h:9,
from include/linux/module.h:9,
from sound/soc/codecs/cs42l42.c:16:
sound/soc/codecs/cs42l42.c: In function 'cs42l42_handle_device_data':
sound/soc/codecs/cs42l42.c:1661:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1661 | if ((val >= CS42L42_BTN_DET_INIT_DBNCE_MIN) &&
| ^~
include/linux/compiler.h:58:30: note: in definition of macro '__trace_if'
58 | if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
| ^~~~
sound/soc/codecs/cs42l42.c:1661:3: note: in expansion of macro 'if'
1661 | if ((val >= CS42L42_BTN_DET_INIT_DBNCE_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1661:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1661 | if ((val >= CS42L42_BTN_DET_INIT_DBNCE_MIN) &&
| ^~
include/linux/compiler.h:58:42: note: in definition of macro '__trace_if'
58 | if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
| ^~~~
sound/soc/codecs/cs42l42.c:1661:3: note: in expansion of macro 'if'
1661 | if ((val >= CS42L42_BTN_DET_INIT_DBNCE_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1661:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1661 | if ((val >= CS42L42_BTN_DET_INIT_DBNCE_MIN) &&
| ^~
include/linux/compiler.h:69:16: note: in definition of macro '__trace_if'
69 | ______r = !!(cond); \
| ^~~~
sound/soc/codecs/cs42l42.c:1661:3: note: in expansion of macro 'if'
1661 | if ((val >= CS42L42_BTN_DET_INIT_DBNCE_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1679:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1679 | if ((val >= CS42L42_BTN_DET_EVENT_DBNCE_MIN) &&
| ^~
include/linux/compiler.h:58:30: note: in definition of macro '__trace_if'
58 | if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
| ^~~~
sound/soc/codecs/cs42l42.c:1679:3: note: in expansion of macro 'if'
1679 | if ((val >= CS42L42_BTN_DET_EVENT_DBNCE_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1679:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1679 | if ((val >= CS42L42_BTN_DET_EVENT_DBNCE_MIN) &&
| ^~
include/linux/compiler.h:58:42: note: in definition of macro '__trace_if'
58 | if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
| ^~~~
sound/soc/codecs/cs42l42.c:1679:3: note: in expansion of macro 'if'
1679 | if ((val >= CS42L42_BTN_DET_EVENT_DBNCE_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1679:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1679 | if ((val >= CS42L42_BTN_DET_EVENT_DBNCE_MIN) &&
| ^~
include/linux/compiler.h:69:16: note: in definition of macro '__trace_if'
69 | ______r = !!(cond); \
| ^~~~
sound/soc/codecs/cs42l42.c:1679:3: note: in expansion of macro 'if'
1679 | if ((val >= CS42L42_BTN_DET_EVENT_DBNCE_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1698:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1698 | if ((thresholds[i] >= CS42L42_HS_DET_LEVEL_MIN) &&
| ^~
include/linux/compiler.h:58:30: note: in definition of macro '__trace_if'
58 | if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
| ^~~~
sound/soc/codecs/cs42l42.c:1698:4: note: in expansion of macro 'if'
1698 | if ((thresholds[i] >= CS42L42_HS_DET_LEVEL_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1698:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1698 | if ((thresholds[i] >= CS42L42_HS_DET_LEVEL_MIN) &&
| ^~
include/linux/compiler.h:58:42: note: in definition of macro '__trace_if'
58 | if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
| ^~~~
sound/soc/codecs/cs42l42.c:1698:4: note: in expansion of macro 'if'
1698 | if ((thresholds[i] >= CS42L42_HS_DET_LEVEL_MIN) &&
| ^~
sound/soc/codecs/cs42l42.c:1698:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1698 | if ((thresholds[i] >= CS42L42_HS_DET_LEVEL_MIN) &&
| ^~
include/linux/compiler.h:69:16: note: in definition of macro '__trace_if'
69 | ______r = !!(cond); \
| ^~~~
sound/soc/codecs/cs42l42.c:1698:4: note: in expansion of macro 'if'
1698 | if ((thresholds[i] >= CS42L42_HS_DET_LEVEL_MIN) &&
| ^~
vim +406 sound/soc/codecs/cs42l42.c
390
391 static const struct regmap_config cs42l42_regmap = {
392 .reg_bits = 8,
393 .val_bits = 8,
394
395 .readable_reg = cs42l42_readable_register,
396 .volatile_reg = cs42l42_volatile_register,
397
398 .ranges = &cs42l42_page_range,
399 .num_ranges = 1,
400
401 .max_register = CS42L42_MAX_REGISTER,
402 .reg_defaults = cs42l42_reg_defaults,
403 .num_reg_defaults = ARRAY_SIZE(cs42l42_reg_defaults),
404 .cache_type = REGCACHE_RBTREE,
405
> 406 .use_single_read = true,
> 407 .use_single_write = true,
408 };
409
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27540 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-31 0:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 0:54 [sashal-linux-stable:queue-4.19 100/116] sound/soc/codecs/cs42l42.c:406:3: error: 'const struct regmap_config' has no member named 'use_single_read'; did you mean 'use_single_rw'? kernel test robot
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.