linux-yocto/tools/hv
Dexuan Cui 9015ebfe8e tools: hv: Fix a complier warning in the fcopy uio daemon
commit cb1b78f1c7 upstream.

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: 82b0945ce2 ("tools: hv: Add new fcopy application based on uio driver")
Cc: stable@vger.kernel.org # 6.10+
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20240910004433.50254-1-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240910004433.50254-1-decui@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-27 14:02:15 +01:00
..
Build tools: hv: Add new fcopy application based on uio driver 2024-04-11 14:55:53 +02:00
hv_fcopy_uio_daemon.c tools: hv: Fix a complier warning in the fcopy uio daemon 2024-12-27 14:02:15 +01:00
hv_get_dhcp_info.sh
hv_get_dns_info.sh
hv_kvp_daemon.c hv/hv_kvp_daemon: Handle IPv4 and Ipv6 combination for keyfile format 2024-04-10 21:25:40 +00:00
hv_set_ifconfig.sh tools: hv: change permissions of NetworkManager configuration file 2024-12-27 14:02:01 +01:00
hv_vss_daemon.c
lsvmbus tools: hv: lsvmbus: change shebang to use python3 2024-08-03 00:01:55 +00:00
Makefile tools: hv: rm .*.cmd when make clean 2024-09-05 07:23:08 +00:00
vmbus_bufring.c tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_bufring.h tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_testing