From: kernel test robot <lkp@intel.com>
To: cgel.zte@gmail.com, agk@redhat.com
Cc: kbuild-all@lists.01.org, snitzer@redhat.com,
Zeal Robot <zealci@zte.com.cn>,
linux-kernel@vger.kernel.org, dm-devel@redhat.com,
ran jianping <ran.jianping@zte.com.cn>
Subject: Re: [dm-devel] [PATCH] dm snapshot: remove unneeded variable
Date: Thu, 11 Nov 2021 18:25:14 +0800 [thread overview]
Message-ID: <202111111850.cmmulK2H-lkp@intel.com> (raw)
In-Reply-To: <20211111075659.158155-1-ran.jianping@zte.com.cn>
[-- Attachment #1: Type: text/plain, Size: 2962 bytes --]
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on device-mapper-dm/for-next]
[also build test ERROR on v5.15 next-20211111]
[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/cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/f69a0e783035cffc39b44a355d0e0470d5d63a0b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
git checkout f69a0e783035cffc39b44a355d0e0470d5d63a0b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/md/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/md/dm-exception-store.h:15,
from drivers/md/dm-snap-transient.c:8:
drivers/md/dm-snap-transient.c: In function 'transient_status':
>> include/linux/device-mapper.h:602:22: error: 'sz' undeclared (first use in this function); did you mean 's8'?
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
include/linux/device-mapper.h:602:22: note: each undeclared identifier is reported only once for each function it appears in
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
vim +602 include/linux/device-mapper.h
0da336e5fab75c Alasdair G Kergon 2008-04-24 601
0da336e5fab75c Alasdair G Kergon 2008-04-24 @602 #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
0da336e5fab75c Alasdair G Kergon 2008-04-24 603 0 : scnprintf(result + sz, maxlen - sz, x))
0da336e5fab75c Alasdair G Kergon 2008-04-24 604
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19955 bytes --]
[-- Attachment #3: Type: text/plain, Size: 97 bytes --]
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] dm snapshot: remove unneeded variable
Date: Thu, 11 Nov 2021 18:25:14 +0800 [thread overview]
Message-ID: <202111111850.cmmulK2H-lkp@intel.com> (raw)
In-Reply-To: <20211111075659.158155-1-ran.jianping@zte.com.cn>
[-- Attachment #1: Type: text/plain, Size: 3021 bytes --]
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on device-mapper-dm/for-next]
[also build test ERROR on v5.15 next-20211111]
[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/cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/f69a0e783035cffc39b44a355d0e0470d5d63a0b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
git checkout f69a0e783035cffc39b44a355d0e0470d5d63a0b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/md/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/md/dm-exception-store.h:15,
from drivers/md/dm-snap-transient.c:8:
drivers/md/dm-snap-transient.c: In function 'transient_status':
>> include/linux/device-mapper.h:602:22: error: 'sz' undeclared (first use in this function); did you mean 's8'?
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
include/linux/device-mapper.h:602:22: note: each undeclared identifier is reported only once for each function it appears in
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
vim +602 include/linux/device-mapper.h
0da336e5fab75c Alasdair G Kergon 2008-04-24 601
0da336e5fab75c Alasdair G Kergon 2008-04-24 @602 #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
0da336e5fab75c Alasdair G Kergon 2008-04-24 603 0 : scnprintf(result + sz, maxlen - sz, x))
0da336e5fab75c Alasdair G Kergon 2008-04-24 604
---
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: 19955 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: cgel.zte@gmail.com, agk@redhat.com
Cc: kbuild-all@lists.01.org, snitzer@redhat.com, dm-devel@redhat.com,
linux-kernel@vger.kernel.org,
ran jianping <ran.jianping@zte.com.cn>,
Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH] dm snapshot: remove unneeded variable
Date: Thu, 11 Nov 2021 18:25:14 +0800 [thread overview]
Message-ID: <202111111850.cmmulK2H-lkp@intel.com> (raw)
In-Reply-To: <20211111075659.158155-1-ran.jianping@zte.com.cn>
[-- Attachment #1: Type: text/plain, Size: 2962 bytes --]
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on device-mapper-dm/for-next]
[also build test ERROR on v5.15 next-20211111]
[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/cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/f69a0e783035cffc39b44a355d0e0470d5d63a0b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
git checkout f69a0e783035cffc39b44a355d0e0470d5d63a0b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/md/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/md/dm-exception-store.h:15,
from drivers/md/dm-snap-transient.c:8:
drivers/md/dm-snap-transient.c: In function 'transient_status':
>> include/linux/device-mapper.h:602:22: error: 'sz' undeclared (first use in this function); did you mean 's8'?
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
include/linux/device-mapper.h:602:22: note: each undeclared identifier is reported only once for each function it appears in
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
vim +602 include/linux/device-mapper.h
0da336e5fab75c Alasdair G Kergon 2008-04-24 601
0da336e5fab75c Alasdair G Kergon 2008-04-24 @602 #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
0da336e5fab75c Alasdair G Kergon 2008-04-24 603 0 : scnprintf(result + sz, maxlen - sz, x))
0da336e5fab75c Alasdair G Kergon 2008-04-24 604
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19955 bytes --]
next prev parent reply other threads:[~2021-11-11 10:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-11 7:56 [dm-devel] [PATCH] dm snapshot: remove unneeded variable cgel.zte
2021-11-11 7:56 ` cgel.zte
2021-11-11 10:25 ` kernel test robot [this message]
2021-11-11 10:25 ` kernel test robot
2021-11-11 10:25 ` kernel test robot
2021-11-12 15:09 ` [dm-devel] " Mike Snitzer
2021-11-12 15:09 ` Mike Snitzer
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=202111111850.cmmulK2H-lkp@intel.com \
--to=lkp@intel.com \
--cc=agk@redhat.com \
--cc=cgel.zte@gmail.com \
--cc=dm-devel@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ran.jianping@zte.com.cn \
--cc=snitzer@redhat.com \
--cc=zealci@zte.com.cn \
/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.