linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb3
Gustavo A. R. Silva c33b3b9fcf cxgb3: remove VLA usage
Remove VLA usage and change the 'len' argument to a u8 and use a 256
byte buffer on the stack. Notice that these lengths are limited by the
encoding field in the VPD structure, which is a u8 [1].

[1] https://marc.info/?l=linux-netdev&m=152044354814024&w=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-07 15:55:50 -05:00
..
adapter.h net: cxgb3: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
ael1002.c chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
aq100x.c chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
common.h chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
cxgb3_ctl_defs.h
cxgb3_defs.h treewide: use kv[mz]alloc* rather than opencoded variants 2017-05-08 17:15:13 -07:00
cxgb3_ioctl.h
cxgb3_main.c cxgb3: assign port id to net_device->dev_port 2018-01-22 16:15:13 -05:00
cxgb3_offload.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
cxgb3_offload.h
firmware_exports.h
l2t.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
l2t.h treewide: use kv[mz]alloc* rather than opencoded variants 2017-05-08 17:15:13 -07:00
Makefile
mc5.c net: ethernet: chelsio: cxgb3: mc5.c: Remove some unused functions 2015-01-02 16:32:37 -05:00
regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sge_defs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sge.c cxgb3: Check and handle the dma mapping errors 2017-10-29 11:10:17 +09:00
t3_cpl.h
t3_hw.c cxgb3: remove VLA usage 2018-03-07 15:55:50 -05:00
t3cdev.h RDMA/cxgb3: Annotate an RCU pointer 2017-10-14 20:47:05 -04:00
version.h
vsc8211.c chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
xgmac.c