Date: Wed, 23 Aug 2017 20:04:33 -0400 From: Ed Maste <emaste@freebsd.org> To: Hans Petter Selasky <hselasky@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r322810 - in head: share/man/man4 sys/conf sys/dev/mlx5/mlx5_ib sys/modules sys/modules/mlx5ib Message-ID: <CAPyFy2BncDn=US8W_9pS-XVZ3-Kn9kA7wrBQbAez-WymyPC5Jg@mail.gmail.com> In-Reply-To: <201708231209.v7NC9bBJ070335@repo.freebsd.org> References: <201708231209.v7NC9bBJ070335@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23 August 2017 at 08:09, Hans Petter Selasky <hselasky@freebsd.org> wrote: > Author: hselasky > Date: Wed Aug 23 12:09:37 2017 > New Revision: 322810 > URL: https://svnweb.freebsd.org/changeset/base/322810 > > Log: > Add new mlx5ib(4) driver to the kernel source tree which supports > Remote DMA over Converged Ethernet, RoCE, for the ConnectX-4 series of > PCI express network cards. i386 lint kernel is now failing with: /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c:58:21: error: incompatible pointer types passing 'uintptr_t *' (aka 'unsigned int *') to parameter of type 'const unsigned long *' [-Werror,-Wincompatible-pointer-types] m = find_first_bit(&tmp, 8 * sizeof(tmp)); ^~~~ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/bitops.h:111:37: note: passing argument to parameter 'addr' here find_first_bit(const unsigned long *addr, unsigned long size) ^ /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c:70:23: error: incompatible pointer types passing 'uintptr_t *' (aka 'unsigned int *') to parameter of type 'const unsigned long *' [-Werror,-Wincompatible-pointer-types] find_first_bit(&tmp, 8 * sizeof(tmp))); ^~~~ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/kernel.h:366:17: note: expanded from macro 'min_t' type __min2 = (y); \ ^ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/bitops.h:111:37: note: passing argument to parameter 'addr' here find_first_bit(const unsigned long *addr, unsigned long size) ^ /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c:78:25: error: incompatible pointer types passing 'uintptr_t *' (aka 'unsigned int *') to parameter of type 'const unsigned long *' [-Werror,-Wincompatible-pointer-types] m = find_first_bit(&tmp, 8 * sizeof(tmp)); ^~~~ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/bitops.h:111:37: note: passing argument to parameter 'addr' here find_first_bit(const unsigned long *addr, unsigned long size) ^ 3 errors generated.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BncDn=US8W_9pS-XVZ3-Kn9kA7wrBQbAez-WymyPC5Jg>