]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
VSOCK: fix compile warning on RHEL 6
authorVMware, Inc <>
Thu, 17 Jun 2010 22:16:38 +0000 (15:16 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 17 Jun 2010 22:16:38 +0000 (15:16 -0700)
commit4a6a9fa7a6cb282994a330c17048c78dce856a97
treebef1e048c16ab088438ed9bca2aad6bf0679e839
parent0ceebca08ccd8092f7a3e3745bcd30810fdb538c
VSOCK: fix compile warning on RHEL 6

Compiling vsock on RHEL6 produces following warning:

/home/test/dyno/vsock-only/linux/af_vsock.c:333:
warning: initialization from incompatible pointer type

We tried dealing with it in CS 1017526, but RedHat backported the
change to 2.6.32 making our check that relied on kernel version
ineffective.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/modules/linux/shared/autoconf/netcreate_num_params.c [new file with mode: 0644]
open-vm-tools/modules/linux/vsock/Makefile.kernel
open-vm-tools/modules/linux/vsock/linux/af_vsock.c