Linux-Hwmon Archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Naresh Solanki <naresh.solanki@9elements.com>,
	Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>
Cc: oe-kbuild-all@lists.linux.dev,
	Naresh Solanki <naresh.solanki@9elements.com>,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] hwmon (max6639): Use regmap
Date: Fri, 3 May 2024 18:19:14 +0800	[thread overview]
Message-ID: <202405031504.sA1rmWDu-lkp@intel.com> (raw)
In-Reply-To: <20240502183604.1216576-1-naresh.solanki@9elements.com>

Hi Naresh,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 1d4d6733594d407e54153b8e031ba6356ceba81e]

url:    https://github.com/intel-lab-lkp/linux/commits/Naresh-Solanki/hwmon-max6639-Use-regmap/20240503-024046
base:   1d4d6733594d407e54153b8e031ba6356ceba81e
patch link:    https://lore.kernel.org/r/20240502183604.1216576-1-naresh.solanki%409elements.com
patch subject: [PATCH v3] hwmon (max6639): Use regmap
config: i386-buildonly-randconfig-003-20240503 (https://download.01.org/0day-ci/archive/20240503/202405031504.sA1rmWDu-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405031504.sA1rmWDu-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405031504.sA1rmWDu-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/hwmon/max6639.c: In function 'max6639_suspend':
>> drivers/hwmon/max6639.c:540:13: warning: unused variable 'ret' [-Wunused-variable]
     540 |         int ret;
         |             ^~~


vim +/ret +540 drivers/hwmon/max6639.c

   536	
   537	static int max6639_suspend(struct device *dev)
   538	{
   539		struct max6639_data *data = dev_get_drvdata(dev);
 > 540		int ret;
   541	
   542		if (data->reg)
   543			regulator_disable(data->reg);
   544	
   545		return regmap_write_bits(data->regmap, MAX6639_REG_GCONFIG, MAX6639_GCONFIG_STANDBY,
   546					 MAX6639_GCONFIG_STANDBY);
   547	}
   548	

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

      parent reply	other threads:[~2024-05-03 10:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 18:36 [PATCH v3] hwmon (max6639): Use regmap Naresh Solanki
2024-05-02 20:01 ` Guenter Roeck
2024-05-03 10:04   ` Naresh Solanki
2024-05-03 10:19 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202405031504.sA1rmWDu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=naresh.solanki@9elements.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).