All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 07/17] fpga: altera-cvp: Drop uses of pci_read_config_*() return value
Date: Sun, 02 Aug 2020 06:32:17 +0800	[thread overview]
Message-ID: <202008020647.3l1ZzWb1%lkp@intel.com> (raw)
In-Reply-To: <20200801112446.149549-8-refactormyself@gmail.com>

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

Hi "Saheed,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on linus/master v5.8-rc7 next-20200731]
[cannot apply to ras/edac-for-next]
[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/Saheed-O-Bolarinwa/Drop-uses-of-pci_read_config_-return-value/20200801-202925
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: arm64-randconfig-r032-20200801 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9f21947a331203ee2579db87f1d1ec22a949e20a)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/fpga/altera-cvp.c:100:14: warning: comparison between pointer and integer ('u8 *' (aka 'unsigned char *') and 'u8' (aka 'unsigned char')) [-Wpointer-integer-compare]
           return (val == (u8)~0) ? -ENODEV : 0;
                   ~~~ ^  ~~~~~~
>> drivers/fpga/altera-cvp.c:107:14: warning: comparison between pointer and integer ('u32 *' (aka 'unsigned int *') and 'u32' (aka 'unsigned int')) [-Wpointer-integer-compare]
           return (val == (u32)~0) ? -ENODEV : 0;
                   ~~~ ^  ~~~~~~~
   2 warnings generated.

vim +100 drivers/fpga/altera-cvp.c

    95	
    96	static int altera_read_config_byte(struct altera_cvp_conf *conf,
    97					   int where, u8 *val)
    98	{
    99		pci_read_config_byte(conf->pci_dev, conf->vsec_offset + where, val);
 > 100		return (val == (u8)~0) ? -ENODEV : 0;
   101	}
   102	
   103	static int altera_read_config_dword(struct altera_cvp_conf *conf,
   104					    int where, u32 *val)
   105	{
   106		pci_read_config_dword(conf->pci_dev, conf->vsec_offset + where, val);
 > 107		return (val == (u32)~0) ? -ENODEV : 0;
   108	}
   109	

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

  reply	other threads:[~2020-08-01 22:32 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-01 11:24 [RFC PATCH 00/17] Drop uses of pci_read_config_*() return value Saheed O. Bolarinwa
2020-08-01 11:24 ` [Intel-gfx] " Saheed O. Bolarinwa
2020-08-01 11:24 ` Saheed O. Bolarinwa
2020-08-01 11:24 ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` Saheed O. Bolarinwa
2020-08-01 11:24 ` Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 01/17] ata: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 02/17] atm: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-05 10:51   ` kernel test robot
2020-08-01 11:24 ` [RFC PATCH 03/17] bcma: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 04/17] hwrng: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 05/17] dmaengine: ioat: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 06/17] edac: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 21:38   ` kernel test robot
2020-08-01 11:24 ` [RFC PATCH 07/17] fpga: altera-cvp: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 22:32   ` kernel test robot [this message]
2020-08-05 12:31   ` kernel test robot
2020-08-01 11:24 ` [RFC PATCH 08/17] gpio: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-18 19:59   ` Bartosz Golaszewski
2020-08-18 19:59     ` [Linux-kernel-mentees] " Bartosz Golaszewski
2020-08-19  2:21     ` Bjorn Helgaas
2020-08-19  2:21       ` [Linux-kernel-mentees] " Bjorn Helgaas
2020-08-01 11:24 ` [RFC PATCH 09/17] drm/i915/vga: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Intel-gfx] " Saheed O. Bolarinwa
2020-08-01 11:24   ` Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 10/17] hwmon: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-04 21:26   ` Guenter Roeck
2020-08-04 21:26     ` [Linux-kernel-mentees] " Guenter Roeck
2020-08-01 11:24 ` [RFC PATCH 11/17] intel_th: pci: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 12/17] i2c: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 13/17] ide: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 14/17] IB: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 14:18   ` kernel test robot
2020-08-01 11:24 ` [RFC PATCH 15/17] iommu/vt-d: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24   ` Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 16/17] mtd: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 11:24   ` Saheed O. Bolarinwa
2020-08-01 11:24 ` [RFC PATCH 17/17] net: " Saheed O. Bolarinwa
2020-08-01 11:24   ` [Linux-kernel-mentees] " Saheed O. Bolarinwa
2020-08-01 14:58   ` kernel test robot
2020-08-01 12:56 ` [RFC PATCH 00/17] " Borislav Petkov
2020-08-01 12:56   ` [Intel-gfx] " Borislav Petkov
2020-08-01 12:56   ` Borislav Petkov
2020-08-01 12:56   ` [Linux-kernel-mentees] " Borislav Petkov
2020-08-01 12:56   ` Borislav Petkov
2020-08-01 12:56   ` Borislav Petkov
2020-08-02 14:53   ` Tom Rix
2020-08-02 14:53     ` [Intel-gfx] " Tom Rix
2020-08-02 14:53     ` Tom Rix
2020-08-02 14:53     ` [Linux-kernel-mentees] " Tom Rix
2020-08-02 14:53     ` Tom Rix
2020-08-02 14:53     ` Tom Rix
2020-08-02 17:28   ` Saheed Bolarinwa
2020-08-02 17:28     ` [Intel-gfx] " Saheed Bolarinwa
2020-08-02 17:28     ` Saheed Bolarinwa
2020-08-02 17:28     ` [Linux-kernel-mentees] " Saheed Bolarinwa
2020-08-02 17:28     ` Saheed Bolarinwa
2020-08-02 17:28     ` Saheed Bolarinwa
2020-08-02 18:46     ` Borislav Petkov
2020-08-02 18:46       ` [Intel-gfx] " Borislav Petkov
2020-08-02 18:46       ` Borislav Petkov
2020-08-02 18:46       ` [Linux-kernel-mentees] " Borislav Petkov
2020-08-02 18:46       ` Borislav Petkov
2020-08-02 18:46       ` Borislav Petkov
2020-08-02 19:14       ` Bjorn Helgaas
2020-08-02 19:14         ` [Intel-gfx] " Bjorn Helgaas
2020-08-02 19:14         ` Bjorn Helgaas
2020-08-02 19:14         ` [Linux-kernel-mentees] " Bjorn Helgaas
2020-08-02 19:14         ` Bjorn Helgaas
2020-08-02 19:14         ` Bjorn Helgaas
2020-08-02 20:18         ` Borislav Petkov
2020-08-02 20:18           ` [Intel-gfx] " Borislav Petkov
2020-08-02 20:18           ` Borislav Petkov
2020-08-02 20:18           ` [Linux-kernel-mentees] " Borislav Petkov
2020-08-02 20:18           ` Borislav Petkov
2020-08-02 20:18           ` Borislav Petkov
2020-08-03  6:56         ` Christoph Hellwig
2020-08-03  6:56           ` [Intel-gfx] " Christoph Hellwig
2020-08-03  6:56           ` [Linux-kernel-mentees] " Christoph Hellwig
2020-08-03  6:56           ` Christoph Hellwig
2020-08-03  6:56           ` Christoph Hellwig

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=202008020647.3l1ZzWb1%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.