lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201511031333.Yk9ngQZJ%fengguang.wu@intel.com>
Date:	Tue, 3 Nov 2015 13:32:17 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Nicolas Pitre <nicolas.pitre@...aro.org>
Cc:	kbuild-all@...org, Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
	Måns Rullgård <mans@...sr.com>,
	Arnd Bergmann <arnd@...db.de>, rmk+kernel@....linux.org.uk,
	linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [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@...kswagen.de>
:::::: CC: David S. Miller <davem@...emloft.net>

---
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/octet-stream" (42341 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