svn commit: r320196 - in head/sys: compat/linuxkpi/common/include/linux dev/mlx4/mlx4_core dev/mlx5/mlx5_core

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Sun Jul 2 13:39:07 UTC 2017


On 2 Jul 2017, at 13:30, Ed Maste wrote:

> On 21 June 2017 at 14:20, Mark Johnston <markj at 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-mapping.h:57:18: 
error: use of undeclared identifier 'VM_MEMATTR_WRITE_COMBINING'
      24         mapping->attr = VM_MEMATTR_WRITE_COMBINING;
      25                         ^
      26 1 error generated.
      27 --- mlx5_main.o ---
      28 *** [mlx5_main.o] Error code 1



More information about the svn-src-all mailing list