]> git.dujemihanovic.xyz Git - u-boot.git/commit
include/bitfield.h: Assure new bitfield value doesn't touch unwanted bits
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Fri, 24 Jul 2015 13:52:19 +0000 (16:52 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:44 +0000 (20:47 -0400)
commitc69abd801b3600252726948e0763b2b3c3fe9e19
tree00c53f06a74d154a79c469df26e11116e6fdca02
parent4cffbec96a3cf95ec3f4774229712d647f603541
include/bitfield.h: Assure new bitfield value doesn't touch unwanted bits

The new bitfield value must not be higher than its mask.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
include/bitfield.h