From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Date: Sun, 06 Jan 2013 15:52:36 -0600 Subject: [U-Boot] [PATCH v4 3/4] dtc/libfdt: introduce fdt types for annotation by endian checkers In-Reply-To: <20121128173301.2b52b22a39fe6c3ce5a088fb@freescale.com> References: <1352941199-19393-1-git-send-email-kim.phillips@freescale.com> <1352941199-19393-3-git-send-email-kim.phillips@freescale.com> <20121115044340.GI32290@truffula.fritz.box> <20121114231204.8f19082c7acc1cea2a2d794f@freescale.com> <20121119023039.GK5735@truffula.fritz.box> <20121128173301.2b52b22a39fe6c3ce5a088fb@freescale.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Projects such as linux and u-boot run sparse on libfdt. libfdt > contains the notion of endianness via usage of endian conversion > functions such as fdt32_to_cpu. As such, in order to pass endian > checks, libfdt has to annotate its fdt variables such that sparse > can warn when mixing bitwise and regular integers. This patch adds > these new fdtXX_t types and, ifdef __CHECKER__ (a symbol sparse > defines), includes the bitwise annotation. > > Signed-off-by: Kim Phillips Applied. Thanks, jdl