All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex'.
@ 2021-08-20 10:50 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-20 10:50 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2376 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Paul Cercueil <paul@crapouillou.net>
CC: Sam Ravnborg <sam@ravnborg.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d992fe5318d8d7af9510b879439a3c7f283da442
commit: 33700f6f7d9f6b4e1e6df933ef7fd388889c662c drm/ingenic: Reset pixclock rate when parent clock rate changes
date:   11 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 11 months ago
config: arm64-randconfig-m031-20210820 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex'.

vim +157 drivers/gpu/drm/ingenic/ingenic-drm-drv.c

33700f6f7d9f6b Paul Cercueil 2020-09-26  142  
33700f6f7d9f6b Paul Cercueil 2020-09-26  143  static int ingenic_drm_update_pixclk(struct notifier_block *nb,
33700f6f7d9f6b Paul Cercueil 2020-09-26  144  				     unsigned long action,
33700f6f7d9f6b Paul Cercueil 2020-09-26  145  				     void *data)
33700f6f7d9f6b Paul Cercueil 2020-09-26  146  {
33700f6f7d9f6b Paul Cercueil 2020-09-26  147  	struct ingenic_drm *priv = drm_nb_get_priv(nb);
33700f6f7d9f6b Paul Cercueil 2020-09-26  148  
33700f6f7d9f6b Paul Cercueil 2020-09-26  149  	switch (action) {
33700f6f7d9f6b Paul Cercueil 2020-09-26  150  	case PRE_RATE_CHANGE:
33700f6f7d9f6b Paul Cercueil 2020-09-26  151  		mutex_lock(&priv->clk_mutex);
33700f6f7d9f6b Paul Cercueil 2020-09-26  152  		priv->update_clk_rate = true;
33700f6f7d9f6b Paul Cercueil 2020-09-26  153  		drm_crtc_wait_one_vblank(&priv->crtc);
33700f6f7d9f6b Paul Cercueil 2020-09-26  154  		return NOTIFY_OK;
33700f6f7d9f6b Paul Cercueil 2020-09-26  155  	default:
33700f6f7d9f6b Paul Cercueil 2020-09-26  156  		mutex_unlock(&priv->clk_mutex);
33700f6f7d9f6b Paul Cercueil 2020-09-26 @157  		return NOTIFY_OK;
33700f6f7d9f6b Paul Cercueil 2020-09-26  158  	}
33700f6f7d9f6b Paul Cercueil 2020-09-26  159  }
33700f6f7d9f6b Paul Cercueil 2020-09-26  160  

---
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: 31396 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex'.
@ 2021-09-12 16:53 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-09-12 16:53 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2376 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Paul Cercueil <paul@crapouillou.net>
CC: Sam Ravnborg <sam@ravnborg.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   78e709522d2c012cb0daad2e668506637bffb7c2
commit: 33700f6f7d9f6b4e1e6df933ef7fd388889c662c drm/ingenic: Reset pixclock rate when parent clock rate changes
date:   12 months ago
:::::: branch date: 19 hours ago
:::::: commit date: 12 months ago
config: openrisc-randconfig-m031-20210912 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex'.

vim +157 drivers/gpu/drm/ingenic/ingenic-drm-drv.c

