* [jingqi:per-page-tracking 1/1] mm/page_hotness.c:125:24: error: invalid operands to binary - (have 'long int *' and 'long unsigned int *')
@ 2019-12-12 2:07 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-12 2:07 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-12 2:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-12 2:07 [jingqi:per-page-tracking 1/1] mm/page_hotness.c:125:24: error: invalid operands to binary - (have 'long int *' and 'long unsigned int *') kbuild test robot
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.