From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jingqi:per-page-tracking 1/1] mm/page_hotness.c:125:24: error: invalid operands to binary - (have 'long int *' and 'long unsigned int *')
Date: Thu, 12 Dec 2019 10:07:05 +0800 [thread overview]
Message-ID: <201912121004.rp1ToFOS%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1920 bytes --]
tree: jingqi/per-page-tracking
head: e7dc349d5c96c8c328597d42987309c2d5551bf1
commit: e7dc349d5c96c8c328597d42987309c2d5551bf1 [1/1] tmp fix for page_access_histogram
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
git checkout e7dc349d5c96c8c328597d42987309c2d5551bf1
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
mm/page_hotness.c: In function 'histogram_show':
>> mm/page_hotness.c:125:24: error: invalid operands to binary - (have 'long int *' and 'long unsigned int *')
unsigned long off = l - (unsigned long *)h->private;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +125 mm/page_hotness.c
55b32bffd57af0 Zhibin Li 2019-11-27 121
55b32bffd57af0 Zhibin Li 2019-11-27 122 static int histogram_show(struct seq_file *h, void *arg)
55b32bffd57af0 Zhibin Li 2019-11-27 123 {
e7dc349d5c96c8 Zhibin Li 2019-12-11 124 long *l = arg;
55b32bffd57af0 Zhibin Li 2019-11-27 @125 unsigned long off = l - (unsigned long *)h->private;
55b32bffd57af0 Zhibin Li 2019-11-27 126
e7dc349d5c96c8 Zhibin Li 2019-12-11 127 seq_printf(h, "%lu\t%ld\n", off, *l);
55b32bffd57af0 Zhibin Li 2019-11-27 128 return 0;
55b32bffd57af0 Zhibin Li 2019-11-27 129 }
55b32bffd57af0 Zhibin Li 2019-11-27 130
:::::: The code at line 125 was first introduced by commit
:::::: 55b32bffd57af03c9b199a95a43602eb5cc9b485 mm/page_hotness: provide procfs interface to check histogram
:::::: TO: Zhibin Li <zhibin.li@intel.com>
:::::: CC: Zhibin Li <zhibin.li@intel.com>
---
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: 47539 bytes --]
reply other threads:[~2019-12-12 2:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201912121004.rp1ToFOS%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.