[current tinderbox] failure on ...all...
Dag-Erling Smørgrav
des at des.no
Fri Jun 10 07:44:38 GMT 2005
Joseph Koshy <joseph.koshy at gmail.com> writes:
> I don't understand why that particular warning was generated i
> in the first place, the cast was between two structures with
> identical layout, differing only in name.
The warning is correct. Two identical types with different names are
not the same type unless one is a direct or indirect typedef for the
other.
It also seems strange to me that you on the one hand introduce a new
struct to separate MD and MI interfaces, and on the other hand
continue to assume that they are assignment-compatible. The code the
tinderbox complained about would break badly if you extended the MD
struct without recompiling userland (old userland on new kernel); now
it won't, which I believe was the point.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-current
mailing list