diff options
| author | Eduardo Valentin <[email protected]> | 2016-11-07 21:09:25 -0800 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2016-11-23 10:06:12 +0800 |
| commit | 95e3ed1513494aa2d0aaba7a99fb7aa8b51dcfc8 (patch) | |
| tree | 15319f30bef7d11b39b0d2c5f657cd505149d499 /drivers/fpga/fpga-mgr.c | |
| parent | 38e7b549af829ad2abd94b60e555227a15f9ecff (diff) | |
thermal: core: use kzalloc(sizeof(*ptr),...)
As a safety check, this patch changes thermal
core to check for pointer content size, instead of type size,
while allocating memory.
Cc: Zhang Rui <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions