Re: [PATCH 02/17] pfinet: Fix call to kfree_s

2013-07-20 Thread Samuel Thibault
Justus Winter, le Fri 19 Jul 2013 17:25:04 +0200, a écrit : > kfree_s expects a pointer and a size argument. Currently the > sizeof(cache) is used as size argument, this is certainly not what was > intented. Applied using sizeof(*cache), which is more obviously correct. Thanks! Samuel

[PATCH 02/17] pfinet: Fix call to kfree_s

2013-07-19 Thread Justus Winter
kfree_s expects a pointer and a size argument. Currently the sizeof(cache) is used as size argument, this is certainly not what was intented. For reference, this code was present in Linux up to version 2.3.14 and was replaced in 2.3.15. Found using coccinelle and https://raw.github.com/coccinelle