All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/i915/display/intel_crtc.c:241 intel_crtc_init() warn: passing a valid pointer to 'PTR_ERR'
@ 2021-11-11 17:42 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-11 17:42 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Dave Airlie <airlied@redhat.com>
CC: Jani Nikula <jani.nikula@intel.com>
CC: "Ville Syrjälä" <ville.syrjala@linux.intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   debe436e77c72fcee804fb867f275e6d31aa999c
commit: fbf756c31cca387510f4950bdd9704162e8196da drm/i915: refactor some crtc code out of intel display. (v2)
date:   10 months ago
:::::: branch date: 17 hours ago
:::::: commit date: 10 months ago
config: i386-randconfig-m021-20211019 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 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/i915/display/intel_crtc.c:241 intel_crtc_init() warn: passing a valid pointer to 'PTR_ERR'

vim +/PTR_ERR +241 drivers/gpu/drm/i915/display/intel_crtc.c

fbf756c31cca38 Dave Airlie 2021-01-14  231  
fbf756c31cca38 Dave Airlie 2021-01-14  232  int intel_crtc_init(struct drm_i915_private *dev_priv, enum pipe pipe)
fbf756c31cca38 Dave Airlie 2021-01-14  233  {
fbf756c31cca38 Dave Airlie 2021-01-14  234  	struct intel_plane *primary, *cursor;
fbf756c31cca38 Dave Airlie 2021-01-14  235  	const struct drm_crtc_funcs *funcs;
fbf756c31cca38 Dave Airlie 2021-01-14  236  	struct intel_crtc *crtc;
fbf756c31cca38 Dave Airlie 2021-01-14  237  	int sprite, ret;
fbf756c31cca38 Dave Airlie 2021-01-14  238  
fbf756c31cca38 Dave Airlie 2021-01-14  239  	crtc = intel_crtc_alloc();
fbf756c31cca38 Dave Airlie 2021-01-14  240  	if (IS_ERR(crtc))
fbf756c31cca38 Dave Airlie 2021-01-14 @241  		return PTR_ERR(crtc);

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

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

* drivers/gpu/drm/i915/display/intel_crtc.c:241 intel_crtc_init() warn: passing a valid pointer to 'PTR_ERR'
@ 2021-11-11  0:15 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-11  0:15 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Dave Airlie <airlied@redhat.com>
CC: Jani Nikula <jani.nikula@intel.com>
CC: "Ville Syrjälä" <ville.syrjala@linux.intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   881007522c8fcc3785c75432dbb149ca1b78e106
commit: fbf756c31cca387510f4950bdd9704162e8196da drm/i915: refactor some crtc code out of intel display. (v2)
date:   10 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 10 months ago
config: i386-randconfig-m021-20211019 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 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/i915/display/intel_crtc.c:241 intel_crtc_init() warn: passing a valid pointer to 'PTR_ERR'

vim +/PTR_ERR +241 drivers/gpu/drm/i915/display/intel_crtc.c

fbf756c31cca38 Dave Airlie 2021-01-14  231  
fbf756c31cca38 Dave Airlie 2021-01-14  232  int intel_crtc_init(struct drm_i915_private *dev_priv, enum pipe pipe)
fbf756c31cca38 Dave Airlie 2021-01-14  233  {
fbf756c31cca38 Dave Airlie 2021-01-14  234  	struct intel_plane *primary, *cursor;
fbf756c31cca38 Dave Airlie 2021-01-14  235  	const struct drm_crtc_funcs *funcs;
fbf756c31cca38 Dave Airlie 2021-01-14  236  	struct intel_crtc *crtc;
fbf756c31cca38 Dave Airlie 2021-01-14  237  	int sprite, ret;
fbf756c31cca38 Dave Airlie 2021-01-14  238  
fbf756c31cca38 Dave Airlie 2021-01-14  239  	crtc = intel_crtc_alloc();
fbf756c31cca38 Dave Airlie 2021-01-14  240  	if (IS_ERR(crtc))
fbf756c31cca38 Dave Airlie 2021-01-14 @241  		return PTR_ERR(crtc);

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

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

end of thread, other threads:[~2021-11-11 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 17:42 drivers/gpu/drm/i915/display/intel_crtc.c:241 intel_crtc_init() warn: passing a valid pointer to 'PTR_ERR' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-11  0:15 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.