summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-01-07 12:14:34 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-08 16:29:36 +0100
commit2392b84fb2f8daf71e70dd13101ec70ff636a3d3 (patch)
tree74e98618cf06d07e0ea217f4aaa2e8768f7c3888 /scripts/gdb/linux/modules.py
parentabb8492b2a24b30ce94df3f5c5e47d845506d68a (diff)
stating: ccree: fix allocation of void sized buf
We were allocating buffers using sizeof(*struct->field) where field was type void. Fix it by having a local variable with the real type. Cc: stable@vger.kernel.org Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions