drivers/net/ethernet/rocker/rocker.c:1968:1: warning: the frame size of 2752 bytes is larger than 2048 bytes

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

 



Hi Andrey,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9ffecb10283508260936b96022d4ee43a7798b4c
commit: c420f167db8c799d69fe43a801c58a7f02e9d57c kasan: enable stack instrumentation
date:   8 months ago
config: x86_64-randconfig-b0-09262302 (attached as .config)
reproduce:
  git checkout c420f167db8c799d69fe43a801c58a7f02e9d57c
  # save the attached .config to linux build tree
  make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/rocker/rocker.c: In function 'rocker_cmd_flow_tbl_add':
>> drivers/net/ethernet/rocker/rocker.c:1968:1: warning: the frame size of 2752 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    }
    ^

vim +1968 drivers/net/ethernet/rocker/rocker.c

9f6bbf7c Scott Feldman 2014-11-28  1952  		err = rocker_cmd_flow_tbl_add_bridge(desc_info, entry);
9f6bbf7c Scott Feldman 2014-11-28  1953  		break;
9f6bbf7c Scott Feldman 2014-11-28  1954  	case ROCKER_OF_DPA_TABLE_ID_ACL_POLICY:
9f6bbf7c Scott Feldman 2014-11-28  1955  		err = rocker_cmd_flow_tbl_add_acl(desc_info, entry);
9f6bbf7c Scott Feldman 2014-11-28  1956  		break;
9f6bbf7c Scott Feldman 2014-11-28  1957  	default:
9f6bbf7c Scott Feldman 2014-11-28  1958  		err = -ENOTSUPP;
9f6bbf7c Scott Feldman 2014-11-28  1959  		break;
4b8ac966 Jiri Pirko    2014-11-28  1960  	}
9f6bbf7c Scott Feldman 2014-11-28  1961  
9f6bbf7c Scott Feldman 2014-11-28  1962  	if (err)
9f6bbf7c Scott Feldman 2014-11-28  1963  		return err;
9f6bbf7c Scott Feldman 2014-11-28  1964  
9f6bbf7c Scott Feldman 2014-11-28  1965  	rocker_tlv_nest_end(desc_info, cmd_info);
9f6bbf7c Scott Feldman 2014-11-28  1966  
9f6bbf7c Scott Feldman 2014-11-28  1967  	return 0;
4b8ac966 Jiri Pirko    2014-11-28 @1968  }
4b8ac966 Jiri Pirko    2014-11-28  1969  
9f6bbf7c Scott Feldman 2014-11-28  1970  static int rocker_cmd_flow_tbl_del(struct rocker *rocker,
9f6bbf7c Scott Feldman 2014-11-28  1971  				   struct rocker_port *rocker_port,
4b8ac966 Jiri Pirko    2014-11-28  1972  				   struct rocker_desc_info *desc_info,
9f6bbf7c Scott Feldman 2014-11-28  1973  				   void *priv)
4b8ac966 Jiri Pirko    2014-11-28  1974  {
9f6bbf7c Scott Feldman 2014-11-28  1975  	const struct rocker_flow_tbl_entry *entry = priv;
9f6bbf7c Scott Feldman 2014-11-28  1976  	struct rocker_tlv *cmd_info;

:::::: The code at line 1968 was first introduced by commit
:::::: 4b8ac9660af07be6f6602b523929793eed314997 rocker: introduce rocker switch driver

:::::: TO: Jiri Pirko <jiri@xxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
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]