cxgb3/l2t: Fix undefined behaviour and use struct_size() helper
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxgb3/l2t: Fix undefined behaviourdrivers/ | +1 | 0 replies | |
| 2/2 | cxgb3/l2t: Use struct_size() in kvzalloc()drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2 net-next] cxgb3/l2t: Fix undefined behaviour and use struct_size() helper
Hi all,
This patchset aims to fix an undefined behaviour when using a zero-sized array and, add the use of the struct_size() helper in kvzalloc().
You might consider the first patch in this series for stable.
More details in the commit logs.
Thanks
Gustavo A. R. Silva (2):
cxgb3/l2t: Fix undefined behaviour
cxgb3/l2t: Use struct_size() in kvzalloc()
drivers/net/ethernet/chelsio/cxgb3/l2t.c | 4 ++-- drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.21.0