33700f6f7d9f6b Paul Cercueil 2020-09-26  142  
33700f6f7d9f6b Paul Cercueil 2020-09-26  143  static int ingenic_drm_update_pixclk(struct notifier_block *nb,
33700f6f7d9f6b Paul Cercueil 2020-09-26  144  				     unsigned long action,
33700f6f7d9f6b Paul Cercueil 2020-09-26  145  				     void *data)
33700f6f7d9f6b Paul Cercueil 2020-09-26  146  {
33700f6f7d9f6b Paul Cercueil 2020-09-26  147  	struct ingenic_drm *priv = drm_nb_get_priv(nb);
33700f6f7d9f6b Paul Cercueil 2020-09-26  148  
33700f6f7d9f6b Paul Cercueil 2020-09-26  149  	switch (action) {
33700f6f7d9f6b Paul Cercueil 2020-09-26  150  	case PRE_RATE_CHANGE:
33700f6f7d9f6b Paul Cercueil 2020-09-26  151  		mutex_lock(&priv->clk_mutex);
33700f6f7d9f6b Paul Cercueil 2020-09-26  152  		priv->update_clk_rate = true;
33700f6f7d9f6b Paul Cercueil 2020-09-26  153  		drm_crtc_wait_one_vblank(&priv->crtc);
33700f6f7d9f6b Paul Cercueil 2020-09-26  154  		return NOTIFY_OK;
33700f6f7d9f6b Paul Cercueil 2020-09-26  155  	default:
33700f6f7d9f6b Paul Cercueil 2020-09-26  156  		mutex_unlock(&priv->clk_mutex);
33700f6f7d9f6b Paul Cercueil 2020-09-26 @157  		return NOTIFY_OK;
33700f6f7d9f6b Paul Cercueil 2020-09-26  158  	}
33700f6f7d9f6b Paul Cercueil 2020-09-26  159  }
33700f6f7d9f6b Paul Cercueil 2020-09-26  160  

---
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: 27686 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex'.
@ 2021-02-27 11:46 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-02-27 11:46 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2379 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Paul Cercueil <paul@crapouillou.net>
CC: Sam Ravnborg <sam@ravnborg.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3fb6d0e00efc958d01c2f109c8453033a2d96796
commit: 33700f6f7d9f6b4e1e6df933ef7fd388889c662c drm/ingenic: Reset pixclock rate when parent clock rate changes
date:   5 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 5 months ago
config: powerpc64-randconfig-m031-20210226 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex'.

vim +157 drivers/gpu/drm/ingenic/ingenic-drm-drv.c

33700f6f7d9f6b Paul Cercueil 2020-09-26  142  
33700f6f7d9f6b Paul Cercueil 2020-09-26  143  static int ingenic_drm_update_pixclk(struct notifier_block *nb,
33700f6f7d9f6b Paul Cercueil 2020-09-26  144  				     unsigned long action,
33700f6f7d9f6b Paul Cercueil 2020-09-26  145  				     void *data)
33700f6f7d9f6b Paul Cercueil 2020-09-26  146  {
33700f6f7d9f6b Paul Cercueil 2020-09-26  147  	struct ingenic_drm *priv = drm_nb_get_priv(nb);
33700f6f7d9f6b Paul Cercueil 2020-09-26  148  
33700f6f7d9f6b Paul Cercueil 2020-09-26  149  	switch (action) {
33700f6f7d9f6b Paul Cercueil 2020-09-26  150  	case PRE_RATE_CHANGE:
33700f6f7d9f6b Paul Cercueil 2020-09-26  151  		mutex_lock(&priv->clk_mutex);
33700f6f7d9f6b Paul Cercueil 2020-09-26  152  		priv->update_clk_rate = true;
33700f6f7d9f6b Paul Cercueil 2020-09-26  153  		drm_crtc_wait_one_vblank(&priv->crtc);
33700f6f7d9f6b Paul Cercueil 2020-09-26  154  		return NOTIFY_OK;
33700f6f7d9f6b Paul Cercueil 2020-09-26  155  	default:
33700f6f7d9f6b Paul Cercueil 2020-09-26  156  		mutex_unlock(&priv->clk_mutex);
33700f6f7d9f6b Paul Cercueil 2020-09-26 @157  		return NOTIFY_OK;
33700f6f7d9f6b Paul Cercueil 2020-09-26  158  	}
33700f6f7d9f6b Paul Cercueil 2020-09-26  159  }
33700f6f7d9f6b Paul Cercueil 2020-09-26  160  

---
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: 34973 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-12 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 10:50 drivers/gpu/drm/ingenic/ingenic-drm-drv.c:157 ingenic_drm_update_pixclk() warn: inconsistent returns '&priv->clk_mutex' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-09-12 16:53 kernel test robot
2021-02-27 11:46 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.