Skip to content
Commit 10be6c0f authored by Ben YoungTae Kim's avatar Ben YoungTae Kim Committed by Marcel Holtmann
Browse files

Bluetooth: hciuart: Fix to use boolean flag with u32 type



debugfs_create_bool is asking to put u32 type pointer instead of bool
so that passing bool type with u32* cast will cause memory corruption
to read that value since it is handled by 4 bytes instead of 1 byte
inside.

Signed-off-by: default avatarBen Young Tae Kim <ytkim@qca.qualcomm.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 50d78bcf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment