From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <544ABB51.1040107@kernel.dk> Date: Fri, 24 Oct 2014 14:49:21 -0600 From: Jens Axboe MIME-Version: 1.0 Subject: Re: [PATCH] fio: fix alignement to prevent bus error on ARM References: <1414183357-31504-1-git-send-email-gwendal@chromium.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Mike Frysinger , Gwendal Grignou Cc: fio@vger.kernel.org, Puthikorn Voravootivat List-ID: On 10/24/2014 02:47 PM, Mike Frysinger wrote: > the code seems to be fine with gcc-isms, so i might suggest anon unions > instead to make it harder to break: > union { > uint64_t __aligner; > uint16_t continue_on_error; > }; It's not a bad idea... Your commit broke alignment further down, btw, but I fixed it up. I'll be happy to take anon union patches for the alignment parts :-) -- Jens Axboe