On 10 Aug 2016, at 11:02, Konstantin Belousov wrote:

On Tue, Aug 09, 2016 at 07:32:06PM +0000, Jean-S??bastien P??dron wrote:
Author: dumbbell
Date: Tue Aug  9 19:32:06 2016
New Revision: 303890
URL: https://svnweb.freebsd.org/changeset/base/303890

Log:
  Consistently use `device_t`

  Several files use the internal name of `struct device` instead of
  `device_t` which is part of the public API. This patch changes all
  `struct device *` to `device_t`.

The remaining occurrences of `struct device` are those referring to the Linux or OpenBSD version of the structure, or the code is not built on
  FreeBSD and it's unclear what to do.

  Submitted by: Matthew Macy <mm...@nextbsd.org> (previous version)
  Approved by:  emaste, jhibbits, sbruno
  MFC after:    3 days
  Differential Revision:        https://reviews.freebsd.org/D7447

On powerpc and powerpc64, at r303902, I got
===> usr.sbin/camdd (all)
In file included from /scratch/tmp/kib/obj/powerpc.powerpc64/scratch/tmp/kib/src
/tmp/usr/include/machine/bus.h:463,
                 from /scratch/tmp/kib/src/usr.sbin/camdd/camdd.c:54:
/scratch/tmp/kib/obj/powerpc.powerpc64/scratch/tmp/kib/src/tmp/usr/include/machi
ne/bus_dma.h:33: error: expected declaration specifiers or '...' before 'device_
t'
--- camdd.o ---
*** [camdd.o] Error code 1



I waited for another day; now just reverted the change on the header file in order to get a working universe build again hopefully. In case this will be MFCed please take appropriate care to not break 11.

/bz
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to