All of lore.kernel.org
 help / color / mirror / Atom feed
* [geert-renesas-drivers:master 17/54] drivers/gpu/drm/bridge/lontium-lt9611.c:1147:15: error: 'struct lt9611' has no member named 'audio_pdev'
@ 2025-01-14 23:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-14 23:20 UTC (permalink / raw)
  To: Dave Airlie; +Cc: oe-kbuild-all, linux-renesas-soc, Geert Uytterhoeven

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   d088502a519fb7834bf6e34cb4e531c1e8113bd1
commit: b49bbb5dbe7654f0d7996206f543d91bbed33569 [17/54] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers
config: i386-buildonly-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250115/202501150734.lfH7WaHA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250115/202501150734.lfH7WaHA-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/202501150734.lfH7WaHA-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/bridge/lontium-lt9611.c: In function 'lt9611_audio_init':
>> drivers/gpu/drm/bridge/lontium-lt9611.c:1147:15: error: 'struct lt9611' has no member named 'audio_pdev'
    1147 |         lt9611->audio_pdev =
         |               ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c:1152:38: error: 'struct lt9611' has no member named 'audio_pdev'
    1152 |         return PTR_ERR_OR_ZERO(lt9611->audio_pdev);
         |                                      ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c: In function 'lt9611_audio_exit':
   drivers/gpu/drm/bridge/lontium-lt9611.c:1157:19: error: 'struct lt9611' has no member named 'audio_pdev'
    1157 |         if (lt9611->audio_pdev) {
         |                   ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c:1158:50: error: 'struct lt9611' has no member named 'audio_pdev'
    1158 |                 platform_device_unregister(lt9611->audio_pdev);
         |                                                  ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c:1159:23: error: 'struct lt9611' has no member named 'audio_pdev'
    1159 |                 lt9611->audio_pdev = NULL;
         |                       ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c: At top level:
>> drivers/gpu/drm/bridge/lontium-lt9611.c:1155:13: warning: 'lt9611_audio_exit' defined but not used [-Wunused-function]
    1155 | static void lt9611_audio_exit(struct lt9611 *lt9611)
         |             ^~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/lontium-lt9611.c:1144:12: warning: 'lt9611_audio_init' defined but not used [-Wunused-function]
    1144 | static int lt9611_audio_init(struct device *dev, struct lt9611 *lt9611)
         |            ^~~~~~~~~~~~~~~~~


vim +1147 drivers/gpu/drm/bridge/lontium-lt9611.c

23278bf54afe180 Vinod Koul 2020-07-23  1143  
23278bf54afe180 Vinod Koul 2020-07-23 @1144  static int lt9611_audio_init(struct device *dev, struct lt9611 *lt9611)
23278bf54afe180 Vinod Koul 2020-07-23  1145  {
23278bf54afe180 Vinod Koul 2020-07-23  1146  	codec_data.data = lt9611;
23278bf54afe180 Vinod Koul 2020-07-23 @1147  	lt9611->audio_pdev =
23278bf54afe180 Vinod Koul 2020-07-23  1148  		platform_device_register_data(dev, HDMI_CODEC_DRV_NAME,
23278bf54afe180 Vinod Koul 2020-07-23  1149  					      PLATFORM_DEVID_AUTO,
23278bf54afe180 Vinod Koul 2020-07-23  1150  					      &codec_data, sizeof(codec_data));
23278bf54afe180 Vinod Koul 2020-07-23  1151  
23278bf54afe180 Vinod Koul 2020-07-23  1152  	return PTR_ERR_OR_ZERO(lt9611->audio_pdev);
23278bf54afe180 Vinod Koul 2020-07-23  1153  }
23278bf54afe180 Vinod Koul 2020-07-23  1154  
23278bf54afe180 Vinod Koul 2020-07-23 @1155  static void lt9611_audio_exit(struct lt9611 *lt9611)
23278bf54afe180 Vinod Koul 2020-07-23  1156  {
23278bf54afe180 Vinod Koul 2020-07-23  1157  	if (lt9611->audio_pdev) {
23278bf54afe180 Vinod Koul 2020-07-23 @1158  		platform_device_unregister(lt9611->audio_pdev);
23278bf54afe180 Vinod Koul 2020-07-23 @1159  		lt9611->audio_pdev = NULL;
23278bf54afe180 Vinod Koul 2020-07-23  1160  	}
23278bf54afe180 Vinod Koul 2020-07-23  1161  }
23278bf54afe180 Vinod Koul 2020-07-23  1162  

:::::: The code at line 1147 was first introduced by commit
:::::: 23278bf54afe180967069bdc8c0f1c7a365fc63e drm/bridge: Introduce LT9611 DSI to HDMI bridge

:::::: TO: Vinod Koul <vkoul@kernel.org>
:::::: CC: Sam Ravnborg <sam@ravnborg.org>

-- 
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:[~2025-01-14 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 23:20 [geert-renesas-drivers:master 17/54] drivers/gpu/drm/bridge/lontium-lt9611.c:1147:15: error: 'struct lt9611' has no member named 'audio_pdev' 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.