aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorAndrea Righi <[email protected]>2019-04-03 05:26:36 +0000
committerJuergen Gross <[email protected]>2019-04-05 06:42:41 +0000
commitad94dc3a7eb5fa6ff469dbcf401c44b14ad50595 (patch)
tree04c7feffd21b0a2ecfdcb23b0293a8d44019c8ea /drivers/hwmon/pwm-fan.c
parentxen/balloon: Fix mapping PG_offline pages to user space (diff)
downloadkernel-ad94dc3a7eb5fa6ff469dbcf401c44b14ad50595.tar.gz
kernel-ad94dc3a7eb5fa6ff469dbcf401c44b14ad50595.zip
xen: use struct_size() helper in kzalloc()
struct privcmd_buf_vma_private has a zero-sized array at the end (pages), use the new struct_size() helper to determine the proper allocation size and avoid potential type mistakes. Signed-off-by: Andrea Righi <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions