]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cda74aa8cb68d93a7b211240f92b3daa6972b10
treed2d5ac1089ee8ebe3d8a46eb1caafe6ce0aea23d
parent7b49df75342b23a229555e5065fa7cecb93b029b
parent8d0af30eba2037d11184ceaf648ce0e70be8c9c3
Merge branch 'cxgb3-undefined-behaviour-and-use-struct_size'

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>