Hi Jens,

kernel test robot noticed the following build errors:

[auto build test ERROR on dtor-input/next]
[also build test ERROR on dtor-input/for-linus robh/for-next krzk-dt/for-next 
linus/master v6.14-rc5 next-20250307]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Jens-Reidel/dt-bindings-input-goodix-gt9916-Document-gt9897-compatible/20250307-175154
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link:    
https://lore.kernel.org/r/20250307094823.478152-3-adrian%40mainlining.org
patch subject: [PATCH v3 2/2] Input: goodix_berlin - Add support for Berlin-A 
series
config: i386-buildonly-randconfig-003-20250308 
(https://download.01.org/0day-ci/archive/20250308/202503081721.eofr4bx9-...@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project 
cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250308/202503081721.eofr4bx9-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202503081721.eofr4bx9-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/input/touchscreen/goodix_berlin_i2c.c:35:22: error: use of 
>> undeclared identifier 'cd'
      35 |                 i2c_get_match_data(cd->dev);
         |                                    ^
   1 error generated.


vim +/cd +35 drivers/input/touchscreen/goodix_berlin_i2c.c

    31  
    32  static int goodix_berlin_i2c_probe(struct i2c_client *client)
    33  {
    34          const struct goodix_berlin_ic_data *ic_data =
  > 35                  i2c_get_match_data(cd->dev);
    36          struct regmap *regmap;
    37          int error;
    38  
    39          regmap = devm_regmap_init_i2c(client, 
&goodix_berlin_i2c_regmap_conf);
    40          if (IS_ERR(regmap))
    41                  return PTR_ERR(regmap);
    42  
    43          error = goodix_berlin_probe(&client->dev, client->irq,
    44                                      &goodix_berlin_i2c_input_id, regmap,
    45                                      ic_data);
    46          if (error)
    47                  return error;
    48  
    49          return 0;
    50  }
    51  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to