aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2016-06-05 19:01:19 +0000
committerGreg Kroah-Hartman <[email protected]>2016-06-17 18:21:45 +0000
commitbc8201e3e1885614a5cd3a5f70a79d08f99152fd (patch)
treed9133786607424e7fe917fe48311157cb2c79c3e /drivers/acpi/cppc_acpi.c
parentRevert "Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct)" (diff)
downloadkernel-bc8201e3e1885614a5cd3a5f70a79d08f99152fd.tar.gz
kernel-bc8201e3e1885614a5cd3a5f70a79d08f99152fd.zip
Revert "Staging: rtl8188eu: rtw_efuse: Use sizeof type *pointer instead of sizeof type."
This reverts commit b5e12ec38331 ("Staging: rtl8188eu: rtw_efuse: Use sizeof type *pointer instead of sizeof type."). This commit is wrong, the rtw_malloc2d helper function takes the size of the array elements as its 3th argument, whereas sizeof(*eFuseWord) gives the size of a pointer instead of the size of a u16. Since sizeof(void *) > sizeof(u16) this has no adverse effects, but it is still wrong. Cc: Sandhya Bankar <[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