Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2017 16:08:26 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r321920 - head/sys/sys
Message-ID:  <d6ea0b54-558b-6ca5-68e6-e0a568256dcd@selasky.org>
In-Reply-To: <20170802135455.GG1700@kib.kiev.ua>
References:  <201708021014.v72AEHEk061037@repo.freebsd.org> <f7a4a90c-f1d8-b381-27fe-3cf76b574a29@selasky.org> <37abc595-c80e-a8da-04a8-815f42c634de@selasky.org> <20170802135455.GG1700@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/02/17 15:54, Konstantin Belousov wrote:
> I agree with the usefulness of the y cast to unsigned type, but I am not sure
> what is the use of final dev_t cast.  By the usual arithmetic conversion
> rules, the final type of the '|' is the highest rank type of the operands.
> Something unusual can only happen if int is wider than dev_t.
> 
> So I am going to commit the following update.

OK, Looks good!

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6ea0b54-558b-6ca5-68e6-e0a568256dcd>