[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201702141144.7nHErMP3%fengguang.wu@intel.com>
Date: Tue, 14 Feb 2017 11:59:53 +0800
From: kbuild test robot <lkp@...el.com>
To: Ram Pai <linuxram@...ibm.com>
Cc: kbuild-all@...org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, dm-devel@...hat.com,
linux-raid@...r.kernel.org, agk@...hat.com, snitzer@...hat.com,
corbet@....net, shli@...nel.org, hbabu@...ibm.com,
linuxram@...ibm.com
Subject: Re: [PATCH v4 1/1] DM: inplace compressed DM target
Hi Ram,
[auto build test WARNING on dm/for-next]
[also build test WARNING on v4.10-rc8 next-20170213]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Ram-Pai/DM-inplace-compressed-DM-target/20170214-055727
base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=openrisc
All warnings (new ones prefixed by >>):
drivers/md/dm-inplace-compress.c: In function 'dm_icomp_status':
>> drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'long long int'
drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects type 'long int', but argument 5 has type 'long long int'
drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects type 'long int', but argument 6 has type 'long long int'
vim +2096 drivers/md/dm-inplace-compress.c
2080 req->locked_locks = 0;
2081
2082 req->cpu = raw_smp_processor_id();
2083 dm_icomp_queue_req(info, req);
2084
2085 return DM_MAPIO_SUBMITTED;
2086 }
2087
2088 static void dm_icomp_status(struct dm_target *ti, status_type_t type,
2089 unsigned int status_flags, char *result, unsigned int maxlen)
2090 {
2091 struct dm_icomp_info *info = ti->private;
2092 unsigned int sz = 0;
2093
2094 switch (type) {
2095 case STATUSTYPE_INFO:
> 2096 DMEMIT("%ld %ld %ld",
2097 atomic64_read(&info->uncompressed_write_size),
2098 atomic64_read(&info->compressed_write_size),
2099 atomic64_read(&info->meta_write_size));
2100 break;
2101 case STATUSTYPE_TABLE:
2102 if (info->write_mode == DMCP_WRITE_BACK)
2103 DMEMIT("%s %s:%d %s:%s %s:%d", info->dev->name,
2104 "writeback", info->writeback_delay,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (40204 bytes)
Powered by blists - more mailing lists