linux/tools/hv
Dexuan Cui 1330fc3532 tools: hv: fix compiler warnings about major/target_fname
This patch fixes the below warnings with new glibc and gcc:

hv_vss_daemon.c💯13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is currently
defined by <sys/types.h> as well, but we plan to  remove this soon.
To use "major", include <sys/sysmacros.h>  directly.

hv_fcopy_daemon.c:42:2: note: 'snprintf' output between 2 and 1040
bytes into a destination of size 260

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 09:57:16 -08:00
..
hv_fcopy_daemon.c tools: hv: fix compiler warnings about major/target_fname 2018-03-06 09:57:16 -08:00
hv_get_dhcp_info.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hv_get_dns_info.sh Tools: hv: Add an example script to retrieve DNS entries 2012-09-04 15:59:27 -07:00
hv_kvp_daemon.c tools/hv: Fix IP reporting by KVP daemon with SRIOV 2018-03-06 09:57:16 -08:00
hv_set_ifconfig.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hv_vss_daemon.c tools: hv: fix compiler warnings about major/target_fname 2018-03-06 09:57:16 -08:00
lsvmbus License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile tools: fix cross-compile var clobbering 2018-02-21 15:35:42 -08:00