OSDN Git Service

Merge branch 'cxgb3-undefined-behaviour-and-use-struct_size'
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 Apr 2019 22:01:46 +0000 (15:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Apr 2019 22:01:46 +0000 (15:01 -0700)
Gustavo A. R. Silva says:

====================
cxgb3/l2t: Fix undefined behaviour and use struct_size() helper

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge