lkml.org 
[lkml]   [2017]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectblock/bfq-cgroup.c:299:1: warning: the frame size of 1456 bytes is larger than 1024 bytes
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0666f560b71b899cd11a7caf39fd45129e9030fd
commit: f7dd2507893cc3425d3ffc2369559619960befb0 gcc-plugins: structleak: add option to init all vars used as byref args
date: 6 weeks ago
config: i386-randconfig-x013-09180846 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout f7dd2507893cc3425d3ffc2369559619960befb0
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

block/bfq-cgroup.c: In function 'bfqg_stats_add_aux':
>> block/bfq-cgroup.c:299:1: warning: the frame size of 1456 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

vim +299 block/bfq-cgroup.c

ea25da48 Paolo Valente 2017-04-19 280
ea25da48 Paolo Valente 2017-04-19 281 /* @to += @from */
ea25da48 Paolo Valente 2017-04-19 282 static void bfqg_stats_add_aux(struct bfqg_stats *to, struct bfqg_stats *from)
ea25da48 Paolo Valente 2017-04-19 283 {
ea25da48 Paolo Valente 2017-04-19 284 if (!to || !from)
ea25da48 Paolo Valente 2017-04-19 285 return;
ea25da48 Paolo Valente 2017-04-19 286
ea25da48 Paolo Valente 2017-04-19 287 /* queued stats shouldn't be cleared */
ea25da48 Paolo Valente 2017-04-19 288 blkg_rwstat_add_aux(&to->merged, &from->merged);
ea25da48 Paolo Valente 2017-04-19 289 blkg_rwstat_add_aux(&to->service_time, &from->service_time);
ea25da48 Paolo Valente 2017-04-19 290 blkg_rwstat_add_aux(&to->wait_time, &from->wait_time);
ea25da48 Paolo Valente 2017-04-19 291 blkg_stat_add_aux(&from->time, &from->time);
ea25da48 Paolo Valente 2017-04-19 292 blkg_stat_add_aux(&to->avg_queue_size_sum, &from->avg_queue_size_sum);
ea25da48 Paolo Valente 2017-04-19 293 blkg_stat_add_aux(&to->avg_queue_size_samples,
ea25da48 Paolo Valente 2017-04-19 294 &from->avg_queue_size_samples);
ea25da48 Paolo Valente 2017-04-19 295 blkg_stat_add_aux(&to->dequeue, &from->dequeue);
ea25da48 Paolo Valente 2017-04-19 296 blkg_stat_add_aux(&to->group_wait_time, &from->group_wait_time);
ea25da48 Paolo Valente 2017-04-19 297 blkg_stat_add_aux(&to->idle_time, &from->idle_time);
ea25da48 Paolo Valente 2017-04-19 298 blkg_stat_add_aux(&to->empty_time, &from->empty_time);
ea25da48 Paolo Valente 2017-04-19 @299 }
ea25da48 Paolo Valente 2017-04-19 300

:::::: The code at line 299 was first introduced by commit
:::::: ea25da48086d3bbebf3a2eeff387ea00ed96f5c4 block, bfq: split bfq-iosched.c into multiple source files

:::::: TO: Paolo Valente <paolo.valente@linaro.org>
:::::: CC: Jens Axboe <axboe@fb.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-09-18 04:55    [W:0.033 / U:6.864 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site