LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Oskar Senft <osk@google.com>,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>, Oskar Senft <osk@google.com>
Subject: Re: [PATCH] hwmon: (nct7802) Make RTD modes configurable.
Date: Sat, 11 Sep 2021 05:42:58 +0800	[thread overview]
Message-ID: <202109110503.I5AsyG04-lkp@intel.com> (raw)
In-Reply-To: <20210910130755.2027995-1-osk@google.com>

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

Hi Oskar,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on linus/master linux/master v5.14 next-20210910]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Oskar-Senft/hwmon-nct7802-Make-RTD-modes-configurable/20210910-210934
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: i386-randconfig-s002-20210910 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/0day-ci/linux/commit/6e3bd2e138e62f277fbfce192023e44f2ddda2c3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Oskar-Senft/hwmon-nct7802-Make-RTD-modes-configurable/20210910-210934
        git checkout 6e3bd2e138e62f277fbfce192023e44f2ddda2c3
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/hwmon/

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


sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/nct7802.c:1180:25: sparse: sparse: Using plain integer as NULL pointer

vim +1180 drivers/hwmon/nct7802.c

  1176	
  1177	static const struct of_device_id __maybe_unused nct7802_of_match[] = {
  1178		{
  1179			.compatible = "nuvoton,nct7802",
> 1180			.data = 0
  1181		},
  1182		{ },
  1183	};
  1184	MODULE_DEVICE_TABLE(of, nct7802_of_match);
  1185	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32212 bytes --]

      parent reply	other threads:[~2021-09-10 21:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10 13:07 Oskar Senft
2021-09-10 16:21 ` Guenter Roeck
2021-09-10 21:42 ` 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=202109110503.I5AsyG04-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jdelvare@suse.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=osk@google.com \
    --subject='Re: [PATCH] hwmon: (nct7802) Make RTD modes configurable.' \
    /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

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 NNTP newsgroup(s).