diff options
author | Michael Kelley <[email protected]> | 2021-12-27 19:31:54 -0800 |
---|---|---|
committer | Wei Liu <[email protected]> | 2021-12-28 14:18:43 +0000 |
commit | db3c65bc3a1308db8c914b2bf477b5a36005c3d3 (patch) | |
tree | 3d1cf33f35b8316534ef1ec2fcf793038dc0a68d /net/lapb/lapb_timer.c | |
parent | 846da38de0e8224f2f94b885125cf1fd2d7b0d39 (diff) |
Drivers: hv: Fix definition of hypercall input & output arg variables
The percpu variables hyperv_pcpu_input_arg and hyperv_pcpu_output_arg
have been incorrectly defined since their inception. The __percpu
qualifier should be associated with the void * (i.e., a pointer), not
with the target of the pointer. This distinction makes no difference
to gcc and the generated code, but sparse correctly complains. Fix
the definitions in the interest of general correctness in addition
to making sparse happy.
No functional change.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions