[akpm-mm:mm-unstable 21/239] drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: error: unused function 'hdmi_read'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   13d127a82b5c70061560c65fb083e30e79363874
commit: 30c2de0a267c04046d89e678cc0067a9cfb455df [21/239] mm/vmstat: fix a W=1 clang compiler warning
config: arm-randconfig-003-20241222 (https://download.01.org/0day-ci/archive/20241222/202412220112.f5nh5rSz-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 9daf10ff8f29ba3a88a105aaa9d2379c21b77d35)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241222/202412220112.f5nh5rSz-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412220112.f5nh5rSz-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: error: unused function 'hdmi_read' [-Werror,-Wunused-function]
      30 | static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset)
         |                  ^~~~~~~~~
   1 error generated.


vim +/hdmi_read +30 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c

2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  29  
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 @30  static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset)
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  31  {
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  32  	struct dw_hdmi *hdmi = audio->hdmi;
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  33  
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  34  	return audio->read(hdmi, offset);
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  35  }
2761ba6c0925ca9 drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08  36  

:::::: The code at line 30 was first introduced by commit
:::::: 2761ba6c0925ca9c5b917a95f68135d9dce443fb drm: bridge: add DesignWare HDMI I2S audio support

:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
:::::: CC: Archit Taneja <architt@xxxxxxxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux