[linux-stable-rc:linux-3.10.y 4/144] drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1092 bytes is larger than 1024 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.10.y
head:   ca1199fccf14540e86f6da955333e31d6fec5f3e
commit: a4a4f1cd733fe5b345db4e8cc19bb8868d562a8a [4/144] compiler-gcc: integrate the various compiler-gcc[345].h files
config: i386-randconfig-s0-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout a4a4f1cd733fe5b345db4e8cc19bb8868d562a8a
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/block/mtip32xx/mtip32xx.c: In function 'mtip_hw_read_device_status':
>> drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1092 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^
--
   drivers/gpu/drm/radeon/evergreen.c: In function 'evergreen_hpd_sense':
>> drivers/gpu/drm/radeon/evergreen.c:1537:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if (RREG32(DC_HPD6_INT_STATUS) & DC_HPDx_SENSE)
      ^~
   drivers/gpu/drm/radeon/evergreen.c:1539:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
       break;
       ^~~~~
--
   drivers/staging/panel/panel.c: In function 'input_state_falling':
>> drivers/staging/panel/panel.c:1804:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if (input->high_timer >= KEYPAD_REP_START)
        ^~
   drivers/staging/panel/panel.c:1806:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         keypad_send_key(repeat_str,
         ^~~~~~~~~~~~~~~
--
   kernel/auditfilter.c: In function 'audit_data_to_entry':
>> kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
      if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295)) {
      ^~

vim +2827 drivers/block/mtip32xx/mtip32xx.c

0caff003 Asai Thambi S P 2013-04-03  2811  						size_t len, loff_t *offset)
0caff003 Asai Thambi S P 2013-04-03  2812  {
0caff003 Asai Thambi S P 2013-04-03  2813  	int size = *offset;
0caff003 Asai Thambi S P 2013-04-03  2814  	char buf[MTIP_DFS_MAX_BUF_SIZE];
0caff003 Asai Thambi S P 2013-04-03  2815  
0caff003 Asai Thambi S P 2013-04-03  2816  	if (!len || *offset)
0caff003 Asai Thambi S P 2013-04-03  2817  		return 0;
0caff003 Asai Thambi S P 2013-04-03  2818  
0caff003 Asai Thambi S P 2013-04-03  2819  	size += show_device_status(NULL, buf);
0caff003 Asai Thambi S P 2013-04-03  2820  
0caff003 Asai Thambi S P 2013-04-03  2821  	*offset = size <= len ? size : len;
0caff003 Asai Thambi S P 2013-04-03  2822  	size = copy_to_user(ubuf, buf, *offset);
0caff003 Asai Thambi S P 2013-04-03  2823  	if (size)
0caff003 Asai Thambi S P 2013-04-03  2824  		return -EFAULT;
0caff003 Asai Thambi S P 2013-04-03  2825  
0caff003 Asai Thambi S P 2013-04-03  2826  	return *offset;
0caff003 Asai Thambi S P 2013-04-03 @2827  }
0caff003 Asai Thambi S P 2013-04-03  2828  
7b421d24 Asai Thambi S P 2012-06-04  2829  static ssize_t mtip_hw_read_registers(struct file *f, char __user *ubuf,
7b421d24 Asai Thambi S P 2012-06-04  2830  				  size_t len, loff_t *offset)
7b421d24 Asai Thambi S P 2012-06-04  2831  {
7b421d24 Asai Thambi S P 2012-06-04  2832  	struct driver_data *dd =  (struct driver_data *)f->private_data;
7b421d24 Asai Thambi S P 2012-06-04  2833  	char buf[MTIP_DFS_MAX_BUF_SIZE];
7b421d24 Asai Thambi S P 2012-06-04  2834  	u32 group_allocated;
7b421d24 Asai Thambi S P 2012-06-04  2835  	int size = *offset;

:::::: The code at line 2827 was first introduced by commit
:::::: 0caff00390db41c98976e65f2ebc3eeaa4861358 mtip32xx: Add debugfs entry device_status

:::::: TO: Asai Thambi S P <asamymuthupa@xxxxxxxxxx>
:::::: CC: Jens Axboe <axboe@xxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]