* [broonie-ci:file0IqEIN 13/14] sound/soc/codecs/rt1318.c:1340:3: error: field designator 'probe_new' does not refer to any field in type 'struct i2c_driver'
@ 2024-06-19 16:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-19 16:18 UTC (permalink / raw)
To: Jack Yu; +Cc: llvm, oe-kbuild-all, Mark Brown
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git file0IqEIN
head: 04c200922d911f7a33febc0e7991f3a2efd856ad
commit: 48ed4d2435aa749a8d59fd7543313d51d0800175 [13/14] ASoC: rt1318: Add RT1318 audio amplifier driver
config: x86_64-buildonly-randconfig-005-20240619 (https://download.01.org/0day-ci/archive/20240620/202406200054.fkVIlKhA-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406200054.fkVIlKhA-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/202406200054.fkVIlKhA-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/soc/codecs/rt1318.c:785:5: warning: no previous prototype for function 'rt1318_pll_calc' [-Wmissing-prototypes]
785 | int rt1318_pll_calc(const unsigned int freq_in,
| ^
sound/soc/codecs/rt1318.c:785:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
785 | int rt1318_pll_calc(const unsigned int freq_in,
| ^
| static
>> sound/soc/codecs/rt1318.c:1340:3: error: field designator 'probe_new' does not refer to any field in type 'struct i2c_driver'
1340 | .probe_new = rt1318_i2c_probe,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +1340 sound/soc/codecs/rt1318.c
1333
1334 struct i2c_driver rt1318_i2c_driver = {
1335 .driver = {
1336 .name = "rt1318",
1337 .of_match_table = of_match_ptr(rt1318_of_match),
1338 .acpi_match_table = ACPI_PTR(rt1318_acpi_match),
1339 },
> 1340 .probe_new = rt1318_i2c_probe,
1341 .id_table = rt1318_i2c_id,
1342 };
1343 module_i2c_driver(rt1318_i2c_driver);
1344
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-19 16:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 16:18 [broonie-ci:file0IqEIN 13/14] sound/soc/codecs/rt1318.c:1340:3: error: field designator 'probe_new' does not refer to any field in type 'struct i2c_driver' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox