Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jul 2017 13:38:49 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        "Ed Maste" <emaste@freebsd.org>
Cc:        "Mark Johnston" <markj@freebsd.org>, "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: r320196 - in head/sys: compat/linuxkpi/common/include/linux dev/mlx4/mlx4_core dev/mlx5/mlx5_core
Message-ID:  <17A8C598-54C2-4794-96D0-9A4D980B1934@lists.zabbadoz.net>
In-Reply-To: <CAPyFy2Dsmt5GrTwo9FLXe8M%2B9prESk1wHVZ0BogwPTpUQr_NkQ@mail.gmail.com>
References:  <201706211820.v5LIKHo5061797@repo.freebsd.org> <CAPyFy2Dsmt5GrTwo9FLXe8M%2B9prESk1wHVZ0BogwPTpUQr_NkQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 Jul 2017, at 13:30, Ed Maste wrote:

> On 21 June 2017 at 14:20, Mark Johnston <markj@freebsd.org> wrote:
>> Author: markj
>> Date: Wed Jun 21 18:20:17 2017
>> New Revision: 320196
>> URL: https://svnweb.freebsd.org/changeset/base/320196
>>
>> Log:
>>   Update io-mapping.h in the LinuxKPI.
>
> sparc64 LINT kernel is failing with:
>
> In file included from
> /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_core/mlx5_main.c:36:
> /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/io=
-mapping.h:
> In function 'io_mapping_init_wc':
> /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/io=
-mapping.h:57:
> error: 'VM_MEMATTR_WRITE_COMBINING' undeclared (first use in this
> function)
> /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/io=
-mapping.h:57:
> error: (Each undeclared identifier is reported only once
> /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/io=
-mapping.h:57:
> error: for each function it appears in.)
> *** [mlx5_main.o] Error code 1


and so is arm.LINT:

      21 1 warning generated.
      22 In file included from =

/tank/users/bz/head.svn/sys/dev/mlx5/mlx5_core/mlx5_main.c:36:
      23 =

/tank/users/bz/head.svn/sys/compat/linuxkpi/common/include/linux/io-mappi=
ng.h:57:18: =

error: use of undeclared identifier 'VM_MEMATTR_WRITE_COMBINING'
      24         mapping->attr =3D VM_MEMATTR_WRITE_COMBINING;
      25                         ^
      26 1 error generated.
      27 --- mlx5_main.o ---
      28 *** [mlx5_main.o] Error code 1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17A8C598-54C2-4794-96D0-9A4D980B1934>