0 day kernel build service
 help / color / mirror / Atom feed
* drivers/platform/x86/hp/hp-wmi.c:391 rpm_to_pwm() warn: signedness bug returning '(-65025)'
@ 2026-08-27  9:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-27  9:07 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Krishna Chomal <krishna.chomal108@gmail.com>
CC: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   45c13f3f9e3bb15fd89ff2864c6f627a3b4b4229
commit: 46be1453e6e61884b4840a768d1e8ffaf01a4c1c platform/x86: hp-wmi: add manual fan control for Victus S models
date:   7 months ago
:::::: branch date: 2 days ago
:::::: commit date: 7 months ago
config: x86_64-randconfig-r073-20260827 (https://download.01.org/0day-ci/archive/20260827/202608271644.FXMsBF9y-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9187-g5189e3fb

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
| Fixes: 46be1453e6e6 ("platform/x86: hp-wmi: add manual fan control for Victus S models")
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202608271644.FXMsBF9y-lkp@intel.com/

smatch warnings:
drivers/platform/x86/hp/hp-wmi.c:391 rpm_to_pwm() warn: signedness bug returning '(-65025)'

vim +391 drivers/platform/x86/hp/hp-wmi.c

46be1453e6e618 Krishna Chomal 2026-01-13  388  
46be1453e6e618 Krishna Chomal 2026-01-13  389  static inline u8 rpm_to_pwm(u8 rpm, struct hp_wmi_hwmon_priv *priv)
46be1453e6e618 Krishna Chomal 2026-01-13  390  {
46be1453e6e618 Krishna Chomal 2026-01-13 @391  	return fixp_linear_interpolate(0, 0, priv->max_rpm, U8_MAX,
46be1453e6e618 Krishna Chomal 2026-01-13  392  				       clamp_val(rpm, 0, priv->max_rpm));
46be1453e6e618 Krishna Chomal 2026-01-13  393  }
46be1453e6e618 Krishna Chomal 2026-01-13  394  

--
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:[~2026-08-27  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27  9:07 drivers/platform/x86/hp/hp-wmi.c:391 rpm_to_pwm() warn: signedness bug returning '(-65025)' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox