Tag: fc51768ba24077c8148067036e1555a8a978bb99

thunderbolt: Correct the size argument to devm_kzalloc

Author: Himangi Saraogi <himangi774@gmail.com> nhi->rx_rings does not have type as struct tb_ring *, as it is a double pointer so the elements of the array should have pointer type, not structure type. The Coccinelle semantic patch that makes this change is as follows: // @disable sizeof_type_expr@ type T; T **x; @@ x = // Signed-off-by: …

Continue reading