diff options
| author | Hans de Goede <[email protected]> | 2016-06-05 19:01:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-17 18:21:45 +0000 |
| commit | 6982f867e058f0c6c8d3eeb4ef305efd7d7f4c8c (patch) | |
| tree | 1cd619c2c8c558bb709340bc72cd8855298ed39f /drivers/acpi/cppc_acpi.c | |
| parent | staging: lustre: lnet: Don't access NULL NI on failure path (diff) | |
| download | kernel-6982f867e058f0c6c8d3eeb4ef305efd7d7f4c8c.tar.gz kernel-6982f867e058f0c6c8d3eeb4ef305efd7d7f4c8c.zip | |
Revert "Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct)"
This reverts commit 99aded71b52c ("Staging: drivers: rtl8188eu: use
sizeof(*ptr) instead of sizeof(struct)").
This commit is wrong, as adapt->HalData has a type of "void *", so
now we are allocating a much to small struct, which causes the driver
to overwrite random memory which leads to a non working driver and
various system crashes.
Cc: Jacky Boen <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
