lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines
Hi Nicolas,

[auto build test WARNING on asm-generic/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/Nicolas-Pitre/div64-h-optimize-do_div-for-power-of-two-constant-divisors/20151103-065348
config: parisc-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=parisc

All warnings (new ones prefixed by >>):

net/can/bcm.c: In function 'bcm_proc_show':
>> net/can/bcm.c:223:1: warning: the frame size of 1156 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

vim +223 net/can/bcm.c

6755aeba Eric Dumazet 2009-11-06 207 op->can_id,
6755aeba Eric Dumazet 2009-11-06 208 bcm_proc_getifname(ifname, op->ifindex),
ffd980f9 Oliver Hartkopp 2007-11-16 209 op->nframes);
ffd980f9 Oliver Hartkopp 2007-11-16 210
73e87e02 Oliver Hartkopp 2008-04-15 211 if (op->kt_ival1.tv64)
ea00b8e2 Alexey Dobriyan 2009-08-28 212 seq_printf(m, "t1=%lld ",
73e87e02 Oliver Hartkopp 2008-04-15 213 (long long) ktime_to_us(op->kt_ival1));
73e87e02 Oliver Hartkopp 2008-04-15 214
73e87e02 Oliver Hartkopp 2008-04-15 215 if (op->kt_ival2.tv64)
ea00b8e2 Alexey Dobriyan 2009-08-28 216 seq_printf(m, "t2=%lld ",
73e87e02 Oliver Hartkopp 2008-04-15 217 (long long) ktime_to_us(op->kt_ival2));
ffd980f9 Oliver Hartkopp 2007-11-16 218
ea00b8e2 Alexey Dobriyan 2009-08-28 219 seq_printf(m, "# sent %ld\n", op->frames_abs);
ffd980f9 Oliver Hartkopp 2007-11-16 220 }
ea00b8e2 Alexey Dobriyan 2009-08-28 221 seq_putc(m, '\n');
ea00b8e2 Alexey Dobriyan 2009-08-28 222 return 0;
ffd980f9 Oliver Hartkopp 2007-11-16 @223 }
ffd980f9 Oliver Hartkopp 2007-11-16 224
ea00b8e2 Alexey Dobriyan 2009-08-28 225 static int bcm_proc_open(struct inode *inode, struct file *file)
ea00b8e2 Alexey Dobriyan 2009-08-28 226 {
d9dda78b Al Viro 2013-03-31 227 return single_open(file, bcm_proc_show, PDE_DATA(inode));
ffd980f9 Oliver Hartkopp 2007-11-16 228 }
ffd980f9 Oliver Hartkopp 2007-11-16 229
ea00b8e2 Alexey Dobriyan 2009-08-28 230 static const struct file_operations bcm_proc_fops = {
ea00b8e2 Alexey Dobriyan 2009-08-28 231 .owner = THIS_MODULE,

:::::: The code at line 223 was first introduced by commit
:::::: ffd980f976e7fd666c2e61bf8ab35107efd11828 [CAN]: Add broadcast manager (bcm) protocol

:::::: TO: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-11-03 07:21    [W:0.098 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site