All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 427/12343] drivers/gpu/drm/i915/gt/intel_rps.c:2298 rps_read_mmio() error: uninitialized symbol 'val'.
@ 2022-05-18  6:58 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-05-18  6:45 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
CC: Matthew Auld <matthew.auld@intel.com>
CC: Andi Shyti <andi.shyti@linux.intel.com>
CC: Andrzej Hajda <andrzej.hajda@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   47c1c54d1bcd0a69a56b49473bc20f17b70e5242
commit: fa68bff7cf27d83e0ca83c6388d6bc2ddc599905 [427/12343] drm/i915/gt: Add sysfs throttle frequency interfaces
:::::: branch date: 21 hours ago
:::::: commit date: 8 weeks ago
config: x86_64-randconfig-m001-20220516 (https://download.01.org/0day-ci/archive/20220518/202205181451.tqwvLFl6-lkp(a)intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 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/i915/gt/intel_rps.c:2298 rps_read_mmio() error: uninitialized symbol 'val'.

vim +/val +2298 drivers/gpu/drm/i915/gt/intel_rps.c

1c40d40f6835cd Vinay Belgaumkar     2021-12-16  2288  
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2289  static u32 rps_read_mmio(struct intel_rps *rps, i915_reg_t reg32)
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2290  {
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2291  	struct intel_gt *gt = rps_to_gt(rps);
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2292  	intel_wakeref_t wakeref;
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2293  	u32 val;
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2294  
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2295  	with_intel_runtime_pm(gt->uncore->rpm, wakeref)
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2296  		val = intel_uncore_read(gt->uncore, reg32);
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2297  
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19 @2298  	return val;
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2299  }
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2300  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

* [kbuild] [linux-next:master 427/12343] drivers/gpu/drm/i915/gt/intel_rps.c:2298 rps_read_mmio() error: uninitialized symbol 'val'.
@ 2022-05-18  6:58 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2022-05-18  6:58 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git  master
head:   47c1c54d1bcd0a69a56b49473bc20f17b70e5242
commit: fa68bff7cf27d83e0ca83c6388d6bc2ddc599905 [427/12343] drm/i915/gt: Add sysfs throttle frequency interfaces
config: x86_64-randconfig-m001-20220516 (https://download.01.org/0day-ci/archive/20220518/202205181451.tqwvLFl6-lkp(a)intel.com/config )
compiler: gcc-11 (Debian 11.2.0-20) 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/i915/gt/intel_rps.c:2298 rps_read_mmio() error: uninitialized symbol 'val'.

vim +/val +2298 drivers/gpu/drm/i915/gt/intel_rps.c

fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2289  static u32 rps_read_mmio(struct intel_rps *rps, i915_reg_t reg32)
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2290  {
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2291  	struct intel_gt *gt = rps_to_gt(rps);
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2292  	intel_wakeref_t wakeref;
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2293  	u32 val;
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2294  
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2295  	with_intel_runtime_pm(gt->uncore->rpm, wakeref)
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2296  		val = intel_uncore_read(gt->uncore, reg32);
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2297  
fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19 @2298  	return val;

Not initialized on else path.

fa68bff7cf27d8 Sujaritha Sundaresan 2022-03-19  2299  }

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp 
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org

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

end of thread, other threads:[~2022-05-18  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18  6:45 [linux-next:master 427/12343] drivers/gpu/drm/i915/gt/intel_rps.c:2298 rps_read_mmio() error: uninitialized symbol 'val' kernel test robot
2022-05-18  6:58 ` [kbuild] " Dan Carpenter

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.