From: kbuild test robot <lkp@intel.com> To: Sami Tolvanen <samitolvanen@google.com> Cc: kbuild-all@01.org, Mikulas Patocka <mpatocka@redhat.com>, Mandeep Baines <msb@chromium.org>, Will Drewry <wad@chromium.org>, Alasdair Kergon <agk@redhat.com>, Mike Snitzer <snitzer@redhat.com>, dm-devel@redhat.com, linux-kernel@vger.kernel.org, Kees Cook <keescook@chromium.org>, Mark Salyzyn <salyzyn@google.com>, Sami Tolvanen <samitolvanen@google.com> Subject: Re: [PATCH 4/4] dm verity: ignore zero blocks Date: Fri, 6 Nov 2015 06:13:50 +0800 [thread overview] Message-ID: <201511060602.SLYE3vUB%fengguang.wu@intel.com> (raw) In-Reply-To: <1446688954-29589-5-git-send-email-samitolvanen@google.com> [-- Attachment #1: Type: text/plain, Size: 1960 bytes --] Hi Sami, [auto build test WARNING on: dm/for-next] [also build test WARNING on: v4.3 next-20151105] url: https://github.com/0day-ci/linux/commits/Sami-Tolvanen/dm-verity-clean-up-duplicate-hashing-code/20151105-124458 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: s390-allyesconfig (attached as .config) 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=s390 All warnings (new ones prefixed by >>): drivers/md/dm-verity.c: In function 'verity_alloc_zero_digest': >> drivers/md/dm-verity.c:1226:1: warning: 'verity_alloc_zero_digest' uses dynamic stack allocation } ^ drivers/md/dm-verity.c: In function 'verity_fec_decode_rsb': drivers/md/dm-verity.c:846:1: warning: 'verity_fec_decode_rsb' uses dynamic stack allocation } ^ vim +/verity_alloc_zero_digest +1226 drivers/md/dm-verity.c 1210 1211 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); 1212 1213 if (!v->zero_digest) 1214 return -ENOMEM; 1215 1216 zero_data = kzalloc(1 << v->data_dev_block_bits, GFP_KERNEL); 1217 1218 if (!zero_data) 1219 return -ENOMEM; /* verity_dtr will free zero_digest */ 1220 1221 r = verity_hash(v, (struct shash_desc *)desc, zero_data, 1222 1 << v->data_dev_block_bits, v->zero_digest); 1223 1224 kfree(zero_data); 1225 return r; > 1226 } 1227 1228 static int verity_parse_opt_args(struct dm_arg_set *as, struct dm_verity *v, 1229 const char *opt_string) 1230 { 1231 int r; 1232 unsigned long long num_ll; 1233 unsigned char num_c; 1234 char dummy; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [-- Attachment #2: .config.gz --] [-- Type: application/octet-stream, Size: 38647 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> Cc: kbuild-all@01.org, Mikulas Patocka <mpatocka@redhat.com>, Mandeep Baines <msb@chromium.org>, Will Drewry <wad@chromium.org>, Alasdair Kergon <agk@redhat.com>, Mike Snitzer <snitzer@redhat.com>, dm-devel@redhat.com, linux-kernel@vger.kernel.org, Kees Cook <keescook@chromium.org>, Mark Salyzyn <salyzyn@google.com>, Sami Tolvanen <samitolvanen@google.com> Subject: Re: [PATCH 4/4] dm verity: ignore zero blocks Date: Fri, 6 Nov 2015 06:13:50 +0800 [thread overview] Message-ID: <201511060602.SLYE3vUB%fengguang.wu@intel.com> (raw) In-Reply-To: <1446688954-29589-5-git-send-email-samitolvanen@google.com> [-- Attachment #1: Type: text/plain, Size: 1960 bytes --] Hi Sami, [auto build test WARNING on: dm/for-next] [also build test WARNING on: v4.3 next-20151105] url: https://github.com/0day-ci/linux/commits/Sami-Tolvanen/dm-verity-clean-up-duplicate-hashing-code/20151105-124458 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: s390-allyesconfig (attached as .config) 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=s390 All warnings (new ones prefixed by >>): drivers/md/dm-verity.c: In function 'verity_alloc_zero_digest': >> drivers/md/dm-verity.c:1226:1: warning: 'verity_alloc_zero_digest' uses dynamic stack allocation } ^ drivers/md/dm-verity.c: In function 'verity_fec_decode_rsb': drivers/md/dm-verity.c:846:1: warning: 'verity_fec_decode_rsb' uses dynamic stack allocation } ^ vim +/verity_alloc_zero_digest +1226 drivers/md/dm-verity.c 1210 1211 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); 1212 1213 if (!v->zero_digest) 1214 return -ENOMEM; 1215 1216 zero_data = kzalloc(1 << v->data_dev_block_bits, GFP_KERNEL); 1217 1218 if (!zero_data) 1219 return -ENOMEM; /* verity_dtr will free zero_digest */ 1220 1221 r = verity_hash(v, (struct shash_desc *)desc, zero_data, 1222 1 << v->data_dev_block_bits, v->zero_digest); 1223 1224 kfree(zero_data); 1225 return r; > 1226 } 1227 1228 static int verity_parse_opt_args(struct dm_arg_set *as, struct dm_verity *v, 1229 const char *opt_string) 1230 { 1231 int r; 1232 unsigned long long num_ll; 1233 unsigned char num_c; 1234 char dummy; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [-- Attachment #2: .config.gz --] [-- Type: application/octet-stream, Size: 38647 bytes --]
next prev parent reply other threads:[~2015-11-05 22:14 UTC|newest] Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-05 2:02 [PATCH 0/4] dm verity: add support for error correction Sami Tolvanen 2015-11-05 2:02 ` Sami Tolvanen 2015-11-05 2:02 ` [PATCH 1/4] dm verity: clean up duplicate hashing code Sami Tolvanen 2015-11-17 22:32 ` Kees Cook 2015-11-05 2:02 ` [PATCH 2/4] dm verity: separate function for parsing opt args Sami Tolvanen 2015-11-05 2:02 ` Sami Tolvanen 2015-11-17 22:33 ` Kees Cook 2015-12-02 20:16 ` Mike Snitzer 2015-11-05 2:02 ` [PATCH 3/4] dm verity: add support for forward error correction Sami Tolvanen 2015-11-05 5:36 ` kbuild test robot 2015-11-05 5:36 ` kbuild test robot 2015-11-05 22:06 ` kbuild test robot 2015-11-05 22:06 ` kbuild test robot 2015-11-05 2:02 ` [PATCH 4/4] dm verity: ignore zero blocks Sami Tolvanen 2015-11-05 22:13 ` kbuild test robot [this message] 2015-11-05 22:13 ` kbuild test robot 2015-11-05 7:34 ` [PATCH 0/4] dm verity: add support for error correction Milan Broz 2015-11-05 17:33 ` Sami Tolvanen 2015-11-09 16:37 ` Mike Snitzer 2015-11-09 19:19 ` Sami Tolvanen 2015-11-09 19:58 ` Mike Snitzer 2015-11-12 10:30 ` Milan Broz 2015-12-03 9:36 ` Sami Tolvanen 2015-11-12 18:50 ` Mikulas Patocka 2015-12-03 9:33 ` Sami Tolvanen 2015-12-02 20:22 ` Mike Snitzer 2015-12-03 9:11 ` Sami Tolvanen 2015-11-06 17:23 ` Mikulas Patocka 2015-11-06 19:06 ` Sami Tolvanen 2015-11-06 19:20 ` [dm-devel] " Zdenek Kabelac 2015-11-06 20:27 ` Sami Tolvanen 2015-11-06 21:05 ` Zdenek Kabelac 2015-11-06 21:23 ` Sami Tolvanen 2015-11-07 15:29 ` Mikulas Patocka 2015-11-07 15:20 ` Mikulas Patocka 2015-11-07 15:18 ` Mikulas Patocka 2015-11-09 15:06 ` Austin S Hemmelgarn 2015-12-03 14:26 ` [PATCH v2 0/2] " Sami Tolvanen 2015-12-03 14:26 ` [PATCH v2 1/2] dm verity: add support for forward " Sami Tolvanen 2015-12-03 14:26 ` [PATCH v2 2/2] dm verity: ignore zero blocks Sami Tolvanen 2015-12-03 19:54 ` [PATCH v2 0/2] dm verity: add support for error correction Mike Snitzer 2015-12-03 23:05 ` Mike Snitzer 2015-12-04 10:03 ` Sami Tolvanen 2015-12-04 21:09 ` Mike Snitzer 2015-12-07 13:21 ` Sami Tolvanen 2015-12-07 14:58 ` Mike Snitzer 2015-12-07 14:58 ` Mike Snitzer 2015-12-07 16:31 ` Sami Tolvanen 2015-12-07 18:07 ` Milan Broz 2015-12-07 19:07 ` Mike Snitzer 2015-12-08 10:18 ` Sami Tolvanen
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=201511060602.SLYE3vUB%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=agk@redhat.com \ --cc=dm-devel@redhat.com \ --cc=kbuild-all@01.org \ --cc=keescook@chromium.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mpatocka@redhat.com \ --cc=msb@chromium.org \ --cc=salyzyn@google.com \ --cc=samitolvanen@google.com \ --cc=snitzer@redhat.com \ --cc=wad@chromium.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: linkBe 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.