aboutsummaryrefslogtreecommitdiff
path: root/include/clocksource/hyperv_timer.h
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2024-09-10 00:44:32 +0000
committerWei Liu <[email protected]>2024-12-09 18:42:42 +0000
commitcb1b78f1c726c938bd47497c1ab16b01ce967f37 (patch)
tree35e2deefd830d13c0ab43bb071d5df026ecd05ec /include/clocksource/hyperv_timer.h
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff)
tools: hv: Fix a complier warning in the fcopy uio daemon
hv_fcopy_uio_daemon.c:436:53: warning: '%s' directive output may be truncated writing up to 14 bytes into a region of size 10 [-Wformat-truncation=] 436 | snprintf(uio_dev_path, sizeof(uio_dev_path), "/dev/%s", uio_name); Also added 'static' for the array 'desc[]'. Fixes: 82b0945ce2c2 ("tools: hv: Add new fcopy application based on uio driver") Cc: [email protected] # 6.10+ Signed-off-by: Dexuan Cui <[email protected]> Reviewed-by: Saurabh Sengar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]> Message-ID: <[email protected]>
Diffstat (limited to 'include/clocksource/hyperv_timer.h')
0 files changed, 0 insertions, 0 deletions