Re: [PATCH] [TRIVIAL] Remove braces in drivers/scsi/in2000.h to fix build for clang. No functional change otherwise.

Christoph Hellwig
2013-08-21T06:50:18Z

On Tue, Aug 20, 2013 at 11:19:06PM +0200, dl9pf@gmx.de wrote:
> From: Jan-Simon M??ller <dl9pf@gmx.de>
>
> Author: PaX Team <pageexec at freemail.hu>
> ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html
> URL: http://llvm.linuxfoundation.org
>
> Merge: Jan-Simon M??ller <dl9pf at gmx.de>
>
> Description:
> Clang chokes on the notation "insw (%%dx)" but works for "insw %%dx" (outsw likewise);
> GNU as accepts both forms.
>
> Signed-off-by: Jan-Simon M??ller <dl9pf@gmx.de>

I think the right fix is to simply kill the FAST_READ_IO/FAST_WRITE_IO
defines and their associated inline assembly entirely.