All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RESEND Patch v6 2/2] fpga: dfl: fme: add performance reporting support
Date: Sat, 18 Jan 2020 14:54:37 +0800	[thread overview]
Message-ID: <202001181426.e6msHDfH%lkp@intel.com> (raw)
In-Reply-To: <1579230628-22243-3-git-send-email-hao.wu@intel.com>

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

Hi Wu,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.5-rc6 next-20200117]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Wu-Hao/add-performance-reporting-support-to-FPGA-DFL-drivers/20200118-043806
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 13b2668d6fc95dcecd11e4f86f47be24fda7da1f
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=sh 

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

All warnings (new ones prefixed by >>):

   drivers//fpga/dfl-fme-perf.c: In function 'fme_perf_fabric_events_visible':
>> drivers//fpga/dfl-fme-perf.c:600:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     var = (u64)eattr->var;
           ^

vim +600 drivers//fpga/dfl-fme-perf.c

   590	
   591	static umode_t fme_perf_fabric_events_visible(struct kobject *kobj,
   592						      struct attribute *attr, int n)
   593	{
   594		struct pmu *pmu = dev_get_drvdata(kobj_to_dev(kobj));
   595		struct fme_perf_priv *priv = to_fme_perf_priv(pmu);
   596		struct dev_ext_attribute *eattr;
   597		u64 var;
   598	
   599		eattr = container_of(attr, struct dev_ext_attribute, attr.attr);
 > 600		var = (u64)eattr->var;
   601	
   602		if (is_fabric_event_supported(priv, get_event(var), get_portid(var)))
   603			return attr->mode;
   604	
   605		return 0;
   606	}
   607	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

  parent reply	other threads:[~2020-01-18  6:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-17  3:10 [RESEND Patch v6 0/2] add performance reporting support to FPGA DFL drivers Wu Hao
2020-01-17  3:10 ` Wu Hao
     [not found] ` <1579230628-22243-1-git-send-email-hao.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2020-01-17  3:10   ` [RESEND Patch v6 1/2] Documentation: fpga: dfl: add description for performance reporting support Wu Hao
2020-01-17  3:10     ` Wu Hao
2020-01-17  3:39   ` [RESEND Patch v6 0/2] add performance reporting support to FPGA DFL drivers Wu Hao
2020-01-17  3:39     ` Wu Hao
2020-01-17  3:10 ` [RESEND Patch v6 2/2] fpga: dfl: fme: add performance reporting support Wu Hao
2020-01-18  2:59   ` kbuild test robot
2020-01-18  6:54   ` kbuild test robot [this message]
     [not found]   ` <1579230628-22243-3-git-send-email-hao.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2020-01-22 14:10     ` Greg KH
2020-01-22 14:10       ` Greg KH
     [not found]       ` <20200122141026.GA10399-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2020-01-23  2:05         ` Wu Hao
2020-01-23  2:05           ` Wu Hao

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=202001181426.e6msHDfH%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.