From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Tue, 9 Apr 2019 05:35:10 -0700 Subject: [Cluster-devel] [PATCH] libgfs2: Import gfs2_ondisk.h In-Reply-To: <58b0f320-407b-bae0-d261-9182b3b5912c@redhat.com> References: <20190409094153.3343-1-anprice@redhat.com> <20190409120304.GA16296@infradead.org> <58b0f320-407b-bae0-d261-9182b3b5912c@redhat.com> Message-ID: <20190409123510.GA27246@infradead.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Apr 09, 2019 at 01:21:23PM +0100, Steven Whitehouse wrote: > Those conversion functions are not sensible, thats why we got rid of them > from the kernel code. It is better to have a set of types that have the > endianess specified so that we can use sparse. Compile time checking is > always a good plan where it is possible. Yeah. And vs inttypes.h is no argument either, you can define the __be types based on the inttypes.h types (which really are stdint.h ones anyway).