aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-04-19 14:31:09 +0000
committerHans de Goede <[email protected]>2021-04-20 15:01:48 +0000
commitdd5566d6d80c2d9936f8b8b36a7a9599cbfe47a7 (patch)
tree4b9194fdfef80a8f95f0b46fb054a95cb5f17803 /drivers/platform/surface/aggregator/controller.c
parentplatform/x86: touchscreen_dmi: Add info for the Teclast Tbook 11 tablet (diff)
downloadkernel-dd5566d6d80c2d9936f8b8b36a7a9599cbfe47a7.tar.gz
kernel-dd5566d6d80c2d9936f8b8b36a7a9599cbfe47a7.zip
platform/x86: intel_pmc_core: Fix "unsigned 'ret' is never less than zero" smatch warning
Change the type of ret form a size_t to a ssize_t, matching the prototype of simple_write_to_buffer(), fixing this warning reported by smatch: drivers/platform/x86/intel_pmc_core.c:1369 pmc_core_lpm_latch_mode_write() warn: unsigned 'ret' is never less than zero. Fixes: 8074a79fad2e ("platform/x86: intel_pmc_core: Add option to set/clear LPM mode") Cc: David E. Box <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions