On Wed, Aug 02, 2017 at 01:11:48PM +0200, Hans Petter Selasky wrote:
> On 08/02/17 13:06, Konstantin Belousov wrote:
> > So linuxkpi was broken before this commit as well, as I noted in my
> > other reply ?
> 
> Hi,
> 
> The LinuxKPI uses minor/major/makedev internally.
> 
> y = makedev(z,t)
> 
> Then the LinuxKPI assumes z and t can be retrieved through minor and 
> major: minor(y) == z and major(y) == t
> 
> If "y" is an "int" and it is assigned a 64-bit value, it is obvious that 
> this code no longer holds true. Same might be in userspace/ports.
But y must be dev_t.

> 
> So yes, this change breaks the LinuxKPI, at least some parts of it.
> 
> --HPS
_______________________________________________
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